QFont::CharSet

xycheng97 konq-e@mail.kde.org
Thu, 17 Oct 2002 15:06:02 +0800


try to use qt-x11-2.3.1 instead of qt-embedded-3.0.5


在您的来信中曾经提到:
>From:Daniel Stenberg <daniel@haxx.se>
>Reply-To: konq-e@mail.kde.org
>To: konq-e@mail.kde.org
>Subject: QFont::CharSet
>
>Hey
>
>I have a compiler error that puzzles me:
>
>Input:
>
> o Linux 2.4.18 on i386
> o qt-embedded-free-3.0.5
> o konqueror-embedded-snapshot_20020127
>
>I've been able to run the qt/e examples fine.
>
>./configure runs fine (using --enable-qt-embedded)
>
>When I try to compile konqueror now, it fails pretty quickly on this compiler
>error:
>
>c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../kdesrc/kdecore -I./../kdesrc
>-I/usr/local/kde/include -I/home/daniel/src/qt-embedded-free-3.0.5/include
>-D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-rtti
>-DQWS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c kglobal.cpp
>-MT kglobal.lo -MF .deps/kglobal.TPlo -MD -MP -o kglobal.o
>In file included from kglobal.cpp:28:
>../kdesrc/kdecore/kcharsets.h:74: syntax error before `(' token
>../kdesrc/kdecore/kcharsets.h:81: syntax error before `(' token
>../kdesrc/kdecore/kcharsets.h:111: `CharSet' is not a member of type `QFont'
>../kdesrc/kdecore/kcharsets.h:111: parse error before `=' token
>../kdesrc/kdecore/kcharsets.h:151: `CharSet' is not a member of type `QFont'
>../kdesrc/kdecore/kcharsets.h:151: parse error before `)' token
>../kdesrc/kdecore/kcharsets.h:159: type specifier omitted for parameter
>../kdesrc/kdecore/kcharsets.h:159: parse error before `=' token
>
>All these errors seem to be related to the CharSet method, presumably in the
>QFont class. It just isn't present in the
>qt-embedded-free-3.0.5/include/qfont.h header file.
>
>Any clues to offer?
>
>-- 
>      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
>   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
>
>_______________________________________________
>konq-e mailing list
>konq-e@mail.kde.org
>http://mail.kde.org/mailman/listinfo/konq-e
>