Myp 26.06.2012 08:36

The file qt\mkspecs\default\qmake.conf defines the following linker flags:
QMAKE_LFLAGS_RELEASE = -Wl,-s
The linker flag -s means: Omit all symbol information from the output file.
So it is the linker that removes all debug information from release build. So if you want to build a release version with debug info you need to define the following in your pro file:
QMAKE_CXXFLAGS_RELEASE += -g
QMAKE_CFLAGS_RELEASE += -g
QMAKE_LFLAGS_RELEASE =

Do you really want to delete ?