Skip to content

Instantly share code, notes, and snippets.

@torarnv
Created July 5, 2012 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torarnv/3053577 to your computer and use it in GitHub Desktop.
Save torarnv/3053577 to your computer and use it in GitHub Desktop.
commit 1bbe9b16ef5370682f0561cef3d80c9977439f5c
Author: Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
Date: Thu Jul 5 14:54:05 2012 +0200
[Qt] Update includes of QPA headers after changes in Qt.
We also need to depend on gui-private in the MiniBrowser to get access
to these headers.
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp b/Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp
index 0930708..e0e43e5 100644
--- a/Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp
+++ b/Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp
@@ -22,8 +22,8 @@
#include "qwebkittest_p.h"
#include "QtViewportHandler.h"
+#include <qpa/qwindowsysteminterface.h>
#include "qquickwebview_p_p.h"
-#include "qwindowsysteminterface_qpa.h"
#include <QMutableListIterator>
#include <QTouchEvent>
diff --git a/Tools/MiniBrowser/qt/MiniBrowser.pro b/Tools/MiniBrowser/qt/MiniBrowser.pro
index 5e5060f..d54efad 100644
--- a/Tools/MiniBrowser/qt/MiniBrowser.pro
+++ b/Tools/MiniBrowser/qt/MiniBrowser.pro
@@ -22,7 +22,7 @@ HEADERS += \
TARGET = MiniBrowser
DESTDIR = $${ROOT_BUILD_DIR}/bin
-QT += network quick quick-private webkit webkit-private
+QT += network gui-private quick quick-private webkit webkit-private
macx: QT += xml
RESOURCES += MiniBrowser.qrc
diff --git a/Tools/MiniBrowser/qt/MiniBrowserApplication.h b/Tools/MiniBrowser/qt/MiniBrowserApplication.h
index 7d3c7a4..aa6ecde 100644
--- a/Tools/MiniBrowser/qt/MiniBrowserApplication.h
+++ b/Tools/MiniBrowser/qt/MiniBrowserApplication.h
@@ -36,7 +36,7 @@
#include <QGuiApplication>
#include <QTouchEvent>
#include <QUrl>
-#include "qwindowsysteminterface_qpa.h"
+#include <qpa/qwindowsysteminterface.h>
class BrowserWindow;
diff --git a/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp b/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
index 0211df5..b26e205 100644
--- a/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
+++ b/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
@@ -34,7 +34,7 @@
#include <QEventLoop>
#include <QQmlProperty>
#include <QtQuick/QQuickView>
-#include <qwindowsysteminterface_qpa.h>
+#include <qpa/qwindowsysteminterface.h>
namespace WTR {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment