rbutil: More Qt6 compatibility.
Qt6 doesn't contain QTextCodec anymore but instead provides it in the optional core5compat module. Change-Id: Ia45985a32df3826faf041981b8935c839946e5c9
This commit is contained in:
parent
4594541b5f
commit
96f82f828a
3 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,7 @@ quazip/(un)zip.h files for details, basically it's zlib license.
|
|||
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QStringList>
|
||||
#include <QtCore/QTextCodec>
|
||||
#include <QTextCodec>
|
||||
|
||||
#include "zip.h"
|
||||
#include "unzip.h"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <QDialog>
|
||||
#include <QMessageBox>
|
||||
#include <QTextCodec>
|
||||
|
||||
#include "ui_themesinstallfrm.h"
|
||||
#include "themesinstallwindow.h"
|
||||
|
|
Loading…
Reference in a new issue