X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fplugins%2Fplatforms%2Fwayland%2Fwayland.pro;h=a3ad15d1deeb43b59d55195906214bf2653ae4e3;hb=d458c31998f5e4fcf85cf31e4b9033fd18f77052;hp=face8609339d9d5a33bb5170d54ecf1d460c261a;hpb=b9d29b182e634e647cf01201e26563eda5c42e17;p=profile%2Fivi%2Fqtwayland.git diff --git a/src/plugins/platforms/wayland/wayland.pro b/src/plugins/platforms/wayland/wayland.pro index face860..a3ad15d 100644 --- a/src/plugins/platforms/wayland/wayland.pro +++ b/src/plugins/platforms/wayland/wayland.pro @@ -1,58 +1,85 @@ TARGET = qwayland -include(../../qpluginbase.pri) +load(qt_plugin) +load(qt_module) -QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms +CONFIG += qpa/genericunixfontdatabase + +DESTDIR = $$QT.gui.plugins/platforms DEFINES += Q_PLATFORM_WAYLAND DEFINES += $$QMAKE_DEFINES_WAYLAND +mac { + DEFINES += QT_NO_WAYLAND_XKB +} + +QT += core-private gui-private platformsupport-private + +WAYLANDSOURCES += \ + $$PWD/../../../../extensions/surface-extension.xml \ + $$PWD/../../../../extensions/sub-surface-extension.xml \ + $$PWD/../../../../extensions/output-extension.xml \ + $$PWD/../../../../extensions/touch-extension.xml + SOURCES = main.cpp \ qwaylandintegration.cpp \ - qwaylandshmsurface.cpp \ + qwaylandnativeinterface.cpp \ + qwaylandshmbackingstore.cpp \ qwaylandinputdevice.cpp \ qwaylandcursor.cpp \ qwaylanddisplay.cpp \ qwaylandwindow.cpp \ qwaylandscreen.cpp \ - qwaylandshmwindow.cpp + qwaylandshmwindow.cpp \ + qwaylandclipboard.cpp \ + qwaylanddnd.cpp \ + qwaylanddataoffer.cpp \ + qwaylanddatadevicemanager.cpp \ + qwaylanddatasource.cpp \ + qwaylandshell.cpp \ + qwaylandshellsurface.cpp \ + qwaylandextendedoutput.cpp \ + qwaylandextendedsurface.cpp \ + qwaylandsubsurface.cpp \ + qwaylandtouch.cpp \ + $$PWD/../../../shared/qwaylandmimehelper.cpp HEADERS = qwaylandintegration.h \ + qwaylandnativeinterface.h \ qwaylandcursor.h \ qwaylanddisplay.h \ qwaylandwindow.h \ qwaylandscreen.h \ - qwaylandshmsurface.h \ - qwaylanddrmsurface.h \ + qwaylandshmbackingstore.h \ qwaylandbuffer.h \ - qwaylandinclude.h \ - qwaylandeglwindow.h \ - qwaylandshmwindow.h - -INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND -LIBS += $$QMAKE_LIBS_WAYLAND -QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND + qwaylandshmwindow.h \ + qwaylandclipboard.h \ + qwaylanddnd.h \ + qwaylanddataoffer.h \ + qwaylanddatadevicemanager.h \ + qwaylanddatasource.h \ + qwaylandshell.h \ + qwaylandshellsurface.h \ + qwaylandextendedoutput.h \ + qwaylandextendedsurface.h \ + qwaylandsubsurface.h \ + qwaylandtouch.h \ + $$PWD/../../../shared/qwaylandmimehelper.h -contains(QT_CONFIG, opengles2) { - QT += opengl - LIBS += -lwayland-egl -lEGL +INCLUDEPATH += $$PWD/../../../shared - SOURCES += qwaylanddrmsurface.cpp \ - qwaylandglcontext.cpp \ - ../eglconvenience/qeglconvenience.cpp \ - qwaylandeglwindow.cpp - - HEADERS += qwaylandglcontext.h \ - ../eglconvenience/qeglconvenience.h \ - - DEFINES += QT_WAYLAND_GL_SUPPORT -} +INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND -unix:isEmpty(QMAKE_INCDIR_WAYLAND) { - CONFIG += link_pkgconfig - PKGCONFIG += libdrm +LIBS += $$QMAKE_LIBS_WAYLAND +mac { + LIBS += -lwayland-client } -include (../fontdatabases/genericunix/genericunix.pri) +QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND target.path += $$[QT_INSTALL_PLUGINS]/platforms INSTALLS += target + +include ($$PWD/gl_integration/gl_integration.pri) +include ($$PWD/windowmanager_integration/windowmanager_integration.pri) +