Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cannot find feature windows_vulkan_sdk

Cannot find feature windows_vulkan_sdk

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 4 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bill_2019
    wrote on last edited by
    #1

    When running qmake I get the following error:

    ../windows-vulkan.conf:1: Cannont find feature windows_vulkan_sdk

    Does anyone know how to fix this error?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Qt Vulkan related information can be found here in the documentation.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • B Offline
        B Offline
        Bill_2019
        wrote on last edited by
        #3

        Thanks for the information. Have installed the Vulkan SDK in Windows and still get the same error.

        Found that this user has the same error that I am having:
        https://github.com/msys2/MSYS2-packages/issues/1681

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Did you check that the environment variable is set properly ?
          Do you have it in your project's environment variable ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • B Offline
            B Offline
            Bill_2019
            wrote on last edited by
            #5

            Installed the vulkan sdk and now have the following in my mingw32 shell environment:

            VK_SDK_PATH=C:\VulkanSDK\1.1.121.2
            VULKAN_SDK=C:\VulkanSDK\1.1.121.2

            Using the folloiwng version of qmake and qt:

            $ qmake --version
            QMake version 3.1
            Using Qt version 5.12.4 in C:/msys64/mingw32/lib

            I installed qt in msys shell using:
            pacman -S mingw-w64-i686-qt5-static

            If I call "$ qmake" in the mingw32 shell, I get:

            C:/msys64/mingw32/share/qt5/mkspecs/common/windows-vulkan.conf:1: Cannot find feature windows_vulkan_sdk

            Opening the file "windows-vulkan.conf" I have:

            load(windows_vulkan_sdk)
            QMAKE_LIBS_VULKAN =

            Should "QMAKE_LIBS_VULKAN" be set to something?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              I think you are experiencing QTBUG-76660.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • B Offline
                B Offline
                Bill_2019
                wrote on last edited by
                #7

                Fix worked great, was able to generate the makefiles I needed.

                In \msys64\mingw32\qt5-static\share\qt5\mkspecs\common\windows-vulkan.conf changed:

                From:
                load(windows_vulkan_sdk)

                To:
                load(win32/windows_vulkan_sdk)

                Pablo J. RoginaP 1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AntonyB
                  Banned
                  wrote on last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • B Bill_2019

                    Fix worked great, was able to generate the makefiles I needed.

                    In \msys64\mingw32\qt5-static\share\qt5\mkspecs\common\windows-vulkan.conf changed:

                    From:
                    load(windows_vulkan_sdk)

                    To:
                    load(win32/windows_vulkan_sdk)

                    Pablo J. RoginaP Offline
                    Pablo J. RoginaP Offline
                    Pablo J. Rogina
                    wrote on last edited by
                    #9

                    @Bill_2019 said in Cannot find feature windows_vulkan_sdk:

                    Fix worked great

                    Great! Time to mark your post as solved then? Thanks.

                    Upvote the answer(s) that helped you solve the issue
                    Use "Topic Tools" button to mark your post as Solved
                    Add screenshots via postimage.org
                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved