[Kde-bindings] Building QtRuby for Qt/Embedded

Steffen Beyer serpent at centibel.org
Thu Feb 18 17:33:00 UTC 2010


a small patch to one of the makefiles allows cmake to succeed and brings 
the build process forward a bit:

--- smoke/qt/CMakeLists.txt.orig	2010-02-18 17:22:09.378644489 +0000
+++ smoke/qt/CMakeLists.txt	2010-02-18 17:22:16.719317757 +0000
@@ -111,7 +111,6 @@
 target_link_libraries(smokeqt ${QT_QTCORE_LIBRARY}
-                              ${QT_QTOPENGL_LIBRARY}

...stopping due to missing X11 components, it seems:

[  3%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/smokedata.o
In file included from 
/usr/local/include/QtGui/qx11embed_x11.h:77: error: 'XEvent' has not been 
/usr/local/include/QtGui/qx11embed_x11.h:115: error: 'XEvent' has not been 
/tmp/build/qt4-qtruby-2.0.3/smoke/qt/smokedata.cpp:6041: error: expected 
'}' before 'com'
/tmp/build/qt4-qtruby-2.0.3/smoke/qt/smokedata.cpp:6041: error: expected 
'}' before 'com'
/tmp/build/qt4-qtruby-2.0.3/smoke/qt/smokedata.cpp:6041: error: expected 
',' or ';' before 'com'
/tmp/build/qt4-qtruby-2.0.3/smoke/qt/smokedata.cpp:6041: error: expected 
declaration before '}' token
make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/smokedata.o] Error 1
make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2
make: *** [all] Error 2

(see http://pastie.org/831081 for the full log)

Any idea where to look?

If there is a better place to ask, please let me know!

Kind regards,
Steffen Beyer <serpent at centibel.org>

GnuPG key fingerprint: CA00 1611 242B 89D4 E643  E235 05F3 7689 DD3E EB26
Public key available upon request or at http://wwwkeys.de.pgp.net

More information about the Kde-bindings mailing list