summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-23 13:52:38 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-23 13:53:18 +0200
commitdcffd9c25ffb275a7ea9c594d9b4c7515db5eac3 (patch)
tree62da4b125da5361a2ec228871741256787330220 /src/gui/kernel
parent1894da818656dd69a1309ecb7ce7ff816481ecfa (diff)
Compile fix for -qpa/Linux.
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qguiapplication.cpp1
-rw-r--r--src/gui/kernel/qsessionmanager.h2
-rw-r--r--src/gui/kernel/qsessionmanager_qpa.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp
index c809e772c4..f2d13d47a2 100644
--- a/src/gui/kernel/qguiapplication.cpp
+++ b/src/gui/kernel/qguiapplication.cpp
@@ -44,6 +44,7 @@
#include "private/qguiapplication_p.h"
#include "private/qplatformintegrationfactory_qpa_p.h"
#include "private/qevent_p.h"
+#include "qfont.h"
#if !defined(QT_NO_GLIB)
#include "qeventdispatcher_glib_qpa_p.h"
diff --git a/src/gui/kernel/qsessionmanager.h b/src/gui/kernel/qsessionmanager.h
index 66ca0b8282..f2163aed38 100644
--- a/src/gui/kernel/qsessionmanager.h
+++ b/src/gui/kernel/qsessionmanager.h
@@ -55,6 +55,8 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
+class QGuiApplication;
+
class QSessionManagerPrivate;
class Q_GUI_EXPORT QSessionManager : public QObject
diff --git a/src/gui/kernel/qsessionmanager_qpa.cpp b/src/gui/kernel/qsessionmanager_qpa.cpp
index 1b4e6a612b..16fca631e0 100644
--- a/src/gui/kernel/qsessionmanager_qpa.cpp
+++ b/src/gui/kernel/qsessionmanager_qpa.cpp
@@ -40,6 +40,7 @@
****************************************************************************/
#include <qsessionmanager.h>
+#include <qguiapplication.h>
#include <private/qobject_p.h>