diff options
author | Andy Nichols <andy.nichols@digia.com> | 2013-01-31 15:58:14 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@digia.com> | 2013-02-06 14:19:35 +0100 |
commit | 4cbc411f60d17a6d4f4e9d4156146537d5dc2f16 (patch) | |
tree | d73b8d890f9e9e56c988f298f47a20370890bfed /src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro | |
parent | 634c4f6877d63cc30914049989b5cbfd18cd15c3 (diff) |
Overhaul how platform plugins are built
Instead of building only one platform plugin through the use of a
complicated if/else structure, build a plugin for each available
hardware integration type.
Change-Id: If133576515a881274019c1ac5956605f27a9fc40
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro')
-rw-r--r-- | src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro b/src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro new file mode 100644 index 000000000..b691ec9dc --- /dev/null +++ b/src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro @@ -0,0 +1,25 @@ +PLUGIN_TYPE = platforms +load(qt_plugin) + +include(../wayland_common/wayland_common.pri) +include (../xcomposite_share/xcomposite_share.pri) + +OTHER_FILES += qwayland-xcomposite-egl.json + +!contains(QT_CONFIG, no-pkg-config) { + CONFIG += link_pkgconfig + PKGCONFIG += xcomposite egl x11 +} else { + LIBS += -lXcomposite -lEGL -lX11 +} + +SOURCES += \ + qwaylandxcompositeeglcontext.cpp \ + qwaylandxcompositeeglintegration.cpp \ + qwaylandxcompositeeglwindow.cpp \ + main.cpp + +HEADERS += \ + qwaylandxcompositeeglcontext.h \ + qwaylandxcompositeeglintegration.h \ + qwaylandxcompositeeglwindow.h |