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

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

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Incomplete
    • Affects Version/s: 5.15, 6.x
    • Fix Version/s: None
    • Component/s: GUI: Vulkan
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            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