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

[package] qt/6.7.0: Version conflict in vulkan-headers dependency with vulkan=true #23684

Closed
neobrain opened this issue Apr 20, 2024 · 2 comments · Fixed by #24903
Closed

[package] qt/6.7.0: Version conflict in vulkan-headers dependency with vulkan=true #23684

neobrain opened this issue Apr 20, 2024 · 2 comments · Fixed by #24903
Labels
bug Something isn't working

Comments

@neobrain
Copy link

Description

Qt pulls in multiple versions of vulkan-headers (qt/6.7.0->vulkan-loader/1.3.268.0->vulkan-headers/1.3.268.0 and qt/6.7.0->moltenvk/1.2.2->vulkan-headers/1.3.239.0, leading to a conflict:

Version conflict: Conflict between vulkan-headers/1.3.239.0 and vulkan-headers/1.3.268.0 in the graph.
Conflict originates from moltenvk/1.2.2

Package and Environment Details

  • Package Name/Version: qt/6.7.0
  • Operating System+version: macOS Sonoma 14.4.1
  • Compiler+version: clang 15
  • Conan version: conan 2.2.3
  • Python version: Python 3.12.3

Conan profile

[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos

Steps to reproduce

conan install --requires qt/6.7.0 -o 'qt/*:with_vulkan'=True

Logs

_

@jcar87
Copy link
Contributor

jcar87 commented Aug 12, 2024

Thanks @neobrain - the issue here in the Qt recipe is that the dependencies cannot have versions independently, as they have very strict compatibility. I've fixed this in #24903 and added a note in the recipe so that versions aren't bumped without checking first.

@neobrain
Copy link
Author

Thanks! I can confirm with the PR I no longer need any workarounds to resolve the conflicts :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants