summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-02-14 18:29:54 -0500
committerScott Murray <scott.murray@konsulko.com>2022-02-14 18:29:54 -0500
commitf932d6da561278df631d0f77ae496a46efe4750f (patch)
tree7afb38f4fb74244006ad7bb74394a97c095cfdc5 /app/app.pro
parent3c8425ae606ea142f227fd7dc9c2bc01def384ad (diff)
Update for app framework removal
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: I7e519aa963f6f22a37d083b2743ad5d42ead9684 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'app/app.pro')
-rw-r--r--app/app.pro17
1 files changed, 9 insertions, 8 deletions
diff --git a/app/app.pro b/app/app.pro
index f497fee..d14bdb6 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -1,17 +1,18 @@
+TEMPLATE = app
TARGET = mediaplayer
-QT = quickcontrols2 websockets
+QT = qml quickcontrols2
+CONFIG += c++11 link_pkgconfig
-SOURCES = main.cpp
-
-CONFIG += link_pkgconfig
PKGCONFIG += qtappfw-mediaplayer
-CONFIG(release, debug|release) {
- QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
-}
+SOURCES = main.cpp
RESOURCES += \
mediaplayer.qrc \
images/images.qrc
-include(app.pri)
+target.path = /usr/bin
+target.files += $${OUT_PWD}/$${TARGET}
+target.CONFIG = no_check_exist executable
+
+INSTALLS += target