summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensor_explorer/sensor_explorer.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors/sensor_explorer/sensor_explorer.pro')
-rw-r--r--examples/sensors/sensor_explorer/sensor_explorer.pro26
1 files changed, 21 insertions, 5 deletions
diff --git a/examples/sensors/sensor_explorer/sensor_explorer.pro b/examples/sensors/sensor_explorer/sensor_explorer.pro
index 85ba45ef..a27681e2 100644
--- a/examples/sensors/sensor_explorer/sensor_explorer.pro
+++ b/examples/sensors/sensor_explorer/sensor_explorer.pro
@@ -1,6 +1,22 @@
-TEMPLATE = subdirs
-CONFIG += ordered
+TEMPLATE = app
+TARGET = sensor_explorer
+QT += qml quick sensors
-SUBDIRS = \
- import \
- qml.pro
+# Avoid going to release/debug subdirectory
+win32: DESTDIR = ./
+
+SOURCES = main.cpp sensormodels.cpp
+HEADERS = sensormodels.h
+
+CONFIG += qmltypes
+QML_IMPORT_NAME = SensorModels
+QML_IMPORT_MAJOR_VERSION = 1
+
+OTHER_FILES = \
+ sensor_explorer.qml
+
+target.path = $$[QT_INSTALL_EXAMPLES]/sensors/sensor_explorer
+INSTALLS += target
+
+RESOURCES += \
+ qml.qrc