doc: Ensure that clangqdoc sees QVulkanInstance decl

clangqdoc must see the declaration in vulkan
regardless of whether Qt is configured with vulkan.

Change-Id: I91fcaa4c39121b70e10c4fc3e854e49d959a6c02
Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
Martin Smith 2017-03-29 10:48:10 +02:00
parent 98ef6c4afa
commit 28d286dc96
4 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@
#include <QtGui/qtguiglobal.h>
#if QT_CONFIG(vulkan)
#if QT_CONFIG(vulkan) || defined(Q_CLANG_QDOC)
#include <qvulkaninstance.h>

View File

@ -42,7 +42,7 @@
#include <QtGui/qtguiglobal.h>
#if QT_CONFIG(vulkan)
#if QT_CONFIG(vulkan) || defined(Q_CLANG_QDOC)
#ifndef VK_NO_PROTOTYPES
#define VK_NO_PROTOTYPES

View File

@ -42,7 +42,7 @@
#include <QtGui/qtguiglobal.h>
#if QT_CONFIG(vulkan)
#if QT_CONFIG(vulkan) || defined(Q_CLANG_QDOC)
#include <QtGui/qvulkaninstance.h>
#include <QtGui/qwindow.h>

View File

@ -42,7 +42,7 @@
#include <QtGui/private/qtguiglobal_p.h>
#if QT_CONFIG(vulkan)
#if QT_CONFIG(vulkan) || defined(Q_CLANG_QDOC)
#include "qvulkanwindow.h"
#include <QtCore/QHash>