summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)