summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
authorVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-07-29 12:12:07 +0200
committerVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-07-29 12:17:18 +0200
commit2144b21544b8c871477574b896902f4159c74cae (patch)
treec2c57d112199507b3abddcc19354f7a8b35567d2 /app/app.pro
parent54da9d4383a999d2dc2223e7e5215444e04c3f32 (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 "videoplayer" 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 setenv of QT_QUICK_CONTROLS_STYLE to "AGL" to get the AGL styling used. This replaces a global environment variable definition tied to the old app framework, and makes it more obvious that the style is required for the app to properly work. - Remove MediaScaner based on QtWebSockets which was removed from agl-demo-platform Bug-AGL: SPEC-4182 Change-Id: I022217ffc42da41093a55120554237f95e3aa413 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Diffstat (limited to 'app/app.pro')
-rw-r--r--app/app.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/app.pro b/app/app.pro
index 0083bfc..805dd5f 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -1,5 +1,6 @@
+TEMPLATE = app
TARGET = videoplayer
-QT = quick websockets multimedia
+QT = quick multimedia
SOURCES = main.cpp
@@ -7,5 +8,8 @@ RESOURCES += \
videoplayer.qrc \
images/images.qrc
-include(app.pri)
+target.path = /usr/bin
+target.files += $${OUT_PWD}/$${TARGET}
+target.CONFIG = no_check_exist executable
+INSTALLS += target