-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Configure picks Qt6 over Qt5 when both arfe available #592
Comments
This is done intentionally. You have to set the Qt version explicitly if both are installed. See #217 I am not sure what option may help for FreeBSD. |
There used to be the option Before #217 it was possible to choose the Qt generation, and now it doesn't appear to be possible. This is ok, I can patch CMakeLists.txt, but this is still a regression IMO. |
FYI: |
According to the answer to the cmake bug report that I created this line is a mistake, and it has nothing to do with Qt selection in cmake. It only affects some subsequent Qt-related macros. There doesn't appear to be any environment variable for this either. Could you please consider adding back WITH_QT6, because #217 had no clear explanation why it should have been removed from @dsm . |
Yes, I will revert the explicit Qt6 selection using |
Setting
QT_DEFAULT_MAJOR_VERSION
to 6 doesn't seem to do anything.You need to have a cmake option got QT version, and explicitly separate find_package lines for both.
Version: 24.1.0
FreeBSD 14
TODO
WITH_QT6
flagThe text was updated successfully, but these errors were encountered: