What build-webkit script does is basically these four commands in the root directory:

qmake -r DerivedSources.pro
make generated_files
qmake -r WebKit.pro
make

Try to run them manually. This was not tested with cross-compiling so you might have to work around some issues. DerivedSources.pro only generate source files so you could also try to run the first two lines without setting the cross-compiling environment.

If the -r switch is causing problems, try deleting the Makefiles in root, JavaScriptCore and WebCore. They are the reason why the -r switch is necessary and these Makefiles are only used by other WebKit ports.

- jocelyn

On 2/23/2010 5:48 PM, ext haithem rahmani wrote:
Hi,
I'm a newbie in this mailing list so I appologize if my question
has been already discussed.
what I would like to do is to cross-compile webkit-qt for the sh4-linux
platforms.
what I did :
setenv QMAKESPEC /opt/STM/STLinux-2.3/devkit/sh4/target/usr/share/qt-4.5.2/mkspecs/qws/linux-sh4-g++
setenv QMAKE sh4-linux-qmake
but when runing  "build-webkit --qt"
the build starts to use the host qmake instead of "sh4-linux-qmake" and fails as follows: Calling 'qmake -r -r /home/rahmanih/webkit/DerivedSources.pro -o Makefile.DerivedSources' in /home/rahmanih/webkit/WebKitBuild/Release
***Unknown option -r

it seems that I'm missing something with the envirement. has anybody met this error before ?
regards.

--
Say: He is God, the One and Only;
God, the Eternal, Absolute;
He begetteth not, nor is He begotten;
And there is none like unto Him.
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to