[Development] building a release Qt 4.8.7 with debug info

René J.V. Bertin rjvbertin at gmail.com
Fri Oct 9 12:40:26 CEST 2015


Hi,

I've been doing release builds of Qt 4.8.7 that do contain debug information. I'm not aware of any relevant configure flags for Qt 4 like Qt 5 has, so I'm setting -g in the *C*FLAGS env. variables.

That works, but on OS X I find that ObjC++ files (*.mm) are compiled without -g and thus lack debugging information. Yet I do set OBJCFLAGS and OBJCXXFLAGS appropriately.

What am I missing here?

Thanks,
René



More information about the Development mailing list