Start supporting Qt6

Everything is broken but we want to start fixing as much as possible
This commit is contained in:
Luis Ángel San Martín 2021-10-01 19:54:41 +02:00
parent 35fa03549b
commit 2de4b26b71
4 changed files with 6 additions and 4 deletions

View File

@ -70,6 +70,8 @@ macx {
QT += network widgets core multimedia svg
greaterThan(QT_MAJOR_VERSION, 5): QT += openglwidgets core5compat
#CONFIG += release
CONFIG -= flat

View File

@ -71,6 +71,8 @@ macx {
CONFIG -= flat
QT += sql network widgets svg
greaterThan(QT_MAJOR_VERSION, 5): QT += openglwidgets core5compat
# Input
HEADERS += comic_flow.h \
../common/concurrent_queue.h \

View File

@ -37,6 +37,8 @@ unix:haiku {
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

@ -35,10 +35,6 @@ defineTest(minQtVersion) {
error(YACReader requires Qt 5.9 or newer but $$[QT_VERSION] was detected)
}
minQtVersion(6, 0, 0) {
error(YACReader does not support building with Qt6 (yet))
}
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050900
DEFINES += QT_DEPRECATED_WARNINGS