-
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
[package] qt/6.6.0: lib/cmake/Qt6Qml/Qt6QmlConfig.cmake is missing #21231
Comments
There are some answers in https://github.com/conan-io/conan-center-index/blob/master/docs/faqs.md#why-are-cmake-findconfig-files-and-pkg-config-files-not-packaged |
I already do both. All the other cmake files are indeed packaged including |
no they are not "packaged", as explained in the link I posted in the last message. all the cmake config-files and find-modules are explicitely removed Please give us at least the commands you are running, with the console output and the associated conanfile EDIT: did you also enable |
All the rest of the cmake files are indeed in the package, whether you want to call that "packaged" or not. And yes I have enabled both
And here on a homebrew installation of qt:
Without this file, cmake returns the following error:
This is even though the target is an executable and qt_add_qml_module was called. To fix this I need to include explicitly I see that conan takes the approach to use its own cmake files but then it needs to explicity include the extra cmakes, specifically |
Ok, thanks for the precision, things are clearer now.
Unfortunately, I still get the same error as you do:
I also tried to add |
This seems to work for me! Weirdly qt didn't even need to recompile. Are you testing with qml sources? Could that be why it doesn't work for you? |
woopsie, the failure I had was because I was building qt as static library. rebuilding now. EDIT: yup, works for me too! |
Description
I can't figure out why but lib/cmake/Qt6Qml/Qt6QmlConfig.cmake is missing. This prevents qml plugins from being deployed and probably causes other issues.
Package and Environment Details
Conan profile
[settings]
os=Macos
os_build=Macos
arch=armv8
arch_build=armv8
compiler=apple-clang
compiler.version=15
compiler.libcxx=libc++
build_type=Release
compiler.cppstd=20
os.version=13.0
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
Install qt and check if lib/cmake/Qt6Qml/Qt6QmlConfig.cmake exists.
It exists in the homebrew installation.
Logs
The text was updated successfully, but these errors were encountered: