projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04011a
)
the shell example and a bunch of reference examples need no QtGui
author
Oswald Buddenhagen
<oswald.buddenhagen@digia.com>
Tue, 18 Feb 2014 13:38:43 +0000
(14:38 +0100)
committer
The Qt Project
<gerrit-noreply@qt-project.org>
Fri, 21 Feb 2014 16:43:19 +0000
(17:43 +0100)
Task-number: QTBUG-36893
Change-Id: I51e402c90bd727cd3066788e0864e887ab8cb9e4
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
examples/qml/referenceexamples/adding/adding.pro
patch
|
blob
|
history
examples/qml/referenceexamples/coercion/coercion.pro
patch
|
blob
|
history
examples/qml/referenceexamples/default/default.pro
patch
|
blob
|
history
examples/qml/referenceexamples/methods/methods.pro
patch
|
blob
|
history
examples/qml/referenceexamples/properties/properties.pro
patch
|
blob
|
history
examples/qml/shell/main.cpp
patch
|
blob
|
history
examples/qml/shell/shell.pro
patch
|
blob
|
history
diff --git
a/examples/qml/referenceexamples/adding/adding.pro
b/examples/qml/referenceexamples/adding/adding.pro
index
602898f
..
ae135c7
100644
(file)
--- 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
7fca26c
..
373a15f
100644
(file)
--- 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
c43867f
..
c119ef0
100644
(file)
--- 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
911a460
..
008ba19
100644
(file)
--- 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
0349d44
..
101c878
100644
(file)
--- 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
4570102
..
4e8e57a
100644
(file)
--- 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 <Qt
Gui/QGui
Application>
+#include <Qt
Core/QCore
Application>
#include <QtQml/qjsengine.h>
@@
-95,7
+95,7
@@
static void interactive(QJSEngine *eng)
int main(int argc, char *argv[])
{
- Q
Gui
Application app(argc, argv);
+ Q
Core
Application 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
da97590
..
9215108
100644
(file)
--- 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