Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Enable Vulkan in Qt



  • I want to use Vulkan API (QVulkanInstance, etc) in Qt. For this need build Qt from source fully? Or only QtGui enough?
    I try build project on ...\Qt\5.10.0\Src\qtbase\src\gui, but got "Could not find feature opengl.*", and try configure.bat --gui, but got

    D:/Programs/Qt/5.10.0/Src/qtbase/qmake/library/qmakebuiltins.cpp:512:32: error: '_pclose' was not declared in this scope
             int ec = QT_PCLOSE(proc);
                                    ^
    Makefile:254: recipe for target 'qmakebuiltins.o' failed
    mingw32-make: *** [qmakebuiltins.o] Error 1
    

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    It's available in 5.10 as described here. You need to have the required dependencies installed.


Log in to reply