diff options
author | Scott Murray <scott.murray@konsulko.com> | 2021-12-16 16:04:44 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2021-12-16 16:25:15 -0500 |
commit | 95d837913ecb41577980345aeb8a1b3eb710ea2a (patch) | |
tree | fab37d74084c8fcd1a1cd0a9dd1a0721a6a4b572 /app/app.pro | |
parent | b814a465a9583aa81ae7335d7adfd9df54db59cb (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 "hvac" 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.
Bug-AGL: SPEC-4182
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6634a611741b442597dca2978a8dd0a6b6b75341
Diffstat (limited to 'app/app.pro')
-rw-r--r-- | app/app.pro | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/app/app.pro b/app/app.pro index f4ab212..7d3fb4a 100644 --- a/app/app.pro +++ b/app/app.pro @@ -1,24 +1,26 @@ +TEMPLATE = app TARGET = hvac -QT = quick qml websockets +QT = qml quick +CONFIG += c++11 link_pkgconfig + +PKGCONFIG += qtappfw-hvac HEADERS += \ translator.h -SOURCES = main.cpp \ +SOURCES = \ + main.cpp \ translator.cpp -CONFIG += c++11 link_pkgconfig -PKGCONFIG += qtappfw-hvac - -CONFIG(release, debug|release) { - QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET) -} - RESOURCES += \ hvac.qrc \ images/images.qrc -include(app.pri) - LANGUAGES = ja_JP fr_FR include(translations.pri) + +target.path = $${PREFIX}/usr/bin +target.files += $${OUT_PWD}/$${TARGET} +target.CONFIG = no_check_exist executable + +INSTALLS += target |