summaryrefslogtreecommitdiff
path: root/src
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 /src
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>
Diffstat (limited to 'src')
-rw-r--r--src/x11extras/qx11info_x11.cpp3
-rw-r--r--src/x11extras/x11extras.pro2
2 files changed, 2 insertions, 3 deletions
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