Remove libhomescreen dependency 77/25877/1 10.92.0 10.93.0 11.91.0 11.92.0 12.90.0 12.90.1 koi/10.92.0 koi/10.93.0 koi_10.92.0 koi_10.93.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin/12.90.1 marlin_12.90.0 marlin_12.90.1
authorScott Murray <scott.murray@konsulko.com>
Thu, 7 Jan 2021 21:14:21 +0000 (16:14 -0500)
committerScott Murray <scott.murray@konsulko.com>
Thu, 7 Jan 2021 21:25:53 +0000 (16:25 -0500)
libhomescreen was still a dependency in the qmake files, and its
header file was being pulled in in main.cpp even though there it is
no longer used, remove usage.  Also remove unneeded homescreen binding
dependency from the config.xml manifest.

Bug-AGL: SPEC-3757

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I488c28999acf872cd1b80374dd68c8d783c725f5

app/app.pri
app/app.pro
app/main.cpp
package/config.xml

index 014646f..f22f540 100644 (file)
@@ -1,12 +1,3 @@
 TEMPLATE = app
 
-load(configure)
-qtCompileTest(libhomescreen)
-
-config_libhomescreen {
-    CONFIG += link_pkgconfig
-    PKGCONFIG += homescreen
-    DEFINES += HAVE_LIBHOMESCREEN
-}
-
 DESTDIR = $${OUT_PWD}/../package/root/bin
index 8236dd5..2ff2519 100644 (file)
@@ -4,7 +4,7 @@ QT = quickcontrols2 websockets
 SOURCES = main.cpp
 
 CONFIG += link_pkgconfig
-PKGCONFIG += libhomescreen qtappfw-network qtappfw-bt qtappfw-voice qtqrcode-quickitem
+PKGCONFIG += qtappfw-network qtappfw-bt qtappfw-voice qtqrcode-quickitem
 
 CONFIG(release, debug|release) {
     QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
index 655690a..40d0d55 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2016 The Qt Company Ltd.
- * Copyright (C) 2017 Konsulko Group
+ * Copyright (C) 2017,2020 Konsulko Group
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -25,7 +25,6 @@
 #include <QtQuickControls2/QQuickStyle>
 #include <QQuickWindow>
 #include <QtQrCodeQuickItem.hpp>
-#include <libhomescreen.hpp>
 #include <bluetooth.h>
 #include <network.h>
 #include <voice.h>
index f4427ff..aa5c637 100644 (file)
@@ -7,7 +7,6 @@
   <author>Tasuku Suzuki &lt;tasuku.suzuki@qt.io&gt;</author>
   <license>APL 2.0</license>
   <feature name="urn:AGL:widget:required-api">
-    <param name="homescreen" value="ws" />
     <param name="network-manager" value="ws" />
     <param name="Bluetooth-Manager" value="ws" />
     <param name="vshl-core" value="ws" />