X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Flauncher.pro;h=d99b09ce06da8dc79b03e51f3994f4aead64ccd9;hb=20cd96660d4bfb44e0be5695f71a92d5fb53a143;hp=e16e9ce5c1e2e5234717ecdfa20c908b26c9ecc4;hpb=607fdc0374e76a272455cc010f35693ba8b6894b;p=apps%2Flauncher.git diff --git a/launcher/launcher.pro b/launcher/launcher.pro index e16e9ce..d99b09c 100644 --- a/launcher/launcher.pro +++ b/launcher/launcher.pro @@ -15,22 +15,22 @@ 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 += 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/homescreenhandler.h @@ -41,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