X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Flauncher.pro;h=674a0d90c5ecd2cf7210bb566f524125870565f2;hb=4be88c049f31b7659e09223857b92ca531835039;hp=e16e9ce5c1e2e5234717ecdfa20c908b26c9ecc4;hpb=5560ed2ad3247dd7ffb73402fd435cd79f62f8a5;p=apps%2Flauncher.git diff --git a/launcher/launcher.pro b/launcher/launcher.pro index e16e9ce..674a0d9 100644 --- a/launcher/launcher.pro +++ b/launcher/launcher.pro @@ -15,25 +15,23 @@ 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 libhomescreen +DESTDIR = $${OUT_PWD} +PKGCONFIG += qtappfw-applauncher -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 + src/appinfo.cpp HEADERS += \ - src/applicationlauncher.h \ src/applicationmodel.h \ - src/appinfo.h \ - src/homescreenhandler.h + src/appinfo.h OTHER_FILES += \ README.md @@ -41,3 +39,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