From 3570c2b580508b1cf01a602ec99bbf5836bafb85 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 16 Dec 2021 16:21:37 -0500 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 "dashboard" 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. - Comment out signal-composer code in Dashboard.qml for now, keeping it as an indicator of how the values are updated may be useful. Also remove some leftover screen scaling tweaks as minor cleanup. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray Change-Id: I0ea604cb72aee86990e9584b0cab9577b2cd41e3 --- app/app.pro | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'app/app.pro') diff --git a/app/app.pro b/app/app.pro index 7626359..256506d 100644 --- a/app/app.pro +++ b/app/app.pro @@ -1,24 +1,24 @@ +TEMPLATE = app TARGET = dashboard -QT = quick +QT = qml quick +CONFIG += c++11 link_pkgconfig HEADERS += \ translator.h -SOURCES = main.cpp \ +SOURCES = \ + main.cpp \ translator.cpp -CONFIG += link_pkgconfig -PKGCONFIG += qtappfw-signal-composer - -CONFIG(release, debug|release) { - QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET) -} - RESOURCES += \ dashboard.qrc \ images/images.qrc -include(app.pri) - LANGUAGES = ja_JP fr_FR zh_CN ko_KR include(translations.pri) + +target.path = $${PREFIX}/usr/bin +target.files += $${OUT_PWD}/$${TARGET} +target.CONFIG = no_check_exist executable + +INSTALLS += target -- cgit 1.2.3-korg