From b62f32a4dd87010e4c51d33ef440e2fbba531361 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 25 Jun 2020 09:53:47 +0200 Subject: [PATCH] Make qdoc generate usable docs for QVulkanInstance It is not just that the unknown native types (e.g. VkInstance) lead to showing the type as 'int' in some functions, the bigger problem was that a number of functions were not present in the generated documentation at all. Pick-to: 5.15 Change-Id: Id71fe20c3a70a8d3b75bbc693a2a7ee94bb74642 Reviewed-by: Paul Wicking --- src/gui/vulkan/qvulkaninstance.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/vulkan/qvulkaninstance.h b/src/gui/vulkan/qvulkaninstance.h index ea0b04da95..9d7ca783b6 100644 --- a/src/gui/vulkan/qvulkaninstance.h +++ b/src/gui/vulkan/qvulkaninstance.h @@ -58,6 +58,10 @@ typedef void* PFN_vkVoidFunction; typedef unsigned long VkSurfaceKHR; typedef unsigned long VkImage; typedef unsigned long VkImageView; +typedef void* VkInstance; +typedef void* VkPhysicalDevice; +typedef void* VkDevice; +typedef int VkResult; #endif #include