Eskil Abrahamsen Blomfeldt schrieb: > Could you try passing "-Dqtjambi.force=true" to ant? Like this: > > > ant -Dqtjambi.force=true
It compiles much further but there's still an error: The result I get is now: ... [make] g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_QTJAMBI_IMPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../qt-all-opensource-src-4.5.0/mkspecs/linux-g++-64 -I. -I../../qt-all-opensource-src-4.5.0/include/QtCore -I../../qt-all-opensource-src-4.5.0/include/QtGui -I../../qt-all-opensource-src-4.5.0/include -I../qtjambi -I../common -I/opt/java/SDK/jdk//include -I/opt/java/SDK/jdk//include/linux -I. -I../qtjambi_core -I. -I. -o qtjambishell_QBrush.o ../cpp/com_trolltech_qt_gui/qtjambishell_QBrush.cpp [make] In file included from ../cpp/com_trolltech_qt_gui/qtjambishell_QBrush.cpp:9: [make] ./qtjambi_gui_qhashes.h: In function ‘int qHash(const QPalette&)’: [make] ./qtjambi_gui_qhashes.h:45: error: incomplete type ‘QPalette’ used in nested name specifier [make] ./qtjambi_gui_qhashes.h:46: error: incomplete type ‘QPalette’ used in nested name specifier [make] ./qtjambi_gui_qhashes.h:47: error: invalid use of incomplete type ‘const struct QPalette’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:59: error: forward declaration of ‘const struct QPalette’ [make] ./qtjambi_gui_qhashes.h:47: error: incomplete type ‘QPalette’ used in nested name specifier [make] ./qtjambi_gui_qhashes.h:47: error: incomplete type ‘QPalette’ used in nested name specifier [make] ./qtjambi_gui_qhashes.h: In function ‘int qHash(const QFont&)’: [make] ./qtjambi_gui_qhashes.h:55: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:56: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:57: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:58: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:59: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:60: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:61: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:62: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:63: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:64: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:65: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:66: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ./qtjambi_gui_qhashes.h:67: error: invalid use of incomplete type ‘const struct QFont’ [make] ../../qt-all-opensource-src-4.5.0/include/QtGui/../../src/gui/kernel/qwindowdefs.h:70: error: forward declaration of ‘const struct QFont’ [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QBrush.cpp: In function ‘_jobject* Java_com_trolltech_qt_gui_QBrush__1_1qt_1gradient__J(JNIEnv*, _jobject*, jlong)’: [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QBrush.cpp:282: warning: deprecated conversion from string constant to ‘char*’ [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QBrush.cpp:282: warning: deprecated conversion from string constant to ‘char*’ [make] make[1]: Leaving directory `/usr/local/src/qt-jambi/qtjambi_gui' [make] make[1]: *** [qtjambishell_QBrush.o] Fehler 1 [make] make: *** [sub-qtjambi_gui-make_default-ordered] Fehler 2 BUILD FAILED /usr/local/src/qt-jambi/build.xml:307: Running: make failed with exit code: 2 Total time: 5 minutes 40 seconds
_______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
