summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.pro
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-29 21:07:42 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-29 21:28:29 +0100
commit96f82f828a0be5ce099a7589bebcaae7261eea20 (patch)
tree33976b5ce13e447be92746741ced2874c27d7b68 /rbutil/rbutilqt/rbutilqt.pro
parent4594541b5faa25272880db5606fb11688514edef (diff)
downloadrockbox-96f82f828a0be5ce099a7589bebcaae7261eea20.tar.gz
rockbox-96f82f828a0be5ce099a7589bebcaae7261eea20.tar.bz2
rockbox-96f82f828a0be5ce099a7589bebcaae7261eea20.zip
rbutil: More Qt6 compatibility.
Qt6 doesn't contain QTextCodec anymore but instead provides it in the optional core5compat module. Change-Id: Ia45985a32df3826faf041981b8935c839946e5c9
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index ced22b0628..578761f04a 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -161,6 +161,9 @@ QT += widgets
if (lessThan(QT_MAJOR_VERSION, 6)) {
QT += multimedia
}
+if (greaterThan(QT_MAJOR_VERSION, 5)) {
+ QT += core5compat
+}
CONFIG += c++11