Surface for QQuickWindow
Unsolved
QML and Qt Quick
-
wrote on 8 Dec 2023, 17:57 last edited by ABest2 12 Aug 2023, 19:58
I am trying to learn Vulkan and extend the Vulkanunderqml example. In order to create a swap chain, I need the VkSurfaceKHR. QVulkaninstance::surfaceForWindow(QWindow *window) requires a QWindow to provide the VKSurfaceKHR and not QQuickWindow. Any suggestions on how to get the VKSurfaceKHR would be appreciated.
-
-
1/1