mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Fix warnings by qmake -Wall, cleanups
This commit is contained in:
parent
52ff7a92fb
commit
982d4a685a
2 changed files with 7 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
strace_win:{
|
||||
contains(QMAKE_HOST.arch, x86):{
|
||||
strace_win{
|
||||
contains(QMAKE_HOST.arch, x86) {
|
||||
# i686 arch requires frame pointer preservation
|
||||
QMAKE_CXXFLAGS_RELEASE += -fno-omit-frame-pointer
|
||||
QMAKE_CXXFLAGS_DEBUG += -fno-omit-frame-pointer
|
||||
|
@ -17,10 +17,6 @@ CONFIG(debug, debug|release) {
|
|||
|
||||
RC_FILE = qbittorrent_mingw.rc
|
||||
|
||||
#You need to link with libtorrent > 0.15.5 (or svn) and you must
|
||||
#configure libtorrent to use iconv in the building process. This is
|
||||
#needed for correct Unicode support.
|
||||
|
||||
# Adapt the lib names/versions accordingly
|
||||
CONFIG(debug, debug|release) {
|
||||
LIBS += libtorrent \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
strace_win:{
|
||||
contains(QMAKE_HOST.arch, x86):{
|
||||
strace_win {
|
||||
contains(QMAKE_HOST.arch, x86) {
|
||||
# i686 arch requires frame pointer preservation
|
||||
QMAKE_CXXFLAGS_RELEASE += -Oy-
|
||||
QMAKE_CXXFLAGS_DEBUG += -Oy-
|
||||
}
|
||||
release:{
|
||||
release {
|
||||
QMAKE_CXXFLAGS_RELEASE += -Zi
|
||||
QMAKE_LFLAGS += "/DEBUG"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue