Bug 107447
Summary: | [Qt] Fix the QtTestBrowser build if older QtWebKit is installed into system path | ||
---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | allan.jensen, hausmann, jturcotte, kadam, vestbo, vivek.vg, zarvai |
Priority: | P2 | Keywords: | Qt, QtTriaged |
Version: | 420+ | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Csaba Osztrogonác
QtTestBrowser build is now broken if you try to build trunk WebKit
with Qt 5.0 release version. (which contains an older QtWebKit)
(revealed by https://trac.webkit.org/changeset/139437)
build log (r140317):
---------------------
/home/webkit/WebKit/Tools/QtTestBrowser/launcherwindow.cpp: In member function 'void LauncherWindow::applyPrefs()':
/home/webkit/WebKit/Tools/QtTestBrowser/launcherwindow.cpp:220:59: error: 'WebAudioEnabled' is not a member of 'QWebSettings'
/home/webkit/WebKit/Tools/QtTestBrowser/launcherwindow.cpp: In member function 'void LauncherWindow::toggleWebAudio(bool)':
/home/webkit/WebKit/Tools/QtTestBrowser/launcherwindow.cpp:878:38: error: 'WebAudioEnabled' is not a member of 'QWebSettings'
The build failure is occured, because Tools/QtTestBrowser/launcherwindow.h includes qwebsettings.h
inside release Qt 5.0 and not qwebsettings.h in WebKit trunk.
I think it is a general problem, we need a way to disable QtWebKit includes/libararies for trunk WebKit build.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jocelyn Turcotte
=== Bulk closing of Qt bugs ===
If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.
If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.