Skip to content

improve qt6 support#718

Merged
m-kuhn merged 3 commits intoopengisch:masterfrom
freeshrugsxd:qt6
Aug 22, 2025
Merged

improve qt6 support#718
m-kuhn merged 3 commits intoopengisch:masterfrom
freeshrugsxd:qt6

Conversation

@freeshrugsxd
Copy link
Copy Markdown
Contributor

✨ This PR aims to improve Qt6 support.

Most of it is straightforward find and replace of enums but there are two cases where we don't have a Qt6 equivalent:

  1. QNetworkRequest.FollowRedirectsAttribute is gone and the default redirect behavior changes. I'm not 100% sure but I think this means that we do not need to implicitly set any attribute here and can just delete those lines?
  2. QPainter.HighQualityAntialiasing was already obsolete and ignored in Qt5 and got removed in Qt6

AFAICT the plugin works in both Qt5 and Qt6 builds but I am unable to test the cloud related code changes.

Let me know if you need anything more.

Regards

@m-kuhn
Copy link
Copy Markdown
Member

m-kuhn commented Aug 22, 2025

Thanks a lot, can you run

pre-commit install
pre-commit run --all-files

to apply the code formatting?

@freeshrugsxd
Copy link
Copy Markdown
Contributor Author

freeshrugsxd commented Aug 22, 2025

Hey this somehow changes a lot (116) of files I haven't touched and code I haven't changed. Are you sure? What exactly does the CI want to get changed?

Edit: I patched the files with the diff output from the workflow. Was that all it took to make the code check happy?

@m-kuhn m-kuhn merged commit c0d8d0c into opengisch:master Aug 22, 2025
7 checks passed
@m-kuhn
Copy link
Copy Markdown
Member

m-kuhn commented Aug 22, 2025

Not sure why it updated that many files, but thanks to these changes it's now clean.
Thanks for this contribution!

@suricactus
Copy link
Copy Markdown
Collaborator

hey, @freeshrugsxd , just wanted to say thank you for being a good OSS citizen.

@freeshrugsxd freeshrugsxd deleted the qt6 branch August 22, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants