summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-02-12 15:08:52 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-03-22 15:40:57 +0000
commit8d72aba9e3358fdf51578533ab7f46602f7fd103 (patch)
tree5e6ff0ec0ee399bf343654fc9280012eafa29a3d /examples/examples.pro
parent66e162e8f19f8a1f9b4f96008f2853be7fc1822e (diff)
Introduce QVulkanWindow
A convenience subclass of QWindow that provides a Vulkan-capable window with a double-buffered FIFO swapchain. While advanced use cases are better served by a custom QWindow subclass, many applications can benefit from having a convenient helper that makes getting started easier. Add also three examples of increasing complexity, and a variant that shows embeddeding into widgets via QWindowContainer. [ChangeLog][QtGui] Added QVulkanWindow, a convenience subclass of QWindow. Task-number: QTBUG-55981 Change-Id: I6cdc9ff1390ac6258e278377233fd369a0bfeddc Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index f66c5cbf22..d2ce1fd294 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -15,7 +15,10 @@ SUBDIRS = \
widgets \
xml
-qtHaveModule(gui):qtConfig(opengl): SUBDIRS += opengl
+qtHaveModule(gui) {
+ qtConfig(opengl): SUBDIRS += opengl
+ qtConfig(vulkan): SUBDIRS += vulkan
+}
aggregate.files = aggregate/examples.pro
aggregate.path = $$[QT_INSTALL_EXAMPLES]