Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95897

QtGui: Vulkan: Hide Vulkan SDK headers from public Qt headers

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.15, 6.x
    • GUI: Vulkan
    • None
    • Windows

    Description

      Currently QtGui's public Vulkan headers such as qvulkaninstance.h contains the header files from the original Vulkan SDK, if the user includes such Qt headers but not use them, he will always get a compilation error if his project does not link against the Vulkan SDK package. And in this case using #QT_CONFIG(vulkan) will not help because the official Qt packages always build with Vulkan support but no vulkan headers are shipped at the same time. It's really inconvenient for users who are developing graphics applications and want to support multiple backends but may not install the Vulkan SDK. So I suggest to hide Vulkan SDK headers from public QtGui headers to avoid such problems.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            wangwenx190 赵 宇航
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes