Skip to content

add urlquery as a wrapper around qurlquery#48375

Merged
jkarneges merged 1 commit into
mainfrom
jkarneges/urlquery-wrapper
Jun 25, 2026
Merged

add urlquery as a wrapper around qurlquery#48375
jkarneges merged 1 commit into
mainfrom
jkarneges/urlquery-wrapper

Conversation

@jkarneges

Copy link
Copy Markdown
Member

As part of migrating away from QUrl, this PR adds a wrapper to help with migrating away from a companion type, QUrlQuery.

Unlike Url which is currently an alias for QUrl until it is replaced with a substitute implementation, for UrlQuery I've gone straight to a wrapper. This way we have more control over it at the time the Url implementation is substituted. Notably, we'll be able to maintain a UrlQuery(const Url &) constructor through that transition, which would not be possible if UrlQuery were simply an alias for QUrlQuery.

After this lands, the plan is to replace the implementation of Url with one based on the Rust url crate. The UrlQuery type can remain Qt-backed through that transition, and later we can figure out how to substitute its implementation as well.

@jkarneges jkarneges force-pushed the jkarneges/urlquery-wrapper branch from 649b029 to 17a619d Compare June 24, 2026 23:11
@jkarneges jkarneges force-pushed the jkarneges/urlquery-wrapper branch from 17a619d to 4ace537 Compare June 24, 2026 23:12
@jkarneges jkarneges requested a review from a team June 24, 2026 23:52
@jkarneges jkarneges merged commit fdf0b19 into main Jun 25, 2026
19 checks passed
@jkarneges jkarneges deleted the jkarneges/urlquery-wrapper branch June 25, 2026 00:55
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.

2 participants