From f48bb2aab34273bd5b3cc1f9f9d88afbfb231d6b Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 14 Feb 2022 18:34:58 -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 "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: I479ca8f405f38d36e1f5f531581a07073d40005e Signed-off-by: Scott Murray --- app/app.pro | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'app/app.pro') diff --git a/app/app.pro b/app/app.pro index fa912b4..837399c 100644 --- a/app/app.pro +++ b/app/app.pro @@ -1,18 +1,19 @@ +TEMPLATE = app TARGET = radio -QT = quickcontrols2 +QT = qml quickcontrols2 +CONFIG += c++11 link_pkgconfig -HEADERS = PresetDataObject.h -SOURCES = main.cpp PresetDataObject.cpp - -CONFIG += link_pkgconfig PKGCONFIG += qtappfw-radio -CONFIG(release, debug|release) { - QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET) -} +HEADERS = PresetDataObject.h +SOURCES = main.cpp PresetDataObject.cpp RESOURCES += \ radio.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