[Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
authorvestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Sep 2011 15:11:11 +0000 (15:11 +0000)
committervestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Sep 2011 15:11:11 +0000 (15:11 +0000)
commitcc648d9ccf96a48f43d8fafa363bb175967e5e97
tree26e973fea29cce97581f1546113bd4890ed44975
parent92b307b11d09eeaf1259e1edfe59924100bfa36f
[Qt] Fix build against Qt5 after refactor of widgets out of QtGUi

QWidget and friends now live in the QtWidgets library. We update
includes in implementation files and private headers to us the
non-module-prefixed path, and leave the lookup for the include
path. For public headers we have to ifdef the includes as the
user might now have the modules we need in his QT config.

Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
have to update our code and use windowHandle() for setting the
parent relationships.

https://bugs.webkit.org/show_bug.cgi?id=68687

Reviewed by Andreas Kling.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
49 files changed:
ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/WebCore.pri
Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp
Source/WebKit.pro
Source/WebKit/qt/Api/qgraphicswebview.cpp
Source/WebKit/qt/Api/qgraphicswebview.h
Source/WebKit/qt/Api/qwebframe.h
Source/WebKit/qt/Api/qwebhistory.h
Source/WebKit/qt/Api/qwebpage.h
Source/WebKit/qt/Api/qwebsettings.h
Source/WebKit/qt/Api/qwebview.h
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/QtWebKit.pro
Source/WebKit/qt/WebCoreSupport/PageClientQt.h
Source/WebKit/qt/WebCoreSupport/QtWebComboBox.cpp
Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h
Source/WebKit/qt/declarative/qdeclarativewebview.cpp
Source/WebKit/qt/declarative/qdeclarativewebview_p.h
Source/WebKit/qt/docs/webkitsnippets/webpage/main.cpp
Source/WebKit/qt/examples/platformplugin/WebNotificationPresenter.h
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/qt/qdesktopwebview.cpp
Source/WebKit2/UIProcess/API/qt/qdesktopwebview.h
Source/WebKit2/UIProcess/API/qt/tests/tests.pro
Source/WebKit2/UIProcess/qt/ViewInterface.h
Source/WebKit2/UIProcess/qt/WebPopupMenuProxyQtDesktop.cpp
Tools/ChangeLog
Tools/DumpRenderTree/qt/DumpRenderTree.pro
Tools/DumpRenderTree/qt/ImageDiff.pro
Tools/MiniBrowser/qt/BrowserView.cpp
Tools/MiniBrowser/qt/BrowserView.h
Tools/MiniBrowser/qt/BrowserWindow.cpp
Tools/MiniBrowser/qt/BrowserWindow.h
Tools/MiniBrowser/qt/MiniBrowser.pro
Tools/MiniBrowser/qt/MiniBrowserApplication.h
Tools/MiniBrowser/qt/main.cpp
Tools/QtTestBrowser/QtTestBrowser.pro
Tools/QtTestBrowser/launcherwindow.cpp
Tools/QtTestBrowser/launcherwindow.h
Tools/QtTestBrowser/locationedit.h
Tools/QtTestBrowser/main.cpp
Tools/QtTestBrowser/mainwindow.cpp
Tools/QtTestBrowser/mainwindow.h
Tools/QtTestBrowser/webinspector.h
Tools/QtTestBrowser/webpage.cpp
Tools/QtTestBrowser/webview.cpp
Tools/WebKitTestRunner/PlatformWebView.h
Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp