Drop Qt 5 support

This commit is contained in:
luisangelsm
2026-02-20 21:48:15 +01:00
parent 9e0974be12
commit 7218d0dc87
27 changed files with 56 additions and 285 deletions

View File

@ -17,7 +17,7 @@ include(headless_config.pri)
include(../dependencies/pdf_backend.pri)
include(../third_party/QrCode/QrCode.pri)
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
QT += core5compat
win32 {
LIBS += -loleaut32 -lole32 -lshell32 -luser32
@ -37,8 +37,6 @@ macx {
CONFIG -= flat
QT += core sql network
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
# Source files
HEADERS += ../YACReaderLibrary/library_creator.h \
../YACReaderLibrary/package_manager.h \

View File

@ -50,9 +50,7 @@ int main(int argc, char **argv)
QCoreApplication app(argc, argv);
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
QImageReader::setAllocationLimit(0);
#endif
app.setApplicationName("YACReaderLibrary");
app.setOrganizationName("YACReader");