I'm trying to compile Qt 4 on OS X.

It configures OK, but at "make" it gives the following error. The error
happens with both qt-mac-opensource-src-4.4.1 and
qt-mac-opensource-src-4.4.2-snapshot-20080817.

(snip)
g++ -c -pipe -I/usr/local/sqlite/include -I/usr/local/ssl/include
-I/usr/local/include -fconstant-cfstrings -Wreturn-type -fno-strict-aliasing
-O2 -fvisibility=hidden -fvisibility-inlines-hidden -arch ppc -fPIC
-DQT_SHARED -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DBUILD_WEBKIT -DENABLE_ICONDATABASE=1 -DENABLE_XPATH=1 -DENABLE_SVG=1
-DWTF_CHANGES=1 -DBUILDING_QT__ -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../mkspecs/macx-g++ -I.
-I../../../../include/QtCore -I../../../../include/QtCore
-I../../../../include/QtNetwork -I../../../../include/QtNetwork
-I../../../../include/QtGui -I../../../../include/QtGui
-I../../../../include -I../WebKit/qt/Api -I../JavaScriptCore
-I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/ForwardingHeaders -I. -IForwardingHeaders -Iplatform
-Iplatform/network -Iplatform/graphics -Iloader -Ipage -Icss -Idom -Ibridge
-Iediting -Irendering -Ihistory -Ixml -Ihtml -Iplugins
-I../../../../include/QtWebKit -I.rcc/release-shared -Igenerated -Itmp
-I../JavaScriptCore -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/bindings/qt -I../JavaScriptCore/pcre
-I/Users/bg/src/qt-mac-opensource-src-4.4.2-snapshot-20080817/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/kjs/tmp
-Iplatform/qt -Iplatform/network/qt -Iplatform/graphics/qt
-Iplatform/graphics/svg/qt -Iloader/qt -Ipage/qt
-I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api -I. -IForwardingHeaders
-I../../webkit -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-Iplatform -Iplatform/network -Iplatform/graphics -Iplatform/graphics/svg
-Iplatform/graphics/svg/filters -Iloader -Iloader/icon -Icss -Idom -Ipage
-Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml -Ibindings/js -Iksvg2
-Iksvg2/css -Iksvg2/svg -Iksvg2/misc -Iksvg2/events
-Iplatform/image-decoders
-I/Users/bg/src/qt-mac-opensource-src-4.4.2-snapshot-20080817/src/3rdparty/sqlite
-I.moc/release-shared -I.uic/release-shared
-F/Users/bg/src/qt-mac-opensource-src-4.4.2-snapshot-20080817/lib -o
.obj/release-shared/JSPluginCustom.o bindings/js/JSPluginCustom.cpp
bindings/js/JSPluginCustom.cpp: In static member function 'static bool
WebCore::JSPlugin::canGetItemsForName(KJS::ExecState*, WebCore::Plugin*,
const KJS::Identifier&)':
bindings/js/JSPluginCustom.cpp:31: error: invalid use of incomplete type
'struct WebCore::Plugin'
generated/JSPlugin.h:28: error: forward declaration of 'struct
WebCore::Plugin'
bindings/js/JSPluginCustom.cpp: In static member function 'static
KJS::JSValue* WebCore::JSPlugin::nameGetter(KJS::ExecState*, KJS::JSObject*,
const KJS::Identifier&, const KJS::PropertySlot&)':
bindings/js/JSPluginCustom.cpp:37: error: invalid use of incomplete type
'struct WebCore::Plugin'
generated/JSPlugin.h:28: error: forward declaration of 'struct
WebCore::Plugin'
make[2]: *** [.obj/release-shared/JSPluginCustom.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to