mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
- Dropped Qt4.2 support, it becomes too difficult to maintain for me and Trolltech broke backward compatibility for UI files...
This commit is contained in:
parent
f1114387ae
commit
0e81f3731f
6 changed files with 27 additions and 41 deletions
17
src/src.pro
17
src/src.pro
|
@ -78,9 +78,7 @@ QMAKE_CXXFLAGS_DEBUG += -fwrapv -O1
|
|||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += libtorrent libccext2 libccgnu2
|
||||
|
||||
contains(DEFINES, HAVE_MAGICK){
|
||||
#PKGCONFIG += ImageMagick++
|
||||
}else{
|
||||
!contains(DEFINES, HAVE_MAGICK){
|
||||
message(ImageMagick disabled)
|
||||
}
|
||||
|
||||
|
@ -89,19 +87,6 @@ QT += network xml
|
|||
DEFINES += QT_NO_CAST_TO_ASCII
|
||||
#QT_NO_CAST_FROM_ASCII
|
||||
|
||||
contains(DEBUG_MODE, 0){
|
||||
contains(QT_VERSION, 4.2.0) {
|
||||
message(Qt 4.2.0 detected : enabling debug output because of a bug in this version of Qt)
|
||||
}else{
|
||||
contains(QT_VERSION, 4.2.1) {
|
||||
message(Qt 4.2.1 detected : enabling debug output because of a bug in this version of Qt)
|
||||
}else{
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
}
|
||||
}
|
||||
CONFIG += release
|
||||
}
|
||||
|
||||
# Windows
|
||||
win32 {
|
||||
LIBS += -ltorrent -lccext2 -lccgnu2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue