Move Windows backtrace functionality to the windows specific *.pri files.

This commit is contained in:
sledgehammer999 2013-03-03 00:52:51 +02:00
commit 1f0d4ce871
4 changed files with 33 additions and 35 deletions

View file

@ -1,3 +1,16 @@
strace_win:{
contains(QMAKE_HOST.arch, x86):{
# i686 arch requires frame pointer preservation
QMAKE_CXXFLAGS_RELEASE += -Oy-
QMAKE_CXXFLAGS_DEBUG += -Oy-
}
release:{
QMAKE_CXXFLAGS_RELEASE += -Zi
QMAKE_LFLAGS += "/DEBUG"
}
LIBS += dbghelp.lib
}
RC_FILE = qbittorrent.rc
# Enable Wide characters