Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt/5.14.1 - Library is not compiled with Vulkan support #1144

Closed
jroweboy opened this issue Mar 4, 2020 · 5 comments
Closed

qt/5.14.1 - Library is not compiled with Vulkan support #1144

jroweboy opened this issue Mar 4, 2020 · 5 comments
Labels
enhancement feedback Waiting for feedback from the original issue author. Gets closed after several weeks if no feedback

Comments

@jroweboy
Copy link

jroweboy commented Mar 4, 2020

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: qt/5.14.1
  • Operating System+version: All (At least Windows MSVC 2019 in my personal test, but i couldn't find any build system that had it enabled)
  • Compiler+version: All
  • Conan version: Latest
  • Python version: Latest

Description of your feature

Starting from Qt 5.10, Qt added Vulkan support in the form of QVulkanWindow and similar classes. https://www.qt.io/blog/2017/06/06/vulkan-support-qt-5-10-part-1 These need to be compiled into the Qt build in order to be usable at run time, and so the vulkan headers and SDK needs to be present at Qt configure and build time in order for it to support it at run time. I'm working on a project that uses QVulkanWindow and wanted to move them over to conan, but this is a soft blocker for that change.

@ericLemanissier
Copy link
Contributor

Thanks for the report. There is currently no conan package for vulkan: conan-io/wishlist#144, so we have to rely on system level vulkan. If you install it on your machine and rebuilt the qt package, does it still miss the vulkan classes ?

@ericLemanissier ericLemanissier added the feedback Waiting for feedback from the original issue author. Gets closed after several weeks if no feedback label Mar 6, 2020
@Cscotttaakan
Copy link

I'm actually having this issue as well. It's not able to resolve QVulkanInstance and other vulkan types. This is definitely an issue for me.

@ericLemanissier
Copy link
Contributor

ericLemanissier commented Apr 24, 2020

can you send the config.log file which can be found in the folder ~.conan\data\qt\5.14.2\bincrafters\stable\build\ ?
I'm interested in the lines following looking for library vulkan

@Cscotttaakan
Copy link

Cscotttaakan commented Apr 25, 2020

There is no build folder, when should that be triggered? The only folders that exist export locks metadata.json metadata.json.lock package system_reqs
I'm using command conan install . -if={folder} --build missing -s build_type=Debug

@ericLemanissier
Copy link
Contributor

so you are probably reusing an existing binary from bincrafters' bintray. It's true that they don't have Vulkan classes. you need to build qt on your machine to get them. You can do this by using argument --build qt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feedback Waiting for feedback from the original issue author. Gets closed after several weeks if no feedback
Projects
None yet
Development

No branches or pull requests

3 participants