Can't build KDELibs-4 (SVN TRUNK)
Thiago Macieira
thiago at kde.org
Tue Mar 28 10:30:50 BST 2006
James Richard Tyrer wrote:
>Building CXX object dcop/CMakeFiles/DCOP.dir/dcopclient.o
>/usr/local/bin/g++ -DDCOP_EXPORTS -march=k6-3 -mtune=k6-3 -O2
>-Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
>-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings
>-Wformat-security -fno-exceptions -fno-check-new -fno-common -g3
>-fno-inline -fPIC -I/usr/SVN/trunk/KDE/kdelibs.build/dcop
>-I/usr/SVN/trunk/KDE/kdelibs/dcop -I/usr/local/include
>-I/usr/SVN/trunk/KDE/kdelibs -I/usr/SVN/trunk/KDE/kdelibs.build
>-I/usr/local/Trolltech/Qt-4.1.0/include
>-I/usr/local/Trolltech/Qt-4.1.0/include/Qt
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtCore
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtGui
>-I/usr/local/Trolltech/Qt-4.1.0/include/Qt3Support
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtAssistant
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtDesigner
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtNetwork
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtOpenGL
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtSql
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtXml
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtSvg
>-I/usr/local/Trolltech/Qt-4.1.0/include/QtTest -D_XOPEN_SOURCE=500
>-D_BSD_SOURCE -D_GNU_SOURCE -DQT3_SUPPORT -DQT_NO_STL
>-DQT_NO_CAST_TO_ASCII -D_REENTRANT -DQT3_SUPPORT_WARNINGS
>-DKDE_DEPRECATED_WARNINGS -DHAVE_CONFIG_H=1 -DICE_t -DTRANS_SERVER
>-DTRANS_CLIENT -DANSICPP -DUNIXCONN -o
>dcop/CMakeFiles/DCOP.dir/dcopclient.o -c
>/usr/SVN/trunk/KDE/kdelibs/dcop/dcopclient.cpp
>
>And I also wonder why it we have the extra dozen Trolltech includes:
>
>-I/usr/local/Trolltech/Qt-4.1.0/include/Qt*
They're supposed to be there.
>Shouldn't the "Qt*" be in the code so all we need is the first one:
>
>-I/usr/local/Trolltech/Qt-4.1.0/include
That's what I recommend, but that's not what the Qt docs say. The docs say
you can do:
#include <QClass>
but that in turn requires you do have those dozen includes.
However, all publically-installed headers must include in the form:
#include <QtModule/QClass>
or
#include <QtModule/qclass.h>
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060328/a24d81cb/attachment.sig>
More information about the kde-core-devel
mailing list