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 <paul.wicking@qt.io>
bb10
Laszlo Agocs 2020-06-25 09:53:47 +02:00
parent 88cfcd7f3f
commit b62f32a4dd
1 changed files with 4 additions and 0 deletions

View File

@ -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 <QtCore/qhashfunctions.h>