summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku@ptp.co.jp>2014-03-12 19:15:22 +0900
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-14 02:02:26 +0100
commit41451c6247d35e90581622b969515378632f3313 (patch)
treea3c702fef32cbb01f3606526306826849ef63027
parent0b2d73d725354def897d883fa164c263001c4693 (diff)
downloadqtx11extras-41451c6247d35e90581622b969515378632f3313.tar.gz
remove QtWidgets dependency
The module doesn't depend on QtWidgets any more. Change-Id: Ic8036ec1ee53ef8b1a3bb6c827fb815f322865a2 Reviewed-by: Martin Gräßlin <mgraesslin@kde.org> Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r--qtx11extras.pro2
-rw-r--r--src/x11extras/qx11info_x11.cpp3
-rw-r--r--src/x11extras/x11extras.pro2
3 files changed, 3 insertions, 4 deletions
diff --git a/qtx11extras.pro b/qtx11extras.pro
index 318861f..fe127be 100644
--- a/qtx11extras.pro
+++ b/qtx11extras.pro
@@ -1,3 +1,3 @@
-requires(qtHaveModule(widgets))
+requires(qtHaveModule(gui))
load(qt_parts)
diff --git a/src/x11extras/qx11info_x11.cpp b/src/x11extras/qx11info_x11.cpp
index 8295243..9e2cc3b 100644
--- a/src/x11extras/qx11info_x11.cpp
+++ b/src/x11extras/qx11info_x11.cpp
@@ -52,9 +52,8 @@
#include <qpa/qplatformnativeinterface.h>
#include <qpa/qplatformwindow.h>
#include <qscreen.h>
-#include <qdesktopwidget.h>
#include <qwindow.h>
-#include <qapplication.h>
+#include <qguiapplication.h>
#include <xcb/xcb.h>
QT_BEGIN_NAMESPACE
diff --git a/src/x11extras/x11extras.pro b/src/x11extras/x11extras.pro
index 80dc421..730a145 100644
--- a/src/x11extras/x11extras.pro
+++ b/src/x11extras/x11extras.pro
@@ -6,7 +6,7 @@ QMAKE_DOCS = $$PWD/doc/qtx11extras.qdocconf
load(qt_module)
-QT += widgets gui-private
+QT += gui-private
HEADERS += qx11info_x11.h
SOURCES += qx11info_x11.cpp