Creating a file .pdb in release builds.
-
How to create a file .pdb in release builds? (Qt5.4.0, compiler VS 2010)
-
I solved this problem by adding a .pro file lines
@
QMAKE_LFLAGS_RELEASE += /DEBUG -Zi
@ -
I think your solution is wrong.
-Zi is a compiler flag,
/Debug is a linker flag.so the right way to do is this:
QMAKE_CXXFLAGS += /Zi
QMAKE_LFLAGS_RELEASE += /DEBUG