[Kde-bindings] Qyoto v.1.0.0 problem compiling on Qt < 4.3

David Canar davidcanar at gmail.com
Sat Jul 7 18:27:58 UTC 2007


There is a guy in the Qyoto forum that can't compile Qyoto with Qt
4.2.3 he gets this:

[  2%] Building CXX object csharp/qyoto/CMakeFiles/qyoto.dir/src/qyoto.o
[  4%] Building CXX object csharp/qyoto/CMakeFiles/qyoto.dir/src/handlers.o
/home/shernandez/qt4-qyoto-1.0.0/csharp/qyoto/src/handlers.cpp:1751:
error: 'marshall_QMdiSubWindowList' was not declared in this scope
make[2]: *** [csharp/qyoto/CMakeFiles/qyoto.dir/src/handlers.o] Error 1
make[1]: *** [csharp/qyoto/CMakeFiles/qyoto.dir/all] Error 2
make: *** [all] Error 2

I found that the file "handlers.cpp" on line 1751 has this line:

{ "QList<QMdiSubWindow*>", marshall_QMdiSubWindowList },

and that line is repeated again on line 1834 under
#if QT_VERSION >= 0x40300
    { "QList<QMdiSubWindow*>", marshall_QMdiSubWindowList },

my guess is that line 1751 shouldn't be there since QMdiSubWindow does
not exist in Qt < 4.3 and it is declared on line 1834 under the
conditional that checks that Qt should be 4.3 or greater. Could Arno
or Richard make the change on SVN if you think that my assumption is
correct?

Thanks!

David.



More information about the Kde-bindings mailing list