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

Fixed compile against Qt 6.8.2 and update packages to this version #4167

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Feb 3, 2025

In Qt 6.8.2, a forward declaration was added for the QStringRef class from Qt 5, which breaks compilation because it is incompatible with the using QStringRef = QStringView line I was using for compatibility between Qt 5 and 6.

Fortunately, as of Qt 5.15.2, the QStringView API is complete enough, so by raising the minimum required Qt version we no longer need QStringRef at all.

bjorn added 2 commits February 3, 2025 13:27
In Qt 6.8.2, a forward declaration was added for the QStringRef class
from Qt 5, which breaks compilation because it is incompatible with the
"using QStringRef = QStringView" line I was using for compatibility
between Qt 5 and 6.

Fortunately, as of Qt 5.15.2, the QStringView API is complete enough, so
by raising the minimum required Qt version we no longer need QStringRef
at all.
@bjorn bjorn merged commit 47285d8 into mapeditor:master Feb 3, 2025
15 of 16 checks passed
@bjorn bjorn deleted the qt-6.8.2 branch February 3, 2025 13:39
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