aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/shell/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/shell/main.cpp')
-rw-r--r--examples/qml/shell/main.cpp4
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();