[webkit-dev] Building QtWebkit on Mac OSX 10.5.6 with Qt 4.5

Garth Dahlstrom ironstorm at gmail.com
Thu Aug 20 15:31:07 PDT 2009


Hi All,

Picking up on this thread from April (
http://lists.macosforge.org/pipermail/webkit-dev/2009-April/thread.html#7296),
I'm in a simliar spot as Husam; on OSX 1.5.8 w/ MacPorts Qt 4.5.2.

I made it a little further by overriding the mkspec to be macx-g++, so I'm
no longer stuck at the XCode/XProj generation stuff.  However I now have a
problem that my $QTDIR/include directory is not being picked up.

If someone could suggest how I can inject the ${QTDIR}/include into the
build environment, I would be grateful for the assist.

Cheers,

-G

Here is the truncated compile output:

[649] ged at gMacBook:~/mnt$ WEBKITOUTPUTDIR=`pwd`/qtbuild
WebKit/WebKitTools/Scripts/build-webkit --qt --qmake=qmake-4.5
--makeargs="-j3 -s" -spec macx-g++ --no-video --debug
Calling 'qmake-4.5 -r -spec macx-g++ DEFINES+=ENABLE_VIDEO=0
OUTPUT_DIR=/Users/ged/mnt/qtbuild/Debug /Users/ged/mnt/WebKit/WebKit.pro
CONFIG-=release CONFIG+=debug' in /Users/ged/mnt/qtbuild/Debug

Reading /Users/ged/mnt/WebKit/WebCore/WebCore.pro
[/Users/ged/mnt/qtbuild/Debug//WebCore]
Project MESSAGE: Building QtWebKit as a framework, as that's how Qt was
built. You can
Project MESSAGE: override this by passing CONFIG+=webkit_no_framework to
build-webkit.

/Developer/Tools/Qt/rcc: File does not exist
'../../../WebKit/WebCore/inspector/front-end/WebKit.qrc'
/Developer/Tools/Qt/rcc: File does not exist
'../../../WebKit/WebCore/WebCore.qrc'
Reading /Users/ged/mnt/WebKit/JavaScriptCore/jsc.pro[/Users/ged/mnt/qtbuild/Debug//JavaScriptCore]
Reading /Users/ged/mnt/WebKit/WebKit/qt/QtLauncher/QtLauncher.pro
[/Users/ged/mnt/qtbuild/Debug//WebKit/qt/QtLauncher]
Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/tests.pro[/Users/ged/mnt/qtbuild/Debug//WebKit/qt/tests]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/qwebframe/qwebframe.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//qwebframe]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/qwebpage/qwebpage.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//qwebpage]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/qwebelement/qwebelement.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//qwebelement]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/qwebhistoryinterface/
qwebhistoryinterface.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//qwebhistoryinterface]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/qwebplugindatabase/
qwebplugindatabase.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//qwebplugindatabase]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/qwebview/qwebview.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//qwebview]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/qwebhistory/qwebhistory.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//qwebhistory]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/benchmarks/painting/
tst_painting.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//benchmarks/painting]
 Reading /Users/ged/mnt/WebKit/WebKit/qt/tests/benchmarks/loading/
tst_loading.pro[/Users/ged/mnt/qtbuild/Debug/WebKit/qt/tests//benchmarks/loading]
Reading
/Users/ged/mnt/WebKit/WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro
[/Users/ged/mnt/qtbuild/Debug//WebKitTools/DumpRenderTree/qt]
Reading /Users/ged/mnt/WebKit/WebKitTools/DumpRenderTree/qt/ImageDiff.pro
[/Users/ged/mnt/qtbuild/Debug//WebKitTools/DumpRenderTree/qt]
Reading
/Users/ged/mnt/WebKit/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
[/Users/ged/mnt/qtbuild/Debug//WebKitTools/DumpRenderTree/qt/TestNetscapePlugin]
In file included from
../../../WebKit/JavaScriptCore/wtf/unicode/Unicode.h:29,
                 from ../../../WebKit/JavaScriptCore/pcre/pcre.h:45,
                 from
../../../WebKit/JavaScriptCore/pcre/pcre_internal.h:82,
                 from ../../../WebKit/JavaScriptCore/pcre/pcre_exec.cpp:46:
../../../WebKit/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:26:17: error:
QChar: No such file or directory
../../../WebKit/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:27:19: error:
QString: No such file or directory

.... lots more of the same ....


              __
--- == __/ t.O ==--
http://stacktrace.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090820/a3f63d12/attachment.html>


More information about the webkit-dev mailing list