summaryrefslogtreecommitdiff
path: root/src/plugins/shellintegration/ivi-shell/ivi-shell.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/shellintegration/ivi-shell/ivi-shell.pro')
-rw-r--r--src/plugins/shellintegration/ivi-shell/ivi-shell.pro31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/plugins/shellintegration/ivi-shell/ivi-shell.pro b/src/plugins/shellintegration/ivi-shell/ivi-shell.pro
new file mode 100644
index 00000000..a21389e4
--- /dev/null
+++ b/src/plugins/shellintegration/ivi-shell/ivi-shell.pro
@@ -0,0 +1,31 @@
+PLUGIN_TYPE = wayland-shell-integration
+load(qt_plugin)
+
+QT += waylandclient-private
+CONFIG += wayland-scanner
+
+!contains(QT_CONFIG, no-pkg-config) {
+ PKGCONFIG += wayland-client wayland-cursor
+ CONFIG += link_pkgconfig
+ contains(QT_CONFIG, glib): PKGCONFIG_PRIVATE += glib-2.0
+} else {
+ LIBS += -lwayland-client -lwayland-cursor $$QT_LIBS_GLIB
+}
+
+WAYLANDCLIENTSOURCES += \
+ ../../../3rdparty/protocol/ivi-application.xml \
+ ../../../3rdparty/protocol/ivi-controller.xml
+
+include(../../../../include/QtWaylandClient/headers.pri)
+
+HEADERS += \
+ qwaylandivishellintegration.h \
+ qwaylandivisurface_p.h
+
+SOURCES += \
+ main.cpp \
+ qwaylandivishellintegration.cpp \
+ qwaylandivisurface.cpp
+
+OTHER_FILES += \
+ ivi-shell.json