-
Notifications
You must be signed in to change notification settings - Fork 497
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
ENH: Update minimum Qt4 to 4.7 #822
Conversation
Consider fixing the build error: https://circleci.com/gh/commontk/CTK/405?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link |
Nitpick: Two separate PR would be best. One updating minimum required version, and one updating the filedialog |
d4462d4
to
2c94808
Compare
What is the benefit to get rid of the Qt 4.6 support ? |
This allows to easily move forward with #823 without having to add yet an other option. |
That does not seem like a strong motivation :-/ I wonder if some preprocessing macro (e.g. #if QT_VERSION < QT_VERSION_CHECK(...) ) wouldn't have worked around your issue. There are other places in code that support code < 4.7 (search 0x040700 or 0x040600 in code) you may also want to get rid of it. |
Thanks for the feedback 👍
Simplify and reduce cost associated with maintenance. Qt 4.6 was first release almost 10 years ago ...
That is also an option. It is is not too late to revert the change and continue support Qt 4.6. Are you suggesting we continue support it ? If we do so, I suggest we create a docker image with Qt 4.6 (similar to the one we have for Qt 4.8).
Thanks for pointing this out. |
I'm suggesting to continue support Qt 4.6 if there is no strong reason to do so (-> the cost to support would be too "high"). In this issue, it did not seem that high too me (that was a first impression, without really looking at the issue). Alternatively, the class (and the ones depending on it) could also be removed from the CTK compilation. That way Qt 4.6 is still supported (minus some widgets like this one). |
The issue is that we don't have a build of Qt 4.6 to test any of our changes. Would it work if we revert the commit updating the minimum required version and do our best effort to not break the code but do not test it ? |
I guess it is fine :-) Thanks for the revert ! |
This allow to remove the definition QFILEDIALOG_OPTIONS
in ctkDirectoryButton and ctkPathLineEdit, used to conserve
backwards compatibility.