Hi Eskil, [...] > There definitely need to be more guides to help people get into this. > Building Qt Jambi should however be identical to building from a source > package, so maybe the following link is helpful: > > > http://doc.trolltech.com/qtjambi-4.5.0_01/com/trolltech/qt/qtjambi-installation.html#building-qt-jambi-from-a-source-package > >
Ok now I got a bit further. I compiled my own QT (4.5.1) and then launch the build process for QT-Jambi but it fails. > [make] g++ -headerpad_max_install_names -arch i386 > -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -single_module -dynamiclib > -compatibility_version 1.0 -current_version 1.0.0 -install_name > libqtjambi_debuglib.1.jnilib -o libqtjambi_debuglib.1.0.0.jnilib > debug/qnativepointer.o debug/qsysinfo.o debug/qtinfo.o debug/qtjambi_cache.o > debug/qtjambi_core.o debug/qtjambi_functions.o debug/qtjambi_utils.o > debug/qtjambifunctiontable.o debug/qtjambilink.o debug/qtjambitypemanager.o > debug/qtobject.o debug/qvariant.o debug/qtdynamicmetaobject.o > debug/qtjambivariant.o -L/usr/local/Trolltech/Qt-4.5.1/lib -framework > JavaVM -lQtCore_debug -L/usr/local/Trolltech/Qt-4.5.1/lib -lz -lm -framework > ApplicationServices > [make] ln -s libqtjambi_debuglib.1.0.0.jnilib libqtjambi_debuglib.jnilib > [make] ln -s libqtjambi_debuglib.1.0.0.jnilib > libqtjambi_debuglib.1.jnilib > [make] ln -s libqtjambi_debuglib.1.0.0.jnilib > libqtjambi_debuglib.1.0.jnilib > [make] rm -f ../lib/libqtjambi_debuglib.1.0.0.jnilib > [make] rm -f ../lib/libqtjambi_debuglib.jnilib > [make] rm -f ../lib/libqtjambi_debuglib.1.jnilib > [make] rm -f ../lib/libqtjambi_debuglib.1.0.jnilib > [make] mv -f libqtjambi_debuglib.1.0.0.jnilib libqtjambi_debuglib.jnilib > libqtjambi_debuglib.1.jnilib libqtjambi_debuglib.1.0.jnilib ../lib/ > [make] cd juic/ && /usr/bin/make -f Makefile > [make] /usr/bin/make -f Makefile.Release all > [make] g++ -c -pipe -Os -arch i386 -Wall -W -DQT_UIC_JAVA_GENERATOR > -DQT_UIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/local/Trolltech/Qt-4.5.1/mkspecs/macx-g++ -I. > -I/usr/local/Trolltech/Qt-4.5.1/include/QtCore > -I/usr/local/Trolltech/Qt-4.5.1/include/QtXml > -I/usr/local/Trolltech/Qt-4.5.1/include -Irelease -I. -I. -o > release/javawritedeclaration.o javawritedeclaration.cpp > [make] In file included from javawritedeclaration.cpp:45: > [make] javawritedeclaration.h:48:24: error: treewalker.h: No such file > or directory > [make] In file included from javawritedeclaration.cpp:46: > [make] javawriteinitialization.h:49:20: error: option.h: No such file or > directory > [make] javawritedeclaration.cpp:47:20: error: driver.h: No such file or > directory > [make] javawritedeclaration.cpp:48:17: error: ui4.h: No such file or > directory > [make] javawritedeclaration.cpp:49:17: error: uic.h: No such file or > directory > [make] javawritedeclaration.cpp:50:26: error: databaseinfo.h: No such > file or directory > [make] javawritedeclaration.cpp:51:31: error: customwidgetsinfo.h: No > such file or directory > [make] javawritedeclaration.h:59: error: expected class-name before ‘{’ > token > [make] javawritedeclaration.h:62: error: ‘DomUI’ has not been declared > [make] javawritedeclaration.h:63: error: ‘DomWidget’ has not been > declared > [make] javawritedeclaration.h:64: error: ‘DomLayout’ has not been > declared > [make] javawritedeclaration.h:65: error: ‘DomSpacer’ has not been > declared > [make] javawritedeclaration.h:66: error: ‘DomActionGroup’ has not been > declared > [make] javawritedeclaration.h:67: error: ‘DomAction’ has not been > declared > [make] javawriteinitialization.h:64: error: expected class-name before > ‘{’ token > [make] javawriteinitialization.h:70: error: ‘DomUI’ has not been declared > [make] javawriteinitialization.h:71: error: ‘DomWidget’ has not been > declared > [make] javawriteinitialization.h:72: error: ‘DomLayout’ has not been > declared > [make] javawriteinitialization.h:73: error: ‘DomSpacer’ has not been > declared > [make] javawriteinitialization.h:74: error: ‘DomLayoutItem’ has not been > declared > [make] javawriteinitialization.h:79: error: ‘DomActionGroup’ has not > been declared > [make] javawriteinitialization.h:80: error: ‘DomAction’ has not been > declared > [make] javawriteinitialization.h:81: error: ‘DomActionRef’ has not been > declared > [make] javawriteinitialization.h:86: error: ‘DomTabStops’ has not been > declared > [make] javawriteinitialization.h:91: error: ‘DomCustomWidgets’ has not > been declared > [make] javawriteinitialization.h:92: error: ‘DomCustomWidget’ has not > been declared > [make] javawriteinitialization.h:97: error: ‘DomLayoutDefault’ has not > been declared > [make] javawriteinitialization.h:98: error: ‘DomLayoutFunction’ has not > been declared > [make] javawriteinitialization.h:103: error: ‘DomConnection’ has not > been declared > [make] javawriteinitialization.h:108: error: ‘DomImage’ has not been > declared > [make] javawriteinitialization.h:111: error: ‘DomColor’ has not been > declared > [make] javawriteinitialization.h:114: error: ‘DomProperty’ has not been > declared > [make] javawriteinitialization.h:116: error: ‘DomString’ has not been > declared > [make] javawriteinitialization.h:119: error: ‘DomProperty’ was not > declared in this scope > [make] javawriteinitialization.h:119: error: template argument 1 is > invalid > [make] javawriteinitialization.h:120: error: ‘DomColorGroup’ has not > been declared > [make] javawriteinitialization.h:126: error: ‘DomWidget’ has not been > declared > [make] javawriteinitialization.h:127: error: ‘DomWidget’ has not been > declared > [make] javawriteinitialization.h:128: error: ‘DomWidget’ has not been > declared > [make] javawriteinitialization.h:129: error: ‘DomWidget’ has not been > declared > [make] javawriteinitialization.h:130: error: ‘DomItem’ was not declared > in this scope > [make] javawriteinitialization.h:130: error: template argument 1 is > invalid > [make] javawriteinitialization.h:131: error: ‘DomWidget’ has not been > declared > [make] javawriteinitialization.h:133: error: ISO C++ forbids declaration > of ‘DomWidget’ with no type > [make] javawriteinitialization.h:133: error: expected ‘;’ before ‘*’ > token > [make] javawriteinitialization.h:134: error: ISO C++ forbids declaration > of ‘DomImage’ with no type > [make] javawriteinitialization.h:134: error: expected ‘;’ before ‘*’ > token > [make] javawriteinitialization.h:142: error: field ‘option’ has > incomplete type > [make] javawriteinitialization.h:153: error: ‘DomWidget’ was not > declared in this scope > [make] javawriteinitialization.h:153: error: template argument 1 is > invalid > [make] javawriteinitialization.h:154: error: ‘DomLayout’ was not > declared in this scope > [make] javawriteinitialization.h:154: error: template argument 1 is > invalid > [make] javawriteinitialization.h:155: error: ‘DomActionGroup’ was not > declared in this scope > [make] javawriteinitialization.h:155: error: template argument 1 is > invalid > [make] javawriteinitialization.h:159: error: ‘DomWidget’ was not > declared in this scope > [make] javawriteinitialization.h:159: error: template argument 2 is > invalid > [make] javawriteinitialization.h:160: error: ‘DomImage’ was not declared > in this scope > [make] javawriteinitialization.h:160: error: template argument 2 is > invalid > [make] javawriteinitialization.h:161: error: ‘DomAction’ was not > declared in this scope > [make] javawriteinitialization.h:161: error: template argument 2 is > invalid > [make] javawritedeclaration.cpp: In constructor > ‘Java::WriteDeclaration::WriteDeclaration(Uic*)’: > [make] javawritedeclaration.cpp:64: error: invalid use of undefined type > ‘struct Uic’ > [make] javawritedeclaration.h:52: error: forward declaration of ‘struct > Uic’ > [make] javawritedeclaration.cpp:64: error: invalid use of undefined type > ‘struct Uic’ > [make] javawritedeclaration.h:52: error: forward declaration of ‘struct > Uic’ > [make] javawritedeclaration.cpp:64: error: invalid use of undefined type > ‘struct Uic’ > [make] javawritedeclaration.h:52: error: forward declaration of ‘struct > Uic’ > [make] javawritedeclaration.cpp: At global scope: > [make] javawritedeclaration.cpp:69: error: variable or field ‘acceptUI’ > declared void > [make] javawritedeclaration.cpp:69: error: ‘int > Java::WriteDeclaration::acceptUI’ is not a static member of ‘struct > Java::WriteDeclaration’ > [make] javawritedeclaration.cpp:69: error: ‘DomUI’ was not declared in > this scope > [make] javawritedeclaration.cpp:69: error: ‘node’ was not declared in > this scope > [make] javawritedeclaration.cpp:70: error: expected ‘,’ or ‘;’ before > ‘{’ token > [make] javawritedeclaration.cpp:134: error: variable or field > ‘acceptWidget’ declared void > [make] javawritedeclaration.cpp:134: error: ‘int > Java::WriteDeclaration::acceptWidget’ is not a static member of ‘struct > Java::WriteDeclaration’ > [make] javawritedeclaration.cpp:134: error: ‘DomWidget’ was not declared > in this scope > [make] javawritedeclaration.cpp:134: error: ‘node’ was not declared in > this scope > [make] javawritedeclaration.cpp:135: error: expected ‘,’ or ‘;’ before > ‘{’ token > [make] javawritedeclaration.cpp:146: error: variable or field > ‘acceptLayout’ declared void > [make] javawritedeclaration.cpp:146: error: ‘int > Java::WriteDeclaration::acceptLayout’ is not a static member of ‘struct > Java::WriteDeclaration’ > [make] javawritedeclaration.cpp:146: error: ‘DomLayout’ was not declared > in this scope > [make] javawritedeclaration.cpp:146: error: ‘node’ was not declared in > this scope > [make] javawritedeclaration.cpp:147: error: expected ‘,’ or ‘;’ before > ‘{’ token > [make] javawritedeclaration.cpp:158: error: variable or field > ‘acceptSpacer’ declared void > [make] javawritedeclaration.cpp:158: error: ‘int > Java::WriteDeclaration::acceptSpacer’ is not a static member of ‘struct > Java::WriteDeclaration’ > [make] javawritedeclaration.cpp:158: error: ‘DomSpacer’ was not declared > in this scope > [make] javawritedeclaration.cpp:158: error: ‘node’ was not declared in > this scope > [make] javawritedeclaration.cpp:159: error: expected ‘,’ or ‘;’ before > ‘{’ token > [make] javawritedeclaration.cpp:166: error: variable or field > ‘acceptActionGroup’ declared void > [make] javawritedeclaration.cpp:166: error: ‘int > Java::WriteDeclaration::acceptActionGroup’ is not a static member of ‘struct > Java::WriteDeclaration’ > [make] javawritedeclaration.cpp:166: error: ‘DomActionGroup’ was not > declared in this scope > [make] javawritedeclaration.cpp:166: error: ‘node’ was not declared in > this scope > [make] javawritedeclaration.cpp:167: error: expected ‘,’ or ‘;’ before > ‘{’ token > [make] javawritedeclaration.cpp:174: error: variable or field > ‘acceptAction’ declared void > [make] javawritedeclaration.cpp:174: error: ‘int > Java::WriteDeclaration::acceptAction’ is not a static member of ‘struct > Java::WriteDeclaration’ > [make] javawritedeclaration.cpp:174: error: ‘DomAction’ was not declared > in this scope > [make] javawritedeclaration.cpp:174: error: ‘node’ was not declared in > this scope > [make] javawritedeclaration.cpp:175: error: expected ‘,’ or ‘;’ before > ‘{’ token > [make] make[2]: *** [release/javawritedeclaration.o] Error 1 > [make] make[1]: *** [release-all] Error 2 > [make] make: *** [sub-juic-make_default-ordered] Error 2 > > BUILD FAILED > /Users/tomschindl/Documents/ecipse_ws/qt_dev/qt-jambi/build.xml:307: Running: > make failed with exit code: 2 Is the problem I'm seeing that I used QT 4.5.1 and should have used QT-4.5.0. Tom _______________________________________________ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest