TEMPLATE = app
TARGET = launcher
-QT = qml quick websockets
+QT = qml quick gui-private dbus
CONFIG += c++11 link_pkgconfig
-DESTDIR = $${OUT_PWD}/../package/root/bin
-PKGCONFIG += qlibwindowmanager libhomescreen
+DESTDIR = $${OUT_PWD}
+PKGCONFIG += qtappfw-applauncher
CONFIG(release, debug|release) {
QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
}
+DBUS_INTERFACES = $$[QT_SYSROOT]/usr/share/dbus-1/interfaces/org.automotivelinux.AppLaunch.xml
+
SOURCES += \
src/main.cpp \
src/applicationmodel.cpp \
- src/appinfo.cpp \
- src/homescreenhandler.cpp
+ src/appinfo.cpp
HEADERS += \
src/applicationmodel.h \
- src/appinfo.h \
- src/homescreenhandler.h
+ src/appinfo.h
OTHER_FILES += \
README.md
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