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

Drop qjsonwrapper dependency #59731

Merged
merged 10 commits into from
Dec 4, 2024
Merged

Conversation

nyalldawson
Copy link
Collaborator

Rework the oauth2 config to/from json conversion to avoid QMetaObject introspection, as this is fragile and prone to breakage without any compilation warning or errors. This allows us to remove the qjsonwrapper dependency, and drop an unwanted embedded library.

@nyalldawson
Copy link
Collaborator Author

FYI @rouault

@github-actions github-actions bot added this to the 3.42.0 milestone Dec 3, 2024
src/auth/oauth2/core/qgsauthoauth2config.cpp Outdated Show resolved Hide resolved
src/auth/oauth2/core/qgsauthoauth2config.cpp Outdated Show resolved Hide resolved
src/auth/oauth2/core/qgsauthoauth2config.cpp Outdated Show resolved Hide resolved
src/auth/oauth2/core/qgsauthoauth2config.cpp Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Dec 4, 2024

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 0e741c6)

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 0e741c6)

@nyalldawson
Copy link
Collaborator Author

@rouault all addressed!

@nyalldawson nyalldawson added the Cleanup Code cleanup label Dec 4, 2024
This is just testing a very low level Qt method which has changed behavior in Qt 6
@nyalldawson nyalldawson merged commit 390ac14 into qgis:master Dec 4, 2024
31 checks passed
@nyalldawson nyalldawson deleted the no_json_wrapper branch December 4, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cleanup Code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants