summaryrefslogtreecommitdiff
path: root/examples/declarative/cppextensions/referenceexamples
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/cppextensions/referenceexamples')
-rw-r--r--examples/declarative/cppextensions/referenceexamples/adding/adding.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/attached/attached.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/binding/binding.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/coercion/coercion.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/default/default.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/extended/extended.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/grouped/grouped.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/methods/methods.pro5
-rw-r--r--examples/declarative/cppextensions/referenceexamples/properties/properties.pro5
-rw-r--r--examples/declarative/cppextensions/referenceexamples/signal/signal.pro6
-rw-r--r--examples/declarative/cppextensions/referenceexamples/valuesource/valuesource.pro6
11 files changed, 9 insertions, 55 deletions
diff --git a/examples/declarative/cppextensions/referenceexamples/adding/adding.pro b/examples/declarative/cppextensions/referenceexamples/adding/adding.pro
index 20cfa49031..1a972926b7 100644
--- a/examples/declarative/cppextensions/referenceexamples/adding/adding.pro
+++ b/examples/declarative/cppextensions/referenceexamples/adding/adding.pro
@@ -1,14 +1,10 @@
-TEMPLATE = app
-TARGET = adding
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp
HEADERS += person.h
RESOURCES += adding.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/adding
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS adding.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/adding
diff --git a/examples/declarative/cppextensions/referenceexamples/attached/attached.pro b/examples/declarative/cppextensions/referenceexamples/attached/attached.pro
index d9e9524acb..4cfd4e0aed 100644
--- a/examples/declarative/cppextensions/referenceexamples/attached/attached.pro
+++ b/examples/declarative/cppextensions/referenceexamples/attached/attached.pro
@@ -1,16 +1,12 @@
-TEMPLATE = app
-TARGET = attached
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += attached.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/attached
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS attached.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/attached
diff --git a/examples/declarative/cppextensions/referenceexamples/binding/binding.pro b/examples/declarative/cppextensions/referenceexamples/binding/binding.pro
index 1d26d33434..2add33fa47 100644
--- a/examples/declarative/cppextensions/referenceexamples/binding/binding.pro
+++ b/examples/declarative/cppextensions/referenceexamples/binding/binding.pro
@@ -1,10 +1,5 @@
-TEMPLATE = app
-TARGET = binding
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp \
@@ -12,6 +7,7 @@ SOURCES += main.cpp \
HEADERS += person.h \
birthdayparty.h \
happybirthdaysong.h
+
RESOURCES += binding.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/binding
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS binding.pro
diff --git a/examples/declarative/cppextensions/referenceexamples/coercion/coercion.pro b/examples/declarative/cppextensions/referenceexamples/coercion/coercion.pro
index 2dfb29b05f..742b85b683 100644
--- a/examples/declarative/cppextensions/referenceexamples/coercion/coercion.pro
+++ b/examples/declarative/cppextensions/referenceexamples/coercion/coercion.pro
@@ -1,16 +1,12 @@
-TEMPLATE = app
-TARGET = coercion
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += coercion.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/coercion
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS coercion.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/coercion
diff --git a/examples/declarative/cppextensions/referenceexamples/default/default.pro b/examples/declarative/cppextensions/referenceexamples/default/default.pro
index 738c9fddf9..6533cdd7d3 100644
--- a/examples/declarative/cppextensions/referenceexamples/default/default.pro
+++ b/examples/declarative/cppextensions/referenceexamples/default/default.pro
@@ -1,16 +1,12 @@
-TEMPLATE = app
-TARGET = default
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += default.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/default
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS default.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/default
diff --git a/examples/declarative/cppextensions/referenceexamples/extended/extended.pro b/examples/declarative/cppextensions/referenceexamples/extended/extended.pro
index 78585f6906..3d9f59c470 100644
--- a/examples/declarative/cppextensions/referenceexamples/extended/extended.pro
+++ b/examples/declarative/cppextensions/referenceexamples/extended/extended.pro
@@ -1,14 +1,10 @@
-TEMPLATE = app
-TARGET = extended
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative widgets
-# Input
SOURCES += main.cpp \
lineedit.cpp
HEADERS += lineedit.h
RESOURCES += extended.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/extended
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extended.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/extended
diff --git a/examples/declarative/cppextensions/referenceexamples/grouped/grouped.pro b/examples/declarative/cppextensions/referenceexamples/grouped/grouped.pro
index b78c6ca4b8..aab0c8469a 100644
--- a/examples/declarative/cppextensions/referenceexamples/grouped/grouped.pro
+++ b/examples/declarative/cppextensions/referenceexamples/grouped/grouped.pro
@@ -1,16 +1,12 @@
-TEMPLATE = app
-TARGET = grouped
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += grouped.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/grouped
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS grouped.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/grouped
diff --git a/examples/declarative/cppextensions/referenceexamples/methods/methods.pro b/examples/declarative/cppextensions/referenceexamples/methods/methods.pro
index 43fa92ced1..ee28355188 100644
--- a/examples/declarative/cppextensions/referenceexamples/methods/methods.pro
+++ b/examples/declarative/cppextensions/referenceexamples/methods/methods.pro
@@ -1,10 +1,5 @@
-TEMPLATE = app
-TARGET = methods
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
diff --git a/examples/declarative/cppextensions/referenceexamples/properties/properties.pro b/examples/declarative/cppextensions/referenceexamples/properties/properties.pro
index 7810877e6e..936d0ea429 100644
--- a/examples/declarative/cppextensions/referenceexamples/properties/properties.pro
+++ b/examples/declarative/cppextensions/referenceexamples/properties/properties.pro
@@ -1,10 +1,5 @@
-TEMPLATE = app
-TARGET = properties
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
diff --git a/examples/declarative/cppextensions/referenceexamples/signal/signal.pro b/examples/declarative/cppextensions/referenceexamples/signal/signal.pro
index e823ae8842..8ffdb50f90 100644
--- a/examples/declarative/cppextensions/referenceexamples/signal/signal.pro
+++ b/examples/declarative/cppextensions/referenceexamples/signal/signal.pro
@@ -1,16 +1,12 @@
-TEMPLATE = app
-TARGET = signal
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += signal.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/signal
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS signal.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/signal
diff --git a/examples/declarative/cppextensions/referenceexamples/valuesource/valuesource.pro b/examples/declarative/cppextensions/referenceexamples/valuesource/valuesource.pro
index 6a838e9d28..a978d8452a 100644
--- a/examples/declarative/cppextensions/referenceexamples/valuesource/valuesource.pro
+++ b/examples/declarative/cppextensions/referenceexamples/valuesource/valuesource.pro
@@ -1,10 +1,5 @@
-TEMPLATE = app
-TARGET = valuesource
-DEPENDPATH += .
-INCLUDEPATH += .
QT += declarative
-# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp \
@@ -13,6 +8,7 @@ HEADERS += person.h \
birthdayparty.h \
happybirthdaysong.h
RESOURCES += valuesource.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/valuesource
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS valuesource.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/valuesource