summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-04-04 06:51:39 +0200
committerGunnar Sletta <gunnar.sletta@digia.com>2013-04-08 12:46:25 +0200
commit4c4f4c5ca2663234bb987c9dc8ff0f001e38d31e (patch)
treeebd977c778149614ca25e435e5e0ba8a5e175bc2
parent46056fb3903e6f49323b61dee2e1a4a209e05414 (diff)
use qml_module in .pro file
Change-Id: I8932934a0d1cf1fbe6ee85c7c09754998591255f Reviewed-by: Alan Alpert <aalpert@blackberry.com>
-rw-r--r--presentation.pro18
-rw-r--r--src/src.pro10
2 files changed, 12 insertions, 16 deletions
diff --git a/presentation.pro b/presentation.pro
index 6107fb8..dc00040 100644
--- a/presentation.pro
+++ b/presentation.pro
@@ -1,19 +1,5 @@
-TARGETPATH=Qt/labs/presentation
-TEMPLATE=lib
-
-CONFIG += plugin
-
-qmldir.files += \
- src/qmldir \
- src/Clock.qml \
- src/CodeSlide.qml \
- src/Presentation.qml \
- src/Slide.qml \
- src/SlideCounter.qml
-
-qmldir.path += $$[QT_INSTALL_QML]/$$TARGETPATH
-
-INSTALLS += qmldir
+TEMPLATE = subdirs
+SUBDIRS = src
diff --git a/src/src.pro b/src/src.pro
new file mode 100644
index 0000000..bf0330f
--- /dev/null
+++ b/src/src.pro
@@ -0,0 +1,10 @@
+TARGETPATH=Qt/labs/presentation
+
+QML_FILES = \
+ Clock.qml \
+ CodeSlide.qml \
+ Presentation.qml \
+ Slide.qml \
+ SlideCounter.qml
+
+load(qml_module)