summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-12-16 16:49:22 -0500
committerScott Murray <scott.murray@konsulko.com>2021-12-16 16:53:08 -0500
commit8b8c003e0be89baef3715c7f905ba32213bdb853 (patch)
tree143ecba776377a86527caaf2750a66fd22160db1 /app/app.pro
parentff0e7f9777118469203fe48663f4226d82ecc58b (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. - Tweak the Bluetooth QML to call into the new start call in the libqtappfw-bt Bluetooth object that replaces the previous WebSocket onConnected hook. - Remove the voice related code as it is not likely to be re-enabled anytime soon. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8d3272b62aa403a71adadd26c545c1ed33281e5f
Diffstat (limited to 'app/app.pro')
-rw-r--r--app/app.pro22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/app.pro b/app/app.pro
index 2ff2519..3a14c80 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -1,14 +1,11 @@
+TEMPLATE = app
TARGET = settings
-QT = quickcontrols2 websockets
+QT = qml quickcontrols2
+CONFIG += c++11 link_pkgconfig
-SOURCES = main.cpp
-
-CONFIG += link_pkgconfig
-PKGCONFIG += qtappfw-network qtappfw-bt qtappfw-voice qtqrcode-quickitem
+PKGCONFIG += qtappfw-network qtappfw-bt
-CONFIG(release, debug|release) {
- QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
-}
+SOURCES = main.cpp
RESOURCES += \
settings.qrc \
@@ -17,7 +14,10 @@ RESOURCES += \
wifi/wifi.qrc \
wired/wired.qrc \
bluetooth/bluetooth.qrc \
- version/version.qrc \
- voice/voice.qrc
+ version/version.qrc
+
+target.path = $${PREFIX}/usr/bin
+target.files += $${OUT_PWD}/$${TARGET}
+target.CONFIG = no_check_exist executable
-include(app.pri)
+INSTALLS += target