Obviously I am missing something. I tried to build kdenetwork from svn. I had to use autoconf because CMake is not ready... but it failed, horribly. What's worse, because of the use of TQt constructs in the Trinity versin of installed headers, compiling the *original* KDE-upstream kdenetwork also failed.
The log of the failure indicates that, well, as far as I can tell at least one required header is not being included by the uic-generated code, and there may be other problems. (I had to hack acinclude.m4.in to look for tqt in /usr/kde3/include/tqt and to pick up the Qt3 headers from /usr/include/Qt, where I stash them in order to not conflict with Qt 4: the hackage may be wrong because there is quite a tangle of headers there and I got a bit lost).
Is the stuff in the SVN tree *supposed* to be buildable yet?
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/kde3/include -I/usr/include/Qt -I. -DQT_THREAD_SUPPORT -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE -D_REENTRANT -D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -fpermissive -Wstrict-overflow=1 -g -gdwarf-4 -feliminate-dwarf2-dups -feliminate-unused-debug-types -fvar-tracking-assignments -O2 -pipe -ffast-math -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/kde3/include/tqt -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT hostprops.lo -MD -MP -MF .deps/hostprops.Tpo -c -o hostprops.lo hostprops.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/kde3/include -I/usr/include/Qt -I. -DQT_THREAD_SUPPORT -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE -D_REENTRANT -D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -fpermissive -Wstrict-overflow=1 -g -gdwarf-4 -feliminate-dwarf2-dups -feliminate-unused-debug-types -fvar-tracking-assignments -O2 -pipe -ffast-math -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/kde3/include/tqt -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT hostprops.lo -MD -MP -MF .deps/hostprops.Tpo -c hostprops.cpp -fPIC -DPIC -o .libs/hostprops.o In file included from hostprops.cpp:18:0: ./hostprops.ui.h:10:29: error: no 'void HostProps::setModified()' member function declared in class 'HostProps' hostprops.cpp: In constructor 'HostProps::HostProps(QWidget*, const char*)': hostprops.cpp:31:59: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:32:18: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:32:119: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:33:18: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:34:18: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:34:35: error: incomplete type 'QGroupBox' used in nested name specifier hostprops.cpp:35:18: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:35:36: error: incomplete type 'QGroupBox' used in nested name specifier hostprops.cpp:36:87: error: no matching function for call to 'QVBoxLayout::QVBoxLayout(QGroupBox*&, int, int, const char [20])' /usr/include/Qt/qlayout.h:467:5: note: candidates are: QVBoxLayout::QVBoxLayout(const QVBoxLayout&) /usr/include/Qt/qlayout.h:461:5: note: QVBoxLayout::QVBoxLayout(int, const char*) /usr/include/Qt/qlayout.h:459:5: note: QVBoxLayout::QVBoxLayout(QLayout*, int, const char*) /usr/include/Qt/qlayout.h:457:5: note: QVBoxLayout::QVBoxLayout(QWidget*, int, int, const char*) hostprops.cpp:38:59: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:39:48: error: no matching function for call to 'QVBoxLayout::addWidget(QLabel*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:41:58: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:42:13: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:42:30: error: incomplete type 'QLineEdit' used in nested name specifier hostprops.cpp:43:13: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:43:31: error: incomplete type 'QLineEdit' used in nested name specifier hostprops.cpp:44:46: error: no matching function for call to 'QVBoxLayout::addWidget(QLineEdit*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:46:60: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:47:47: error: no matching function for call to 'QVBoxLayout::addWidget(QCheckBox*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:49:68: error: no matching function for call to 'QGridLayout::addMultiCellWidget(QGroupBox*&, int, int, int, int)' /usr/include/Qt/qlayout.h:335:10: note: candidate is: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int) hostprops.cpp:51:51: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:52:14: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:52:111: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:53:81: error: no matching function for call to 'QGridLayout::QGridLayout(QGroupBox*&, int, int, int, int, const char [16])' /usr/include/Qt/qlayout.h:357:5: note: candidates are: QGridLayout::QGridLayout(const QGridLayout&) /usr/include/Qt/qlayout.h:299:5: note: QGridLayout::QGridLayout(QLayout*, int, int, int, const char*) /usr/include/Qt/qlayout.h:297:5: note: QGridLayout::QGridLayout(int, int, int, const char*) /usr/include/Qt/qlayout.h:295:5: note: QGridLayout::QGridLayout(QWidget*, int, int, int, int, const char*) hostprops.cpp:55:60: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:57:51: error: no matching function for call to 'QGridLayout::addWidget(QCheckBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:59:56: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:61:49: error: no matching function for call to 'QGridLayout::addWidget(QCheckBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:63:52: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:65:47: error: no matching function for call to 'QGridLayout::addWidget(QCheckBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:67:56: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:68:14: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:70:49: error: no matching function for call to 'QGridLayout::addWidget(QCheckBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:72:52: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:74:47: error: no matching function for call to 'QGridLayout::addWidget(QCheckBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:76:58: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:78:50: error: no matching function for call to 'QGridLayout::addWidget(QCheckBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:80:66: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:82:54: error: no matching function for call to 'QGridLayout::addWidget(QCheckBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:84:49: error: no matching function for call to 'QGridLayout::addWidget(QGroupBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:86:51: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:87:14: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:87:111: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:88:14: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:88:37: error: incomplete type 'QGroupBox' used in nested name specifier hostprops.cpp:89:75: error: no matching function for call to 'QVBoxLayout::QVBoxLayout(QGroupBox*&, int, int, const char [16])' /usr/include/Qt/qlayout.h:467:5: note: candidates are: QVBoxLayout::QVBoxLayout(const QVBoxLayout&) /usr/include/Qt/qlayout.h:461:5: note: QVBoxLayout::QVBoxLayout(int, const char*) /usr/include/Qt/qlayout.h:459:5: note: QVBoxLayout::QVBoxLayout(QLayout*, int, const char*) /usr/include/Qt/qlayout.h:457:5: note: QVBoxLayout::QVBoxLayout(QWidget*, int, int, const char*) hostprops.cpp:91:62: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:92:46: error: no matching function for call to 'QVBoxLayout::addWidget(QCheckBox*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:94:64: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:95:47: error: no matching function for call to 'QVBoxLayout::addWidget(QCheckBox*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:97:62: error: invalid use of incomplete type 'struct QLayoutWidget' hostprops.h:22:7: error: forward declaration of 'struct QLayoutWidget' hostprops.cpp:98:78: error: no matching function for call to 'QHBoxLayout::QHBoxLayout(QLayoutWidget*&, int, int, const char [17])' /usr/include/Qt/qlayout.h:448:5: note: candidates are: QHBoxLayout::QHBoxLayout(const QHBoxLayout&) /usr/include/Qt/qlayout.h:442:5: note: QHBoxLayout::QHBoxLayout(int, const char*) /usr/include/Qt/qlayout.h:440:5: note: QHBoxLayout::QHBoxLayout(QLayout*, int, const char*) /usr/include/Qt/qlayout.h:438:5: note: QHBoxLayout::QHBoxLayout(QWidget*, int, int, const char*) hostprops.cpp:100:60: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:101:47: error: no matching function for call to 'QHBoxLayout::addWidget(QLabel*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:103:61: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:104:16: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:104:117: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:105:16: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:106:46: error: no matching function for call to 'QHBoxLayout::addWidget(QLineEdit*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:107:44: error: no matching function for call to 'QVBoxLayout::addWidget(QLayoutWidget*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:109:62: error: invalid use of incomplete type 'struct QLayoutWidget' hostprops.h:22:7: error: forward declaration of 'struct QLayoutWidget' hostprops.cpp:110:78: error: no matching function for call to 'QHBoxLayout::QHBoxLayout(QLayoutWidget*&, int, int, const char [17])' /usr/include/Qt/qlayout.h:448:5: note: candidates are: QHBoxLayout::QHBoxLayout(const QHBoxLayout&) /usr/include/Qt/qlayout.h:442:5: note: QHBoxLayout::QHBoxLayout(int, const char*) /usr/include/Qt/qlayout.h:440:5: note: QHBoxLayout::QHBoxLayout(QLayout*, int, const char*) /usr/include/Qt/qlayout.h:438:5: note: QHBoxLayout::QHBoxLayout(QWidget*, int, int, const char*) hostprops.cpp:112:56: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:113:45: error: no matching function for call to 'QHBoxLayout::addWidget(QLabel*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:115:61: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:116:16: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:116:115: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:117:16: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:118:46: error: no matching function for call to 'QHBoxLayout::addWidget(QLineEdit*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:119:44: error: no matching function for call to 'QVBoxLayout::addWidget(QLayoutWidget*&)' /usr/include/Qt/qlayout.h:389:10: note: candidate is: void QBoxLayout::addWidget(QWidget*, int, int) hostprops.cpp:121:49: error: no matching function for call to 'QGridLayout::addWidget(QGroupBox*&, int, int)' /usr/include/Qt/qlayout.h:334:10: note: candidate is: void QGridLayout::addWidget(QWidget*, int, int, int) hostprops.cpp:129:86: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [15], QLineEdit*&, const char [19])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:130:76: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:131:74: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:132:72: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:133:74: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:134:75: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:135:79: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:136:77: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:137:78: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:138:91: error: no matching function for call to 'HostProps::connect(QLineEdit*&, const char [29], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:139:72: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [11], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:140:84: error: no matching function for call to 'HostProps::connect(QCheckBox*&, const char [15], QCheckBox*&, const char [18])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:141:94: error: no matching function for call to 'HostProps::connect(QLineEdit*&, const char [29], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:142:94: error: no matching function for call to 'HostProps::connect(QLineEdit*&, const char [29], HostProps* const, const char [15])' /usr/include/Qt/qobject.h:121:18: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/include/Qt/qobject.h:231:13: note: bool QObject::connect(const QObject*, const char*, const char*) const hostprops.cpp:145:15: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:146:17: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:147:15: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp: In member function 'virtual void HostProps::languageChange()': hostprops.cpp:164:18: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:165:15: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:189:10: error: no matching function for call to 'QWhatsThis::add(QLineEdit*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:190:14: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:195:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:196:14: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:197:16: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:204:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:205:14: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:212:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:213:12: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:220:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:221:14: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:224:491: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:225:12: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:241:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:242:15: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:258:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:259:19: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:266:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:267:14: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:268:17: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:271:132: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:272:18: error: invalid use of incomplete type 'struct QCheckBox' hostprops.h:21:7: error: forward declaration of 'struct QCheckBox' hostprops.cpp:280:10: error: no matching function for call to 'QWhatsThis::add(QCheckBox*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:281:17: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:282:266: error: no matching function for call to 'QWhatsThis::add(QLabel*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:283:16: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit' hostprops.cpp:284:15: error: invalid use of incomplete type 'struct QLabel' hostprops.h:19:7: error: forward declaration of 'struct QLabel' hostprops.cpp:285:264: error: no matching function for call to 'QWhatsThis::add(QLabel*&, QString)' /usr/include/Qt/qwhatsthis.h:66:17: note: candidate is: static void QWhatsThis::add(QWidget*, const QString&) hostprops.cpp:286:16: error: invalid use of incomplete type 'struct QLineEdit' hostprops.h:20:7: error: forward declaration of 'struct QLineEdit'
On Tue, Jul 19, 2011 at 11:39, Nix nix@esperi.org.uk wrote:
Obviously I am missing something. I tried to build kdenetwork from svn. I had to use autoconf because CMake is not ready... but it failed, horribly. What's worse, because of the use of TQt constructs in the Trinity versin of installed headers, compiling the *original* KDE-upstream kdenetwork also failed.
The log of the failure indicates that, well, as far as I can tell at least one required header is not being included by the uic-generated code, and there may be other problems. (I had to hack acinclude.m4.in to look for tqt in /usr/kde3/include/tqt and to pick up the Qt3 headers from /usr/include/Qt, where I stash them in order to not conflict with Qt 4: the hackage may be wrong because there is quite a tangle of headers there and I got a bit lost).
Is the stuff in the SVN tree *supposed* to be buildable yet?
Only with cmake.
On 19 Jul 2011, Robert Xu told this:
On Tue, Jul 19, 2011 at 11:39, Nix nix@esperi.org.uk wrote:
Is the stuff in the SVN tree *supposed* to be buildable yet?
Only with cmake.
Ah. So... if you build the first few things (up to kdebase) with cmake, can you build the rest with autoconf from the stable sources, or will that fail too because of the TQt stuff, just as old upstream KDE does? (The latter seems very likely to me.)
(I just discovered http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild, sorry for not noticing it before sending that email.)
On Tue, Jul 19, 2011 at 11:49, Nix nix@esperi.org.uk wrote:
On 19 Jul 2011, Robert Xu told this:
On Tue, Jul 19, 2011 at 11:39, Nix nix@esperi.org.uk wrote:
Is the stuff in the SVN tree *supposed* to be buildable yet?
Only with cmake.
Ah. So... if you build the first few things (up to kdebase) with cmake, can you build the rest with autoconf from the stable sources, or will that fail too because of the TQt stuff, just as old upstream KDE does? (The latter seems very likely to me.)
it will fail.
(I just discovered http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild, sorry for not noticing it before sending that email.)
On 19 Jul 2011, Robert Xu told this:
On Tue, Jul 19, 2011 at 11:49, Nix nix@esperi.org.uk wrote:
On 19 Jul 2011, Robert Xu told this:
On Tue, Jul 19, 2011 at 11:39, Nix nix@esperi.org.uk wrote:
Is the stuff in the SVN tree *supposed* to be buildable yet?
Only with cmake.
Ah. So... if you build the first few things (up to kdebase) with cmake, can you build the rest with autoconf from the stable sources, or will that fail too because of the TQt stuff, just as old upstream KDE does? (The latter seems very likely to me.)
it will fail.
OK. So I should be building everything from the stable sources if I want to use anything from them... which is a bit tough unless they include the admin/ directory, since I need to hack that to get it to build. I suppose I could do a svn downgrade, but when to? Sometime in 2010? Does anyone know the svn revision when the last stable trinity was branched off? (It's very annoying that SVN doesn't provide proper branching, or this would be self-evident. But then the switch to git is in progress... :) )
On Tue, Jul 19, 2011 at 12:21, Nix nix@esperi.org.uk wrote:
OK. So I should be building everything from the stable sources if I want to use anything from them... which is a bit tough unless they include the admin/ directory, since I need to hack that to get it to build. I suppose I could do a svn downgrade, but when to? Sometime in 2010? Does anyone know the svn revision when the last stable trinity was branched off? (It's very annoying that SVN doesn't provide proper branching, or this would be self-evident. But then the switch to git is in progress... :) )
/me does not remember, you'll have to check. We're also going to be switching to git soon ^^ (soon being after next release, hint hint)
On 19 Jul 2011, Robert Xu outgrape:
/me does not remember, you'll have to check. We're also going to be switching to git soon ^^ (soon being after next release, hint hint)
Yeah, but I'm stuck with a kde that can't be rebuilt and an X I can't safely restart *now* :(((
On 19 Jul 2011, nix@esperi.org.uk spake thusly:
On 19 Jul 2011, Robert Xu outgrape:
/me does not remember, you'll have to check. We're also going to be switching to git soon ^^ (soon being after next release, hint hint)
Yeah, but I'm stuck with a kde that can't be rebuilt and an X I can't safely restart *now* :(((
Note, that's not some sort of indictment of you, more of me. I don't expect you to provide something that I can build, I'm just slightly annoyed that the trinity project isn't buildable yet so I'll have to find some other way to revive my fading KDE3 pro tem.
On 19 Jul 2011, nix@esperi.org.uk spake thusly:
On 19 Jul 2011, Robert Xu outgrape:
/me does not remember, you'll have to check. We're also going to be switching to git soon ^^ (soon being after next release, hint hint)
Yeah, but I'm stuck with a kde that can't be rebuilt and an X I can't safely restart *now* :(((
Note, that's not some sort of indictment of you, more of me. I don't expect you to provide something that I can build, I'm just slightly annoyed that the trinity project isn't buildable yet so I'll have to find some other way to revive my fading KDE3 pro tem.
It is most certainly buildable!
Check out from the latest SVN and use CMake to build these packages: libtqtinterface arts kdelibs kdebase
Use Automake to build the rest.
Tim
On 19 Jul 2011, Timothy Pearson uttered the following:
It is most certainly buildable!
Check out from the latest SVN and use CMake to build these packages: libtqtinterface arts kdelibs kdebase
Use Automake to build the rest.
Tried that (hence the patches sent earlier today). tqt, arts, kdelibs, dbus-tqt and kdebase built after some patching, but when I hit kdenetwork and tried to build it via autotools I got the FTBFS which started this thread :( and comments from Robert that the SVN trunk of the non-cmakeable modules is not buildable with autotools either at present. It seems that the autotools machinery is getting something wrong such that TQt is not being picked up properly, I'd guess. (Plainly it works sometimes, because the SVN log contains recent mentions of fixes of FTBFS errors: hence this report.)
(btw, I think what you're doing with Trinity is awesome. A parallel- installable KDE3 eventually atop Qt4: it's what the KDE devs should have done all along :) )
On 19 Jul 2011, Timothy Pearson uttered the following:
It is most certainly buildable!
Check out from the latest SVN and use CMake to build these packages: libtqtinterface arts kdelibs kdebase
Use Automake to build the rest.
Tried that (hence the patches sent earlier today). tqt, arts, kdelibs, dbus-tqt and kdebase built after some patching, but when I hit kdenetwork and tried to build it via autotools I got the FTBFS which started this thread :( and comments from Robert that the SVN trunk of the non-cmakeable modules is not buildable with autotools either at present.
This is not correct. You can (and should) build the packages I mentioned with CMake, and then proceed to build the remaining packages with Autotools. Of course I am only mentioning this within the context of using the latest SVN sources; the older 3.5.12 release is only buildable under Autotools, and is also restricted to working with autoconf < 2.63.
It seems that the autotools machinery is getting something wrong such that TQt is not being picked up properly, I'd guess. (Plainly it works sometimes, because the SVN log contains recent mentions of fixes of FTBFS errors: hence this report.)
I am actually running a full rebuild test as I write this, so if something is not buildable I will find out about it soon. Otherwise, there is a chance that something is different in your setup vs. my setup, and you may need to pass additional configuration flags to the Autotools-dependent Trinity packages.
(btw, I think what you're doing with Trinity is awesome. A parallel- installable KDE3 eventually atop Qt4: it's what the KDE devs should have done all along :) )
Thanks! Encouragement is always appreciated here. :)
Tim
On 20 Jul 2011, Timothy Pearson outgrape:
Tried that (hence the patches sent earlier today). tqt, arts, kdelibs, dbus-tqt and kdebase built after some patching, but when I hit kdenetwork and tried to build it via autotools I got the FTBFS which started this thread :( and comments from Robert that the SVN trunk of the non-cmakeable modules is not buildable with autotools either at present.
This is not correct. You can (and should) build the packages I mentioned with CMake, and then proceed to build the remaining packages with Autotools.
Ah. Well, it's not working for me then :)
Of course I am only mentioning this within the context of
using the latest SVN sources; the older 3.5.12 release is only buildable under Autotools, and is also restricted to working with autoconf < 2.63.
That's exactly what I thought (though actually the latest KDE from trunk SVN built with autoconf 2.64 perfectly well when I did it last).
It seems that the autotools machinery is getting something wrong such that TQt is not being picked up properly, I'd guess. (Plainly it works sometimes, because the SVN log contains recent mentions of fixes of FTBFS errors: hence this report.)
I am actually running a full rebuild test as I write this, so if something is not buildable I will find out about it soon. Otherwise, there is a chance that something is different in your setup vs. my setup, and you may need to pass additional configuration flags to the Autotools-dependent Trinity packages.
Oh, I'm certain something is different, hence the need for the patches I sent earlier. Among other things, my Qt setup is a bit unusual: Qt3 is installed in /usr, with the include path renamed to /usr/include/Qt to avoid a clash with Qt4: but all of KDE3, and the bin/ directory from Qt3, is installed in a tree rooted at /usr/kde3/. TQt et al are also installed in the /usr/kde3/-rooted tree. (This setup allows programs that use Qt3 to run with no unusual library or include search paths: they only need an unusual PATH and a couple of -L and -I options at build time, when uic et al are run.)
In pre-Trinity-KDE3-with-autotools, this is easily dealt with like this:
export QMAKESPEC=/usr/share/Qt/mkspecs/linux-g++ export PATH=/usr/kde3/bin:$PATH export MOC=/usr/kde3/bin/moc export UIC_PATH=/usr/kde3/bin/uic export PKG_CONFIG_PATH=/usr/kde3/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig
and the configure option --prefix=/usr/kde3: I also need a single acinclude.m4.in hack to look for /usr/include/Qt instead of /usr/include/qt.
For the cmake builds, everything is just about as simple: I just need to add
export CMAKE_PREFIX_PATH=/usr/kde3 export CMAKE_INCLUDE_PATH=/usr/kde3/include:/usr/kde3/include/tqt:/usr/include/dbus-1.0:/usr/kde3/include/libkrandr
and pass in
-DCMAKE_INSTALL_PREFIX=/usr/kde3 -DUIC_EXECUTABLE=/usr/kde3/bin/uic -DQT_INCLUDE_DIR=/usr/include/Qt
and everything works: the cmake builds are excellently done. (Obviously this is all dealt with automatically by my autobuilder scripts, which also handle flipping to cmake as needed: I don't need to do any of this by hand, perish the thought.)
But the autotools builds in kdenetwork et al in SVN head have become terminally confused, even with extra hackery to force -I/usr/kde3/include in front of the -include line that pulls in TQt (which line is not consistently specified: it doesn't seem to be present in the line below, for instance: I haven't figured out why yet). --enable-closure does not help (not that I ever seemed to need that pre-Trinity, but you recommended it so I tried it: no help). As this makes clear...
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/kde3/include -I/usr/include/Qt -I. -DQT_THREAD_SUPPORT -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE -D_REENTRANT -D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -fpermissive -Wstrict-overflow=1 -g -gdwarf-4 -feliminate-dwarf2-dups -feliminate-unused-debug-types -fvar-tracking-assignments -O2 -pipe -ffast-math -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/kde3/include/tqt -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT hostprops.lo -MD -MP -MF .deps/hostprops.Tpo -c hostprops.cpp -fPIC -DPIC -o .libs/hostprops.o In file included from hostprops.cpp:18:0: ./hostprops.ui.h:10:29: error: no 'void HostProps::setModified()' member function declared in class 'HostProps' hostprops.cpp: In constructor 'HostProps::HostProps(QWidget*, const char*)': hostprops.cpp:31:59: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:32:18: error: invalid use of incomplete type 'struct QGroupBox' hostprops.h:18:7: error: forward declaration of 'struct QGroupBox' hostprops.cpp:32:119: error: invalid use of incomplete type 'struct QGroupBox'
... uic (or rather, the uic postprocessing hackery) has gone mad and is not including the right headers for the things that the .ui.h files will need :( I tried to understand what was going on and my brain melted. I tried to build a pre-TQtized kdenetworks and, well, that won't work because the KDE public headers now require TQt. So it is 'Trinity everywhere' or 'Trinity nowhere' and ne'er the twain shall meet.
I can provide some complete failing build logs if you like. (I just didn't want to bomb the list with them.)
(btw, I think what you're doing with Trinity is awesome. A parallel- installable KDE3 eventually atop Qt4: it's what the KDE devs should have done all along :) )
Thanks! Encouragement is always appreciated here. :)
A task as quixotic as this one deserves encouragement. Besides, KDE3 is a wonderful piece of work and it's worth keeping it running.
Obviously I am missing something. I tried to build kdenetwork from svn. I had to use autoconf because CMake is not ready... but it failed, horribly. What's worse, because of the use of TQt constructs in the Trinity versin of installed headers, compiling the *original* KDE-upstream kdenetwork also failed.
The log of the failure indicates that, well, as far as I can tell at least one required header is not being included by the uic-generated code, and there may be other problems. (I had to hack acinclude.m4.in to look for tqt in /usr/kde3/include/tqt and to pick up the Qt3 headers from /usr/include/Qt, where I stash them in order to not conflict with Qt 4: the hackage may be wrong because there is quite a tangle of headers there and I got a bit lost).
<snip>
Can you please post the full build log, including the output of autoreconf and configure, as an attachment to this list? That would greatly aid us in tracking down the problem.
Thanks!
Tim
On 21 Jul 2011, Timothy Pearson said:
Can you please post the full build log, including the output of autoreconf and configure, as an attachment to this list? That would greatly aid us in tracking down the problem.
Sure! This request was doubly helpful because it meant I got to review my patches to the admin/ directory and throw out 90% of them as crap that svn had mistakenly introduced when applying its braindead automerging technique to new checkouts. The sooner we can git rid of svn the happier I will be.
Discounting the usual libtool updates (I'm using libtool 2.4), I've done this to the admin/ directory. The changes fall into two categories:
- add /usr/kde3/include and /usr/kde3/lib to the include and library search paths, so that the KDE and TQt headers and libraries there can be picked up
- adjust the Qt includedir to /usr/include/Qt and the Qt docdir similarly
- one outright bugfix (AM_PROG_LEX doesn't compile in C++ mode due to lack of prototyping, but everything else *should* be compiled as C++).
A variant of these changes (without the tqt adjustments) has long worked for me with KDE3 before now, but obviously I'm doing something wrong here. (Other than using Autoconf at all, which is clearly wrong for this application: roll on CMake! ;} )
Index: acinclude.m4.in =================================================================== --- acinclude.m4.in (revision 1242530) +++ acinclude.m4.in (working copy) @@ -1089,8 +1089,9 @@ LIB_XEXT="-lXext" QTE_NORTTI=""
-CFLAGS="$CFLAGS -I/usr/include/tqt" -CXXFLAGS="$CXXFLAGS -I/usr/include/tqt" +CFLAGS="$CFLAGS -I/usr/kde3/include/tqt" +CXXFLAGS="$CXXFLAGS -I/usr/kde3/include/tqt" +LDFLAGS="$LDFLAGS -L/usr/kde3/lib"
elif test "$kde_use_qt_emb" = "yes"; then dnl We're using QT Embedded @@ -1233,7 +1234,7 @@ AC_LANG_SAVE AC_LANG_CPLUSPLUS ac_cxxflags_safe="$CXXFLAGS" - CXXFLAGS="-I/usr/include/tqt" + CXXFLAGS="-I/usr/kde3/include/tqt" AC_TRY_COMPILE([ #define TQT_VERSION_ONLY #include <tqt.h> @@ -1349,7 +1350,7 @@ kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4" fi if test $kde_qtver = 3; then - kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3 /usr/lib${kdelibsuff}/qt-3.3" + kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/Qt /usr/share/qt3 /usr/lib${kdelibsuff}/qt-3.3" if test -z "$PKG_CONFIG"; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) fi @@ -1608,7 +1609,7 @@ qt_incdirs="$qt_incdirs `$PKG_CONFIG --variable=includedir qt-mt`" fi fi -qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes" +qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/Qt /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes" if test ! "$ac_qt_includes" = "NO"; then qt_incdirs="$ac_qt_includes $qt_incdirs" fi @@ -2846,7 +2847,7 @@ QT_LDFLAGS="$QT_LDFLAGS $LIBTQT_LDFLAGS" AC_SUBST(QT_LDFLAGS) qtlib="$qtlib $LIBTQT_LDFLAGS" - LIBTQT_CXXFLAGS="-include tqt.h" + LIBTQT_CXXFLAGS="-I/usr/kde3/include -include tqt.h" all_includes="$all_includes $LIBTQT_CXXFLAGS" QT_INCLUDES="$QT_INCLUDES $LIBTQT_CXXFLAGS"
@@ -3804,6 +3805,7 @@ AC_EXEEXT
AM_PROG_LIBTOOL +AC_LANG(C++) AC_LIBTOOL_CXX
# LIBTOOL_SHELL="/bin/sh ./libtool" @@ -5311,7 +5313,7 @@ AC_DEFUN([KDE_CHECK_HEADER], [ kde_safe_cppflags=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/kde -I/usr/include/tqt" + CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/kde -I/usr/kde3/include/tqt" AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_CHECK_HEADER([$1], [$2], [$3], [$4]) @@ -5324,7 +5326,7 @@ AH_CHECK_HEADERS([$1]) AC_LANG_SAVE kde_safe_cppflags=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/kde -I/usr/include/tqt" + CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/kde -I/usr/kde3/include/tqt" AC_LANG_CPLUSPLUS AC_CHECK_HEADERS([$1], [$2], [$3], [$4]) CPPFLAGS=$kde_safe_cppflags @@ -5819,6 +5821,7 @@
AC_DEFUN([KDE_NEED_FLEX], [ +AC_LANG_PUSH(C) kde_libs_safe=$LIBS LIBS="$LIBS $USER_LDFLAGS" AM_PROG_LEX @@ -5826,6 +5829,7 @@ if test -z "$LEXLIB"; then AC_MSG_ERROR([You need to have flex installed.]) fi +AC_LANG_POP(C) AC_SUBST(LEXLIB) ])
@@ -5941,7 +5945,7 @@ kde_qtdir="$with_qt_dir" fi
-AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR) +AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/Qt/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR) AC_MSG_RESULT($QTDOCDIR)
AC_SUBST(QTDOCDIR)
Here's the results of a failed kdenetwork build, gzipped: