Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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:
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:
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:
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:
AntonyB Banned last edited by
This post is deleted!
Pablo J. Rogina last edited by
Fix worked great
Great! Time to mark your post as solved then? Thanks.