summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/heartrate-game.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/heartrate-game/heartrate-game.pro')
-rw-r--r--examples/bluetooth/heartrate-game/heartrate-game.pro32
1 files changed, 24 insertions, 8 deletions
diff --git a/examples/bluetooth/heartrate-game/heartrate-game.pro b/examples/bluetooth/heartrate-game/heartrate-game.pro
index f55053b4..65be3382 100644
--- a/examples/bluetooth/heartrate-game/heartrate-game.pro
+++ b/examples/bluetooth/heartrate-game/heartrate-game.pro
@@ -2,10 +2,9 @@ TEMPLATE = app
TARGET = heartrate-game
QT += qml quick bluetooth
-CONFIG += c++11
CONFIG += qmltypes
-QML_IMPORT_NAME = Shared
+QML_IMPORT_NAME = HeartRateGame
QML_IMPORT_MAJOR_VERSION = 1
HEADERS += \
@@ -23,14 +22,31 @@ SOURCES += main.cpp \
devicehandler.cpp \
bluetoothbaseclass.cpp
+qml_resources.files = \
+ qmldir \
+ App.qml \
+ BluetoothAlarmDialog.qml \
+ BottomLine.qml \
+ Connect.qml \
+ GameButton.qml \
+ GamePage.qml \
+ GameSettings.qml \
+ Measure.qml \
+ SplashScreen.qml \
+ Stats.qml \
+ StatsLabel.qml \
+ TitleBar.qml \
+ Main.qml \
+ images/bt_off_to_on.png \
+ images/heart.png \
+ images/logo.png
+
+qml_resources.prefix = /qt/qml/HeartRateGame
+
+RESOURCES = qml_resources
+
ios: QMAKE_INFO_PLIST = Info.plist
macos: QMAKE_INFO_PLIST = ../shared/Info.qmake.macos.plist
-RESOURCES += qml.qrc \
- images.qrc
-
-# Additional import path used to resolve QML modules in Qt Creator's code model
-QML_IMPORT_PATH =
-
target.path = $$[QT_INSTALL_EXAMPLES]/bluetooth/heartrate-game
INSTALLS += target