aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/vulkanunderqml
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-10-08 10:32:27 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-10-10 09:54:22 +0200
commitaf623414ece84e0f9cd0d56f0dd22d155851098c (patch)
tree41248c8fab4d8612712ac3e09450f86771342fcb /examples/quick/scenegraph/vulkanunderqml
parent3fde977a817498817e98ce350d493658b0ed4458 (diff)
Add guards in .pro of platform/api-specific scenegraph examples
Task-number: QTBUG-78783 Change-Id: Icda60d4358c35de311552fd7562c3cf0c3425b7b Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/vulkanunderqml')
-rw-r--r--examples/quick/scenegraph/vulkanunderqml/vulkanunderqml.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/vulkanunderqml/vulkanunderqml.pro b/examples/quick/scenegraph/vulkanunderqml/vulkanunderqml.pro
index 9a0a87c9f0..9ea57b91c3 100644
--- a/examples/quick/scenegraph/vulkanunderqml/vulkanunderqml.pro
+++ b/examples/quick/scenegraph/vulkanunderqml/vulkanunderqml.pro
@@ -1,3 +1,5 @@
+!qtConfig(vulkan): error("This example requires Qt built with Vulkan support")
+
QT += qml quick
HEADERS += vulkansquircle.h