From 2144b21544b8c871477574b896902f4159c74cae Mon Sep 17 00:00:00 2001 From: Vasyl Vavrychuk Date: Fri, 29 Jul 2022 12:12:07 +0200 Subject: 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 --- app/app.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/app.pro') 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 -- cgit 1.2.3-korg