Implement selection offers from compositor to clients.
[profile/ivi/qtwayland.git] / src / plugins / platforms / wayland / wayland.pro
1 TARGET = qwayland
2 load(qt_plugin)
3 load(qt_module)
4
5 CONFIG += qpa/genericunixfontdatabase
6
7 DESTDIR = $$QT.gui.plugins/platforms
8
9 DEFINES += Q_PLATFORM_WAYLAND
10 DEFINES += $$QMAKE_DEFINES_WAYLAND
11
12 mac {
13     DEFINES += QT_NO_WAYLAND_XKB
14 }
15
16 QT += core-private gui-private platformsupport-private
17
18 WAYLANDSOURCES += \
19             $$PWD/../../../../extensions/surface-extension.xml \
20             $$PWD/../../../../extensions/sub-surface-extension.xml \
21             $$PWD/../../../../extensions/output-extension.xml \
22             $$PWD/../../../../extensions/touch-extension.xml
23
24 SOURCES =   main.cpp \
25             qwaylandintegration.cpp \
26             qwaylandnativeinterface.cpp \
27             qwaylandshmbackingstore.cpp \
28             qwaylandinputdevice.cpp \
29             qwaylandcursor.cpp \
30             qwaylanddisplay.cpp \
31             qwaylandwindow.cpp \
32             qwaylandscreen.cpp \
33             qwaylandshmwindow.cpp \
34             qwaylandclipboard.cpp \
35             qwaylanddnd.cpp \
36             qwaylanddataoffer.cpp \
37             qwaylanddatadevicemanager.cpp \
38             qwaylanddatasource.cpp \
39             qwaylandshell.cpp \
40             qwaylandshellsurface.cpp \
41             qwaylandextendedoutput.cpp \
42             qwaylandextendedsurface.cpp \
43             qwaylandsubsurface.cpp \
44             qwaylandtouch.cpp \
45             $$PWD/../../../shared/qwaylandmimehelper.cpp
46
47 HEADERS =   qwaylandintegration.h \
48             qwaylandnativeinterface.h \
49             qwaylandcursor.h \
50             qwaylanddisplay.h \
51             qwaylandwindow.h \
52             qwaylandscreen.h \
53             qwaylandshmbackingstore.h \
54             qwaylandbuffer.h \
55             qwaylandshmwindow.h \
56             qwaylandclipboard.h \
57             qwaylanddnd.h \
58             qwaylanddataoffer.h \
59             qwaylanddatadevicemanager.h \
60             qwaylanddatasource.h \
61             qwaylandshell.h \
62             qwaylandshellsurface.h \
63             qwaylandextendedoutput.h \
64             qwaylandextendedsurface.h \
65             qwaylandsubsurface.h \
66             qwaylandtouch.h \
67             $$PWD/../../../shared/qwaylandmimehelper.h
68
69 INCLUDEPATH += $$PWD/../../../shared
70
71 INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND
72
73 LIBS += $$QMAKE_LIBS_WAYLAND
74 mac {
75     LIBS += -lwayland-client
76 }
77
78 QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND
79
80 target.path += $$[QT_INSTALL_PLUGINS]/platforms
81 INSTALLS += target
82
83 include ($$PWD/gl_integration/gl_integration.pri)
84 include ($$PWD/windowmanager_integration/windowmanager_integration.pri)
85