summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-06-05 07:46:24 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-20 14:25:09 -0700
commitbf882416f92fef648f8951a55b4b06dacf56bc3b (patch)
treef89d984da1a142cb0f0a02976ead9c129e3af37b /qt-gui.cpp
parent315a245868683819031bdefc2e5c8f117b62028d (diff)
downloadsubsurface-bf882416f92fef648f8951a55b4b06dacf56bc3b.tar.gz
Only include Qt Quick when on mobile
In qt-gui.cpp, move the Qt Quick includes so that they will only be used when on cmake SUBSURFACE_MOBILE is True. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index ed893c12e..9b6c1051c 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -10,12 +10,12 @@
#include <QNetworkProxy>
#include <QLibraryInfo>
-#include <QQuickWindow>
-#include <QQmlApplicationEngine>
#include "qt-gui.h"
#ifdef SUBSURFACE_MOBILE
+ #include <QQuickWindow>
+ #include <QQmlApplicationEngine>
#include "qt-mobile/qmlmanager.h"
#endif