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:
parent
315a245868
commit
bf882416f9
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user