-
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
qt/5.x.x: Fix cross-compilation when using toolchains with custom names #15145
qt/5.x.x: Fix cross-compilation when using toolchains with custom names #15145
Conversation
The Qt 5 recipe currently defaults the value of `-xplatform` when no `device` option is given. The `-xplatform` option expects the C++ cross compiler to be given. The defaults only work for some situations. When using Yocto, the default values are almost always insufficient. This PR accounts for this situation. If `CXX` is set in the environment, this is passed as the value for the `-xplatform` option. Fixes conan-io#15144.
I detected other pull requests that are modifying qt/5.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. |
Conan v1 pipelineFailure in build 1 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. Conan v2 pipeline (informative, not required for merge)Failure in build 1 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Definitely the wrong way to go about this. I've updated the issue to reflect real problem better. |
The Qt 5 recipe currently defaults the value of
-xplatform
when nodevice
option is given. The-xplatform
option expects the C++ cross compiler to be given. The defaults only work for some situations.When using Yocto, the default values are almost always insufficient.
This PR accounts for this situation.
If
CXX
is set in the environment, this is passed as the value for the-xplatform
option.Fixes #15144.
Specify library name and version: qt/5.15.7