X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fhomescreen.pro;h=7e93e02883fd28e3e4ee6efe8016613442ae0a73;hb=a920d9537132f3778c137edee8d6741102919787;hp=8baa90d13e3cbcbfb77ac208dbe04b0d524de8c3;hpb=2549937d94e754b6e958a3567513dac081d102b5;p=apps%2Fhomescreen.git diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro index 8baa90d..7e93e02 100644 --- a/homescreen/homescreen.pro +++ b/homescreen/homescreen.pro @@ -14,18 +14,16 @@ # limitations under the License. TEMPLATE = app -TARGET = HomeScreen -QT = qml quick dbus websockets -CONFIG += c++11 link_pkgconfig -DESTDIR = $${OUT_PWD}/../package/root/bin -PKGCONFIG += qlibwindowmanager qtappfw afb-helpers-qt +TARGET = homescreen +QT = qml quick gui-private dbus +CONFIG += c++11 link_pkgconfig wayland-scanner +PKGCONFIG += wayland-client -LIBS += -lhomescreen - -include(../interfaces/interfaces.pri) +DBUS_INTERFACES = $$[QT_SYSROOT]/usr/share/dbus-1/interfaces/org.automotivelinux.AppLaunch.xml SOURCES += \ src/main.cpp \ + src/shell.cpp \ src/statusbarmodel.cpp \ src/statusbarserver.cpp \ src/applicationlauncher.cpp \ @@ -33,6 +31,8 @@ SOURCES += \ src/homescreenhandler.cpp HEADERS += \ + src/shell.h \ + src/constants.h \ src/statusbarmodel.h \ src/statusbarserver.h \ src/applicationlauncher.h \ @@ -50,3 +50,12 @@ RESOURCES += \ qml/images/Status/status.qrc \ qml/images/images.qrc \ qml/qml.qrc + +AGL_SHELL_PATH = $$system(pkg-config --variable=pkgdatadir agl-compositor-0.0.19-protocols) +WAYLANDCLIENTSOURCES += $$AGL_SHELL_PATH/agl-shell.xml + +target.path = $${PREFIX}/usr/bin +target.files += $${OUT_PWD}/$${TARGET} +target.CONFIG = no_check_exist executable + +INSTALLS += target