diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-02-18 14:38:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-21 17:43:19 +0100 |
commit | 4ff32bdc505054cf73fdd55783391fdf628fe29e (patch) | |
tree | 11267e7e518110483260bc4016aa9be1364d79a7 /examples/qml/shell/main.cpp | |
parent | f04011afa242f3c63b6670143a38093dc8d40a46 (diff) |
the shell example and a bunch of reference examples need no QtGui
Task-number: QTBUG-36893
Change-Id: I51e402c90bd727cd3066788e0864e887ab8cb9e4
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'examples/qml/shell/main.cpp')
-rw-r--r-- | examples/qml/shell/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/shell/main.cpp b/examples/qml/shell/main.cpp index 45701027f4..4e8e57ab17 100644 --- a/examples/qml/shell/main.cpp +++ b/examples/qml/shell/main.cpp @@ -44,7 +44,7 @@ #include <QtCore/qstringlist.h> #include <QtCore/qscopedpointer.h> -#include <QtGui/QGuiApplication> +#include <QtCore/QCoreApplication> #include <QtQml/qjsengine.h> @@ -95,7 +95,7 @@ static void interactive(QJSEngine *eng) int main(int argc, char *argv[]) { - QGuiApplication app(argc, argv); + QCoreApplication app(argc, argv); QScopedPointer<QJSEngine> eng(new QJSEngine()); { QJSValue globalObject = eng->globalObject(); |