Unsolved Cannot find feature windows_vulkan_sdk
-
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?
-
Hi and welcome to devnet,
Qt Vulkan related information can be found here in the documentation.
-
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 -
Did you check that the environment variable is set properly ?
Do you have it in your project's environment variable ? -
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.2Using the folloiwng version of qmake and qt:
$ qmake --version
QMake version 3.1
Using Qt version 5.12.4 in C:/msys64/mingw32/libI installed qt in msys shell using:
pacman -S mingw-w64-i686-qt5-staticIf 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?
-
I think you are experiencing QTBUG-76660.
-
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) -
This post is deleted! -
@Bill_2019 said in Cannot find feature windows_vulkan_sdk:
Fix worked great
Great! Time to mark your post as solved then? Thanks.