I'm also getting some earlier errors:

/usr/lib64/qt4/bin/rcc: File does not exist '../../../WebCore/WebCore.qrc'
/usr/lib64/qt4/bin/rcc: File does not exist 
'../../../WebCore/inspector/front-end/WebKit.qrc'
...
/usr/lib64/qt4/bin/rcc: File does not exist 
'../../../../WebKitTools/QtTestBrowser/QtTestBrowser.qrc'

On 08/03/2013, at 7:42 PM, James Wettenhall wrote:

> Hi,
> 
> I need to install an application with a dependency on QtWebkit on a RHEL 6 
> system which has a no-EPEL policy, so I can't use EPEL's qtwebkit 2.1.1 
> package.
> 
> I've tried building it from source, by downloading:
> 
> https://gitorious.org/webkit/qtwebkit/archive-tarball/qtwebkit-2.1.1
> 
> and running:
> 
> WebKitTools/Scripts/build-webkit --qt
> 
> as described here: http://trac.webkit.org/wiki/BuildingQtOnLinux
> 
> (except that I changed "WebKit/Tools" to "WebKitTools" to match the QtWebKit 
> 2.1.1 source distribution I got from gitorious).
> 
> I have qt-devel 4.6.2 installed (the default version of Qt in RHEL 6).
> 
> This succeeded in producing the libQtWebKit.so.4.8.1 shared library (with a 
> few symbolic link aliases):
> 
> I was surprised to see version 4.8.1 in the shared library name 
> (libQtWebKit.so.4.8.1), given that I have version 4.6.2 of Qt installed.   
> But the EPEL build of qtwebkit 2.1.1 also has the "4.8.1" version number, so 
> I assume it's nothing to worry about.
> 
> Then the build failed while trying to build the test browser, with errors 
> about undefined references to QWebPage::settings() const and to 
> QWebSettings::setAttribute(...) etc.
> 
> ...
> g++ -m64 -Wl,-z,origin '-Wl,-rpath,$ORIGIN/../lib' -Wl,-O1 -o 
> ../../bin/QtTestBrowser locationedit.o launcherwindow.o main.o mainwindow.o 
> urlloader.o utils.o webpage.o webview.o fpstimer.o moc_locationedit.o 
> moc_launcherwindow.o moc_mainwindow.o moc_urlloader.o moc_webinspector.o 
> moc_webpage.o moc_webview.o moc_fpstimer.o qrc_QtTestBrowser.o    
> -L/usr/local/src/QTWEBKIT/2.1.1/pre-build/webkit-qtwebkit/WebKitBuild/Release/lib
>  -L/usr/X11R6/lib64 -lQtWebKit -lQtXml -lQtOpenGL -lQtGui -lQtNetwork 
> -lQtCore -lQtUiTools -lGLU -lGL -lpthread
> launcherwindow.o: In function 
> `LauncherWindow::toggleJavascriptCanOpenWindows(bool)':
> /usr/local/src/QTWEBKIT/2.1.1/webkit-qtwebkit/WebKitBuild/Release/WebKitTools/QtTestBrowser/../../../../WebKitTools/QtTestBrowser/launcherwindow.cpp:738:
>  undefined reference to `QWebPage::settings() const'
> ...
> 
> I get a series of similar warnings about undefined references to methods from 
> the QWebPage, QWebSettings, QWebFrame and QWebView classes.
> 
> I thought maybe I could use the libQtWebKit.so.4.8.1 shared library without 
> building the test browser, but then the Qt application I need to deploy also 
> complained about undefined symbols when I made my build of 
> libQtWebKit.so.4.8.1 accessible to it:
> 
> undefined symbol: _ZN8QWebViewC1EP7QWidget
> 
> Any suggestions for how to make this attempted build work on RHEL 6?
> 
> Thanks in advance,
> James
> 
> 

_______________________________________________
webkit-qt mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to