disable new ABI (can't catch ios_base::failure with new ABI)
This commit is contained in:
parent
a5d8dd5bd7
commit
5e3472c12c
|
@ -7,6 +7,9 @@ RCC_DIR = ./res
|
||||||
QMAKE_CXXFLAGS += -std=c++11
|
QMAKE_CXXFLAGS += -std=c++11
|
||||||
QMAKE_LFLAGS += -std=c++11
|
QMAKE_LFLAGS += -std=c++11
|
||||||
|
|
||||||
|
# disable new ABI (can't catch ios_base::failure with new ABI)
|
||||||
|
DEFINES += _GLIBCXX_USE_CXX11_ABI=0
|
||||||
|
|
||||||
# variables to check target architecture
|
# variables to check target architecture
|
||||||
win32-g++:QMAKE_TARGET.arch = $$QMAKE_HOST.arch
|
win32-g++:QMAKE_TARGET.arch = $$QMAKE_HOST.arch
|
||||||
win32-g++-32:QMAKE_TARGET.arch = x86
|
win32-g++-32:QMAKE_TARGET.arch = x86
|
||||||
|
|
Loading…
Reference in New Issue