summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
Diffstat (limited to 'app/app.pro')
-rw-r--r--app/app.pro23
1 files changed, 14 insertions, 9 deletions
diff --git a/app/app.pro b/app/app.pro
index ae6b62e..4b9d1e2 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -1,18 +1,23 @@
+TEMPLATE = app
TARGET = phone
-QT = quickcontrols2
+QT = qml quickcontrols2
+CONFIG += c++11 link_pkgconfig
-SOURCES = main.cpp phone.cpp fileplayer.cpp
-HEADERS = phone.h numbertype.h fileplayer.h
-
-CONFIG += link_pkgconfig
PKGCONFIG += qtappfw-phone qtappfw-bt-pbap gstreamer-1.0
-CONFIG(release, debug|release) {
- QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
-}
+SOURCES = main.cpp phone.cpp fileplayer.cpp
+HEADERS = phone.h numbertype.h fileplayer.h
RESOURCES += \
phone.qrc \
images/images.qrc
-include(app.pri)
+target.path = /usr/bin
+target.files += $${OUT_PWD}/$${TARGET}
+target.CONFIG = no_check_exist executable
+
+ringtone.path = /usr/share/sounds/ringtones
+ringtone.files = $$_PRO_FILE_PWD_/Phone.wav
+ringtone.CONFIG = no_check_exist
+
+INSTALLS += target ringtone