2-04 QtHelloWindow

Keywords: Qt, QVulkanWindow, QVulkanWindowRenderer.

Link to Repo: 2-04 QtHelloWindow.

Introduction

This example is used to illustrate how to combine Qt and Vulkan together. Qt has its own abstration of VkInstance, Frame Buffer and Swapchain, which can significantly simpilfy the development process by comparing to glfw. However, it uses dynamic load of Vulkan’s functions and it has its own preprocessor and development environment. So, we need to take care of them if we don’t use the Qt Creator.

An Example Output

../_images/qtHelloWindow.gif

Reference