summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-02-14 18:32:06 -0500
committerScott Murray <scott.murray@konsulko.com>2022-02-14 18:32:06 -0500
commitbfcc2fa194474a7bc317583072b62c977ae0fc14 (patch)
treebd904ec5183edf3a38d55e6197cf1898eb0c75b6 /app/app.pro
parentf48bbcb2266ebfad46e5cafacfba01c3f6ba3924 (diff)
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "settings" binary and install it into /usr/bin by default. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. - Add initial .desktop file and icon copied from the launcher source tree, and updated .pro files to install them. Bug-AGL: SPEC-4182 Change-Id: I8a8cafc15c1dbe4e65db579bc650a8028c4aa10c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
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