From 25a46893782979c74f57ab725b1ce55fbfc4fa2f Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Mon, 12 Aug 2019 16:03:33 +0200 Subject: Fix the build when libs didn't get built MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I641a1a80edd0861049d079422eef28b095fc26b3 Reviewed-by: Tony Sarajärvi --- examples/wayland/wayland.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'examples/wayland') diff --git a/examples/wayland/wayland.pro b/examples/wayland/wayland.pro index b9e4263e7..5551b5703 100644 --- a/examples/wayland/wayland.pro +++ b/examples/wayland/wayland.pro @@ -1,7 +1,11 @@ -requires(qtHaveModule(waylandcompositor)) -requires(qtConfig(opengl)) TEMPLATE=subdirs +!qtHaveModule(waylandcompositor): \ + return() + +!qtConfig(opengl): \ + return() + SUBDIRS += \ qwindow-compositor \ minimal-cpp -- cgit v1.2.3