mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 08:02:08 +00:00
Closes: https://bugs.gentoo.org/949525 Signed-off-by: Andrei Sabalenka <mechakotik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40103 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
20 lines
642 B
Diff
20 lines
642 B
Diff
commit 60388da00ef8e64608c581369b5c68e85162e31d
|
|
Author: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
|
|
Date: Fri Feb 14 20:49:16 2025 +0100
|
|
|
|
Fixed compile against Qt 6.8.2
|
|
|
|
A rather smaller change than 776d3b67b011f970a65e8a743795401851684cc9
|
|
for the 1.11 branch, which keeps compatibility down to Qt 5.12.
|
|
|
|
diff --git a/src/libtiled/qtcompat_p.h b/src/libtiled/qtcompat_p.h
|
|
index 3b46dc1b..60c089ed 100644
|
|
--- a/src/libtiled/qtcompat_p.h
|
|
+++ b/src/libtiled/qtcompat_p.h
|
|
@@ -28,5 +28,5 @@ using ::endl;
|
|
#endif
|
|
|
|
#if QT_VERSION >= QT_VERSION_CHECK(6,0,0)
|
|
-using QStringRef = QStringView;
|
|
+#define QStringRef QStringView
|
|
#endif
|