-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[qt6] fix compilation of qt6 with_vulkan on MacOs #6835
[qt6] fix compilation of qt6 with_vulkan on MacOs #6835
Conversation
It's not possible to force build with some combination of flags, right? |
please change the title to refer to qt6 recipe |
This comment has been minimized.
This comment has been minimized.
recipes/qt/6.x.x/conanfile.py
Outdated
@@ -896,6 +899,8 @@ def _create_plugin(pluginname, libname, type, requires): | |||
self.cpp_info.components["qtNetwork"].frameworks.append("GSS") | |||
if self.options.gui and self.options.widgets: | |||
self.cpp_info.components["qtPrintSupport"].system_libs.append("cups") | |||
if self.options.gui and self.options.with_vulkan: | |||
self.cpp_info.components["qtGui"].frameworks.append("MoltenVK") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already the Macos branch
I detected other pull requests that are modifying qt/6.x.x recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
This comment has been minimized.
This comment has been minimized.
It's a pity, that there is no gui build and test for qt... |
This comment has been minimized.
This comment has been minimized.
Is there any blocker for this PR? Do I miss something? |
This modification doesn't work, I've tested it locally on my mac. CMake configuration fails (Vulkan is not found). |
That works for my Mac just fine. However, I have a local vulkan installation. |
That's the reason, Qt is using your Vulkan SDK, not moltenvk provided by CCI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to first make sure it works
Conan indeed using local vulkan installation
|
714fa4b
to
caa4ca1
Compare
This comment has been minimized.
This comment has been minimized.
@SpaceIm @ericLemanissier, could you please try my branch? ERROR: Conflict in moltenvk/1.1.1: If I explicitly override it, qt recipe complains that it is not used |
Sorry I cannot help, because I don't have a mac. also, I don't know if vulkan-loader and vulkan-headers versions have to be identical |
I have found a way :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This PR works for me. |
sneak in some bump deps if possible? |
sure, you can do a pr to this pr :) |
Can we merge this PR and make an improvement later? |
Specify library name and version: qt/6.1.2@
relates to #6812
This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!
conan-center hook activated.