Hi,

I would like to build and install Qt Jambi from source.

I followed the instructions came with it, and when I was building the C++ Libraries and Tools, the following error was thrown and make stopped:

../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp: In member function 'virtual QIcon QtJambiShell_QTreeModel::icon(_jobject*) const':
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:112: error: return type 'struct QIcon' is incomplete
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:122: error: variable 'QIcon __qt_return_value' has initializer but incomplete type
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:122: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:129: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp: In member function 'virtual QIcon QtJambiShell_QTreeModel::icon(_jobject*) const':
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:112: error: return type 'struct QIcon' is incomplete
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:122: error: variable 'QIcon __qt_return_value' has initializer but incomplete type
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:122: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:129: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp: In member function 'QIcon QtJambiShell_QTreeModel::__override_icon(_jobject* , bool) const':
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:187: error: return type 'struct QIcon' is incomplete
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:190: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:192: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp: In member function 'QIcon QtJambiShell_QTreeModel::__override_icon(_jobject* , bool) const':
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:187: error: return type 'struct QIcon' is incomplete
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:190: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:192: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp: In function '_jobject* Java_com_trolltech_qt_gui_QTreeModel__1_1qt_1icon_ 1java_1lang_1Object__JLjava_lang_Object_2(JNIEnv*, _jclass*, jlong, _jobject*)':
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:544: error: variable 'QIcon __qt_return_value' has initializer but incomplete type
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:544: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp: In function '_jobject* Java_com_trolltech_qt_gui_QTreeModel__1_1qt_1icon_ 1java_1lang_1Object__JLjava_lang_Object_2(JNIEnv*, _jclass*, jlong, _jobject*)':
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:544: error: variable 'QIcon __qt_return_value' has initializer but incomplete type
../cpp/com_trolltech_qt_gui/qtjambishell_QTreeModel.cpp:544: error: invalid use of undefined type 'struct QIcon'
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:263: error: forward declaration of 'struct QIcon'
lipo: can't open input file: /var/tmp//ccGhpv2e.out (No such file or directory)
make[2]: *** [debug/qtjambishell_QTreeModel.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-qtjambi_gui-make_default-ordered] Error 2

Please help?