summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-12-16Update for app framework removalScott Murray1-40/+4
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
2020-06-24app/: Avoid any AGL wrappers and use plain QtMarius Vlad1-19/+48
Removes homescreen/windowmanger requirements from config Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I99a2221e44d04a06b8d3cf412b22e0204a9c89a5
2020-01-17hvac: switch to libqtappfw access for websocket dataicefish_8.99.5icefish/8.99.58.99.5Matt Ranostay1-0/+12
Remove QML processing of websocket data from appfw, and replace with new libqtappfw support. Bug-AGL: SPEC-2984 Change-Id: I0a0a422f25359da48798d3ec5e9948247a83d98e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-05Simplify main.cpphalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.17.90.06.99.46.99.36.99.26.99.1Kazumasa Mitsunari1-90/+5
Adopt qtaglextras to simplify application code Bug-AGL: SPEC-1893, SPEC-1754 Change-Id: I1514f4347d07c603d0d7ec4cedea4e359c0468c6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-30delete application_name check in tap_shortcut eventwang_zhiqiang1-10/+2
because of now homescreen-service emit event to one application, delete the applciation_name check. Bug-AGL: SPEC-1764 Change-Id: I870e93eafb22242aa29dbd6c7ba7d001a219ae3f Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa1-2/+10
This reverts commit f136a3336344a6dc8b84549672acbfe19a296bb0. Bug-AGL: SPEC-1685 Change-Id: Ie9f189fdede28d499dcf68276cd3c6be722bc87c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-10/+2
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: Ibd969e8bc51a5227bfa1e21b3f6b0e92f7a5a3fb Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa1-0/+2
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I26b274d1342471d63acc09433323385afd9f36f3 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-12-29Add basic translation supportTasuku Suzuki1-2/+8
Added French and Japanese translations Change-Id: I58eca5ffaad2367a4dd26b6472bdbcd45c957061 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-27Desktop PC development supportTasuku Suzuki1-39/+54
Add tests if libhomescreen and qlibwindowmanager are available and use them only when they are available. Change-Id: I6b219721b279542bf474f3df34bfb3adbc6e9ff0 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-12-27Apply QtQuickControls2 style from platformTasuku Suzuki1-3/+0
AGL now set its own style through an environment variable. App doesn't need to take care of it any more. Change-Id: Id0d43e7c05328ed5fef0e3cca7c1ddac78e69b3d Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-11-14qlibwindowmanager is now outside of the projecteel_4.99.3eel/4.99.34.99.3Romain Forlot1-9/+6
Change-Id: Ifdabb7a3456ade9449e399a13ec43aac68ded108 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-14Remove debug messagesRomain Forlot1-0/+3
Change-Id: I465e3ed3e4cb6dadd808437133bddb56ed50c72e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-14Porting to new HMI FrameworkRomain Forlot1-15/+43
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: Ifb298e09db821dba5dc1a28ad2d1c2193c511ee9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-12-13add binding initial code in qmlTasuku Suzuki1-0/+30
Change-Id: I0efeb67ff2659a0a01be116ab59947db77ec6574 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-13move hvac app and hvac plugin to new repositoryTasuku Suzuki1-0/+46
$ qmake && make will generate package/hvac.wgt Change-Id: I67057f1f3b511a3af4a22aedd32f6614dc56b503 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>