Remove dependency on old application framework and wayland
[apps/launcher.git] / launcher / launcher.pro
index 7fd1319..d99b09c 100644 (file)
@@ -1,5 +1,5 @@
 # Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
-# Copyright (c) 2018 TOYOTA MOTOR CORPORATION
+# Copyright (c) 2018,2019 TOYOTA MOTOR CORPORATION
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 
 TEMPLATE = app
 TARGET = launcher
-QT = qml quick dbus websockets
+QT = qml quick gui-private
 CONFIG += c++11 link_pkgconfig
-DESTDIR = $${OUT_PWD}/../package/root/bin
-PKGCONFIG += qlibwindowmanager qlibhomescreen
+DESTDIR = $${OUT_PWD}
+PKGCONFIG += json-c
 
-include(../interfaces/interfaces.pri)
+CONFIG(release, debug|release) {
+    QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
+}
 
 SOURCES += \
     src/main.cpp \
     src/applicationmodel.cpp \
     src/appinfo.cpp \
-    src/applicationlauncher.cpp
+    src/homescreenhandler.cpp
 
 HEADERS  += \
-    src/applicationlauncher.h \
     src/applicationmodel.h \
-    src/appinfo.h
+    src/appinfo.h \
+    src/homescreenhandler.h
 
 OTHER_FILES += \
     README.md
@@ -39,3 +41,9 @@ OTHER_FILES += \
 RESOURCES += \
     qml/images/images.qrc \
     qml/qml.qrc
+
+target.path = $${PREFIX}/usr/bin
+target.files += $${OUT_PWD}/$${TARGET}
+target.CONFIG = no_check_exist executable
+
+INSTALLS += target