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>
This commit is contained in:
Grace Karanja 2015-06-05 07:46:24 +03:00 committed by Dirk Hohndel
parent 315a245868
commit bf882416f9

View file

@ -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