mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
clean code:remove 'greaterThan(QT_MAJOR_VERSION, 4)'from goldendict.pro
This commit is contained in:
parent
a30946d0ae
commit
c035cdc4ae
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue