[Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
authorvestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 19:31:59 +0000 (19:31 +0000)
committervestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 19:31:59 +0000 (19:31 +0000)
commita543bd2e910fd5a322b9288333388ff1e4b4b7fb
tree475e59fb4c6e22060a05f30350e24b1853a02e19
parentfb0d16f66bb3a624abd01a00128ab9a74f22b29f
[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: https://svn.webkit.org/repository/webkit/trunk@96345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
55 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/declarative.pro
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/WebKit/qt/tests/tests.pri
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/qt/qdesktopwebview.cpp
Source/WebKit2/UIProcess/API/qt/qdesktopwebview.h
Source/WebKit2/UIProcess/API/qt/tests/tests.pri
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/InjectedBundle/qt/InjectedBundle.pro
Tools/WebKitTestRunner/PlatformWebView.h
Tools/WebKitTestRunner/qt/EventSenderProxyQt.cpp
Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
Tools/WebKitTestRunner/qt/WebKitTestRunner.pro