Hi again, I succeeded to crosscompile the qt-webkit from SVN but now I'm getting a problem when linking the QtTestBrowser.
I have the following error: make[1]: Entering directory `/home/rahmanih/WebKit-sh4/WebKitBuild/Release/WebKitTools/QtTestBrowser' sh4-linux-g++ -Wl,-z,origin '-Wl,-rpath,$ORIGIN/../lib' -Wl,-O1 -o ../../bin/QtTestBrowser locationedit.o main.o mainwindow.o urlloader.o utils.o webpage.o webview.o fpstimer.o moc_locationedit.o moc_mainwindow.o moc_urlloader.o moc_webinspector.o moc_webpage.o moc_webview.o moc_fpstimer.o qrc_QtTestBrowser.o -L/home/rahmanih/WebKit-sh4/WebKitBuild/Release/lib -L/opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib -lQtWebKit -lQtGui -lQtNetwork -lQtCore -lpthread main.o: In function `LauncherWindow::applyZoom()': main.cpp:(.text+0x429c): undefined reference to `QGraphicsWebView::setTiledBackingStoreFrozen(bool)' main.o: In function `LauncherWindow::zoomAnimationFinished()': main.cpp:(.text+0x43d0): undefined reference to `QGraphicsWebView::setTiledBackingStoreFrozen(bool)' webview.o: In function `WebViewGraphicsBased::setResizesToContents(bool)': webview.cpp:(.text+0x62c): undefined reference to `QGraphicsWebView::setResizesToContents(bool)' moc_webinspector.o:(.rodata._ZTV12WebInspector[vtable for WebInspector]+0x88): undefined reference to `QWebInspector::closeEvent(QCloseEvent*)' collect2: ld returned 1 exit status make[1]: *** [../../bin/QtTestBrowser] Error 1 make[1]: Leaving directory `/home/rahmanih/WebKit-sh4/WebKitBuild/Release/WebKitTools/QtTestBrowser' make: *** [sub-WebKitTools-QtTestBrowser-make_default-ordered] Error 2 this is because the qt-webkit build system doesn't create a symbolic link "libQtWebkit.so" to point to "LibQtWebKit.so.4.8.0" it only create "libQTWebKit.so.4" and "libQTWebKit.so.4.8" Since I'm not familiar with the qt build system files can anyone explain to me where to modify inorder to make the build system generate the "libQtWebkit.so" link. PS: here is the content of the directory "WebKitBuild/Release/lib" libQtWebKit.prl libQtWebKit.so.4 -> libQtWebKit.so.4.8.0 libQtWebKit.so.4.8 -> libQtWebKit.so.4.8.0 libQtWebKit.so.4.8.0 pkgconfig plugins Kind regards. Haithem. Message: 4 > Date: Tue, 23 Feb 2010 19:23:33 +0100 > From: Jocelyn Turcotte <[email protected]> > To: [email protected] > Subject: Re: [webkit-qt] cress-compiling webkit-qt for sh4-linux > boards > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > 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 > -- Be to GOD as he wants , HE'll be for you more than what you want.
_______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
