[Qt-interest] Building Qt with WebKit (Mac OS X)

Garth Dahlstrom ironstorm at gmail.com
Wed Nov 25 23:19:24 CET 2009


Have you investigated using the MacPorts Qt build (then its just sudo port install qt-mac)?   It made things pretty easy when I was getting started with Qt on OSX.

If you want to build QtWebkit specifically, you might take a look at: http://trac.webkit.org/wiki/BuildingQtOnOSX


Also you might want to look at the Webkit Qt port

On 2009-11-25, at 4:46 PM, Israel Brewster wrote:
> I am attempting to build Qt 4.5.3 with webkit on Mac OS X 10.5.8, but  
> it always fails with the error: "lipo: can't open input file: /var/ 
> folders/Lg/LggL-xyyFn4Hw9+4rA7ZhE+++TU/-Tmp-//ccGEqxlU.out (No such  
> file or directory)". If I specify -no-webkit in configure, Qt builds,  
> but, of course, without Webkit. How can I fix this error? The full  
> text of the compile error (cutting out all the normal compile output)  
> is shown below. Thanks!
> 
> bindings/js/JSPluginCustom.cpp: In static member function ?static bool  
> WebCore::JSPlugin::canGetItemsForName(JSC::ExecState*,  
> WebCore::Plugin*, const JSC::Identifier&)?:
> bindings/js/JSPluginCustom.cpp:32: error: invalid use of undefined  
> type ?struct WebCore::Plugin?
> generated/JSPlugin.h:30: error: forward declaration of ?struct  
> WebCore::Plugin?
> bindings/js/JSPluginCustom.cpp: In static member function ?static  
> JSC::JSValuePtr WebCore::JSPlugin::nameGetter(JSC::ExecState*, const  
> JSC::Identifier&, const JSC::PropertySlot&)?:
> bindings/js/JSPluginCustom.cpp:38: error: invalid use of undefined  
> type ?struct WebCore::Plugin?
> generated/JSPlugin.h:30: error: forward declaration of ?struct  
> WebCore::Plugin?
> bindings/js/JSPluginCustom.cpp: In static member function ?static bool  
> WebCore::JSPlugin::canGetItemsForName(JSC::ExecState*,  
> WebCore::Plugin*, const JSC::Identifier&)?:
> bindings/js/JSPluginCustom.cpp:32: error: invalid use of undefined  
> type ?struct WebCore::Plugin?
> generated/JSPlugin.h:30: error: forward declaration of ?struct  
> WebCore::Plugin?
> bindings/js/JSPluginCustom.cpp: In static member function ?static  
> JSC::JSValuePtr WebCore::JSPlugin::nameGetter(JSC::ExecState*, const  
> JSC::Identifier&, const JSC::PropertySlot&)?:
> bindings/js/JSPluginCustom.cpp:38: error: invalid use of undefined  
> type ?struct WebCore::Plugin?
> generated/JSPlugin.h:30: error: forward declaration of ?struct  
> WebCore::Plugin?
> lipo: can't open input file: /var/folders/Lg/LggL-xyyFn4Hw9+4rA7ZhE++ 
> +TU/-Tmp-//ccGEqxlU.out (No such file or directory)
> make[1]: *** [.obj/release-static/JSPluginCustom.o] Error 1
> make: *** [release] Error 2





More information about the Qt-interest-old mailing list