-
Notifications
You must be signed in to change notification settings - Fork 806
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
Build fails on macOS if qt6
is installed
#4365
Comments
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you! |
This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you! |
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
Still waiting... |
We still need to make changes so we can use Qt6. I will close this one in favor of #4461. |
How to use GitHub
Expected behaviour
Build should succeed if the prerequisites are installed, regardless of whether additional packages are installed.
Actual behaviour
If Qt 6 is installed in addition to Qt 5, the build process will use it instead, leading to a number of compiler errors.
Steps to reproduce
Note that the build will still fail even if Qt 5 is installed alongside Qt 6.
Workaround
I have confirmed that this issue can be mitigated by manually uninstalling Qt 6. First, install Qt 5 with the following command:
Then uninstall Qt 6 with the following:
You may get a warning if Qt 6 is a dependency for another package, and while you can run
brew uninstall --ignore-dependencies qt6
to override the warning, it will break the other package until you reinstall Qt 6 (which in turn will break the Nextcloud build process again—yay!).I got this workaround from gnuradio/gnuradio#4578.
Client configuration
Client version: Git branch
master
Operating system: macOS Monterey 12.1 (21C52)
Error output
(Everything above this works.)
(After this the build process exits back to the command prompt.)
The text was updated successfully, but these errors were encountered: