On Friday 07 January 2011 21:18:38 Timothy Pearson wrote:
[...]
Ah, OK, I know what that is...
I recently made a change to Qt3 itself to add the ability to retrieve a
(copied) TQObjectList of children instead of a pointer to an internal
object. The patch is attached.
[...]
You will need to recompile Qt3 with the patch applied
before TQt will
build properly. Alternatively you may utilize the TQt source from before
SVN revision 1210400, but that will cause problems in the future as final
TQt porting is completed.
I patched Qt3 (also cmake checks if detected Qt is patched for tqtinterface
compatibility). Now stopping with this error:
[ 1%] Building CXX object dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o
cd /home/serghei/kdelibs.build/dcop
&& /usr/bin/c++ -DDCOP_shared_EXPORTS -DHAVE_CONFIG_H -DUSE_QT3
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-include
tqt.h -fPIC -I/usr/qt/3/include -I/usr/include/tqt -I/home/serghei/kdelibs.build/dcop
-I/home/serghei/kdelibs.build -I/usr/src/trinity/kdelibs/dcop
-I/home/serghei/kdelibs.build/kdecore -I/usr/src/trinity/kdelibs/kdecore -o
CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c
/usr/src/trinity/kdelibs/dcop/dcopclient.cpp
/usr/src/trinity/kdelibs/dcop/dcopclient.cpp: In function 'void
fillQtObjects(QCStringList&, QObject*, QCString)':
/usr/src/trinity/kdelibs/dcop/dcopclient.cpp:1334: error: no match for
ternary 'operator?:' in '(o != 0u) ? QObject::tqchildren()() :
QObject::objectTrees()'
/usr/src/trinity/kdelibs/dcop/dcopclient.cpp:1348: error: could not
convert 'QObject::tqchildren()()' to 'bool'
/usr/src/trinity/kdelibs/dcop/dcopclient.cpp: In function 'void
fillQtObjectsEx(QValueList<<unnamed>::O>&, QObject*, QCString)':
/usr/src/trinity/kdelibs/dcop/dcopclient.cpp:1371: error: no match for
ternary 'operator?:' in '(o != 0u) ? QObject::tqchildren()() :
QObject::objectTrees()'
/usr/src/trinity/kdelibs/dcop/dcopclient.cpp:1385: error: could not
convert 'QObject::tqchildren()()' to 'bool'
make[2]: *** [dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o] Error 1
--
Serghei