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

Israel Brewster israel at frontierflying.com
Thu Nov 26 00:00:48 CET 2009


Thanks for the response.
On Nov 25, 2009, at 1:19 PM, Garth Dahlstrom wrote:

>
> 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.

As would installing the pre-built binary packages. But there is one,  
maybe two, problems with this approach. First, I need it compiled with  
the -system-sqlite flag, as a bug in the Qt SQLite library prevents  
SQLite from working with databases on a network drive. Secondly, I  
want a universal binary, so my apps can run on both intel and PPC  
hardware - I see no reason to limit it to just intel at this point, as  
I am not doing anything intel specific. I don't know if the pre-built  
binaries are universal or not, but I'd be surprised if they were  
compiled with the -system-sqlite flag. Of course, if I'm wrong about  
this, all the better!

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

No, I need all of Qt - webkit is just a small portion of my app.  
Actually, I've gotten by just fine without it up till now, but I can't  
think of a better way to display my (html) help files at the moment  
(see other thread).

>
>
> 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
>

-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091125/d80f3521/attachment.bin 
-------------- next part --------------




More information about the Qt-interest-old mailing list