Merge branch 'refactor'
[profile/ivi/qtwayland.git] / src / plugins / platforms / wayland / wayland.pro
1 TARGET = qwayland
2 load(qt_plugin)
3
4 CONFIG += qpa/genericunixfontdatabase
5
6 DESTDIR = $$QT.gui.plugins/platforms
7
8 DEFINES += Q_PLATFORM_WAYLAND
9 DEFINES += $$QMAKE_DEFINES_WAYLAND
10
11 mac {
12     DEFINES += QT_NO_WAYLAND_XKB
13 }
14
15 QT += core-private gui-private opengl-private platformsupport-private
16
17 SOURCES =   main.cpp \
18             qwaylandintegration.cpp \
19             qwaylandnativeinterface.cpp \
20             qwaylandshmbackingstore.cpp \
21             qwaylandinputdevice.cpp \
22             qwaylandcursor.cpp \
23             qwaylanddisplay.cpp \
24             qwaylandwindow.cpp \
25             qwaylandscreen.cpp \
26             qwaylandshmwindow.cpp \
27             qwaylandclipboard.cpp \
28             qwaylanddnd.cpp \
29             qwaylandmime.cpp
30
31 HEADERS =   qwaylandintegration.h \
32             qwaylandnativeinterface.h \
33             qwaylandcursor.h \
34             qwaylanddisplay.h \
35             qwaylandwindow.h \
36             qwaylandscreen.h \
37             qwaylandshmbackingstore.h \
38             qwaylandbuffer.h \
39             qwaylandshmwindow.h \
40             qwaylandclipboard.h \
41             qwaylanddnd.h \
42             qwaylandmime.h
43
44 INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND
45 LIBS += $$QMAKE_LIBS_WAYLAND
46 mac {
47     LIBS += -lwayland-client
48 }
49
50 QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND
51
52 target.path += $$[QT_INSTALL_PLUGINS]/platforms
53 INSTALLS += target
54
55 include ($$PWD/gl_integration/gl_integration.pri)
56 include ($$PWD/windowmanager_integration/windowmanager_integration.pri)