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 | |
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')
-rw-r--r-- | examples/qml/referenceexamples/adding/adding.pro | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/coercion/coercion.pro | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/default/default.pro | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/methods/methods.pro | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/properties/properties.pro | 2 | ||||
-rw-r--r-- | examples/qml/shell/main.cpp | 4 | ||||
-rw-r--r-- | examples/qml/shell/shell.pro | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/examples/qml/referenceexamples/adding/adding.pro b/examples/qml/referenceexamples/adding/adding.pro index 602898f1b8..ae135c7925 100644 --- a/examples/qml/referenceexamples/adding/adding.pro +++ b/examples/qml/referenceexamples/adding/adding.pro @@ -1,4 +1,4 @@ -QT += qml +QT = core qml SOURCES += main.cpp \ person.cpp diff --git a/examples/qml/referenceexamples/coercion/coercion.pro b/examples/qml/referenceexamples/coercion/coercion.pro index 7fca26c15e..373a15fc28 100644 --- a/examples/qml/referenceexamples/coercion/coercion.pro +++ b/examples/qml/referenceexamples/coercion/coercion.pro @@ -1,4 +1,4 @@ -QT += qml +QT = core qml SOURCES += main.cpp \ person.cpp \ diff --git a/examples/qml/referenceexamples/default/default.pro b/examples/qml/referenceexamples/default/default.pro index c43867fc4a..c119ef0d2e 100644 --- a/examples/qml/referenceexamples/default/default.pro +++ b/examples/qml/referenceexamples/default/default.pro @@ -1,4 +1,4 @@ -QT += qml +QT = core qml SOURCES += main.cpp \ person.cpp \ diff --git a/examples/qml/referenceexamples/methods/methods.pro b/examples/qml/referenceexamples/methods/methods.pro index 911a460444..008ba19d96 100644 --- a/examples/qml/referenceexamples/methods/methods.pro +++ b/examples/qml/referenceexamples/methods/methods.pro @@ -1,4 +1,4 @@ -QT += qml +QT = core qml SOURCES += main.cpp \ person.cpp \ diff --git a/examples/qml/referenceexamples/properties/properties.pro b/examples/qml/referenceexamples/properties/properties.pro index 0349d44091..101c878abd 100644 --- a/examples/qml/referenceexamples/properties/properties.pro +++ b/examples/qml/referenceexamples/properties/properties.pro @@ -1,4 +1,4 @@ -QT += qml +QT = core qml SOURCES += main.cpp \ person.cpp \ 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(); diff --git a/examples/qml/shell/shell.pro b/examples/qml/shell/shell.pro index da97590189..9215108e6d 100644 --- a/examples/qml/shell/shell.pro +++ b/examples/qml/shell/shell.pro @@ -1,4 +1,4 @@ -QT += qml +QT = core qml win32: CONFIG += console mac:CONFIG -= app_bundle |