From cb60519c441a5527a56fbe40e63eef681978cf87 Mon Sep 17 00:00:00 2001 From: Nick Tiskov Date: Thu, 27 Nov 2014 22:08:16 +0300 Subject: [PATCH] Fix backtrace generation on Mingw: to resolve local functions we need to export them --- winconf-mingw.pri | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/winconf-mingw.pri b/winconf-mingw.pri index 95880cf69..6a834d296 100644 --- a/winconf-mingw.pri +++ b/winconf-mingw.pri @@ -4,10 +4,9 @@ strace_win:{ QMAKE_CXXFLAGS_RELEASE += -fno-omit-frame-pointer QMAKE_CXXFLAGS_DEBUG += -fno-omit-frame-pointer } - release:{ - #QMAKE_CXXFLAGS_RELEASE += -g - #QMAKE_LFLAGS_RELEASE -= -Wl,-s - } + + QMAKE_LFLAGS += -Wl,--export-all-symbols + LIBS += libdbghelp }