clean code:remove 'greaterThan(QT_MAJOR_VERSION, 4)'from goldendict.pro

This commit is contained in:
yifang 2022-01-24 06:49:20 +08:00
parent a30946d0ae
commit c035cdc4ae

View file

@ -120,9 +120,7 @@ win32 {
CONFIG += chinese_conversion_support
}
greaterThan(QT_MAJOR_VERSION, 4) {
LIBS += -luxtheme
}
LIBS += -luxtheme
}
unix:!mac {
@ -131,11 +129,7 @@ unix:!mac {
QMAKE_CXXFLAGS += -rdynamic
QMAKE_LFLAGS += -rdynamic
greaterThan(QT_MAJOR_VERSION, 4) {
greaterThan(QT_MINOR_VERSION, 0) {
QT += x11extras
}
}
QT += x11extras
CONFIG += link_pkgconfig
PKGCONFIG += vorbisfile \
@ -530,10 +524,10 @@ unix:!mac {
SOURCES += scanflag.cc
}
greaterThan(QT_MAJOR_VERSION, 4) {
HEADERS += wildcard.hh
SOURCES += wildcard.cc
}
CONFIG( zim_support ) {
DEFINES += MAKE_ZIM_SUPPORT