mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 00:58:32 -04:00
Start supporting Qt6
Everything is broken but we want to start fixing as much as possible
This commit is contained in:
parent
35fa03549b
commit
2de4b26b71
@ -70,6 +70,8 @@ macx {
|
|||||||
|
|
||||||
QT += network widgets core multimedia svg
|
QT += network widgets core multimedia svg
|
||||||
|
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 5): QT += openglwidgets core5compat
|
||||||
|
|
||||||
#CONFIG += release
|
#CONFIG += release
|
||||||
CONFIG -= flat
|
CONFIG -= flat
|
||||||
|
|
||||||
|
@ -71,6 +71,8 @@ macx {
|
|||||||
CONFIG -= flat
|
CONFIG -= flat
|
||||||
QT += sql network widgets svg
|
QT += sql network widgets svg
|
||||||
|
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 5): QT += openglwidgets core5compat
|
||||||
|
|
||||||
# Input
|
# Input
|
||||||
HEADERS += comic_flow.h \
|
HEADERS += comic_flow.h \
|
||||||
../common/concurrent_queue.h \
|
../common/concurrent_queue.h \
|
||||||
|
@ -37,6 +37,8 @@ unix:haiku {
|
|||||||
CONFIG -= flat
|
CONFIG -= flat
|
||||||
QT += core sql network
|
QT += core sql network
|
||||||
|
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||||||
|
|
||||||
# Source files
|
# Source files
|
||||||
HEADERS += ../YACReaderLibrary/library_creator.h \
|
HEADERS += ../YACReaderLibrary/library_creator.h \
|
||||||
../YACReaderLibrary/package_manager.h \
|
../YACReaderLibrary/package_manager.h \
|
||||||
|
@ -35,10 +35,6 @@ defineTest(minQtVersion) {
|
|||||||
error(YACReader requires Qt 5.9 or newer but $$[QT_VERSION] was detected)
|
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_DISABLE_DEPRECATED_BEFORE=0x050900
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS
|
DEFINES += QT_DEPRECATED_WARNINGS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user