summaryrefslogtreecommitdiff
path: root/qtwayland.pro
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2013-01-31 12:25:06 +0100
committerAndy Nichols <andy.nichols@digia.com>2013-02-01 10:02:41 +0100
commitb0582106afe1ebb8a77c6d442966f76bde40f092 (patch)
treea59e93a884543cef702702d8bab600e926b47fac /qtwayland.pro
parent5d188139d3f9d8aeaca10a941c7fb177c709a0c0 (diff)
downloadqtwayland-b0582106afe1ebb8a77c6d442966f76bde40f092.tar.gz
Require xkbcommon and wayland-scanner to build
Change-Id: I83066c632c5dec9599d7261a2f353ef4749a19da Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
Diffstat (limited to 'qtwayland.pro')
-rw-r--r--qtwayland.pro17
1 files changed, 15 insertions, 2 deletions
diff --git a/qtwayland.pro b/qtwayland.pro
index 40c62954..ee0e5ac1 100644
--- a/qtwayland.pro
+++ b/qtwayland.pro
@@ -1,10 +1,11 @@
load(configure)
qtCompileTest(wayland)
qtCompileTest(xkbcommon)
-qtCompileTest(brcm_egl)
+qtCompileTest(wayland_scanner)
+qtCompileTest(wayland_egl)
qtCompileTest(egl)
+qtCompileTest(brcm_egl)
qtCompileTest(glx)
-qtCompileTest(wayland_egl)
qtCompileTest(xcomposite)
load(qt_parts)
@@ -12,3 +13,15 @@ load(qt_parts)
!config_wayland {
error(QtWayland requires Wayland 1.0.0 or higher)
}
+
+!config_xkbcommon {
+ error(QtWayland requires xkbcommon 0.2.0 or higher)
+}
+
+!config_wayland_scanner {
+ error(QtWayland requires wayland-scanner)
+}
+
+!config_wayland_egl {
+ message("no wayland-egl support detected, cross-toolkit compatibility disabled");
+}