8d72aba9e3
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>
13 lines
243 B
Prolog
13 lines
243 B
Prolog
HEADERS += \
|
|
../shared/trianglerenderer.h
|
|
|
|
SOURCES += \
|
|
main.cpp \
|
|
../shared/trianglerenderer.cpp
|
|
|
|
RESOURCES += hellovulkantriangle.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/vulkan/hellovulkantriangle
|
|
INSTALLS += target
|