Skip to content
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

Reduce Qt warnings #3463

Draft
wants to merge 9 commits into
base: 1.15.0-dev
Choose a base branch
from

Conversation

chromatic
Copy link
Member

This should apply cleanly atop the Qt4 ifdef-removal code. There are plenty of warnings to go, but this is a good place to park it for a draft for now.

@chromatic
Copy link
Member Author

I think the error is because we're using something older than Qt 5.11.

@patricklodder
Copy link
Member

I think the error is because we're using something older than Qt 5.11.

Yes. We'd be bringing back some macros if we want to support older Qt5 than latest. However, Qt 5.15 already has patches sitting in the download site rather than new releases, so maybe we should only keep only minimum support for qt5 and only for 5.15, like we had for Qt4, and only for custom compilation?

@chromatic
Copy link
Member Author

I agree. Let's aim for Qt 6 support and Qt 5.15 as the oldest supported fallback unless someone commits to active maintenance for something older on a specific platform.

If we do this, should we start with a configure check for Qt >= 5.15?

@patricklodder
Copy link
Member

If we do this, should we start with a configure check for Qt >= 5.15?

Not as long as depends is not updated because then we'll not have a CI at all, so that means this PR will need to remain in draft until that's done. I expect quite some changes being needed for Qt6 though, so the conflicts on this PR will also skyrocket at some point...

What can be done now re: unblocking this PR is fix anything that works with 5.7, and bump the minimum up to 5.7 in the m4 - I have anyway not seen any reports using earlier than Qt5.7 for a long time (other than the specific Qt4 test I did last round)

@chromatic
Copy link
Member Author

I see the wisdom in that. Sounds like the way to test this is in a container which has Qt 5.7 then, and exclude anything without support there. I'll see what I can do to put that together, unless someone else reading this beats me to it.

@patricklodder
Copy link
Member

depends has 5.7 so you can simply test it with a standard build w/ that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants