[Interest] Optimizations in debug configuration

Thiago Macieira thiago.macieira at intel.com
Sat Sep 24 02:23:54 CEST 2016


On sábado, 24 de setembro de 2016 00:37:54 PDT Konstantin Shegunov wrote:
> I'm building a module and what I observe is getting -g -O2 for
> CONFIG+=debug. One thing I was able to infer was that
> setting QMAKE_CXXFLAGS to nothing seems to solve it for me. I wouldn't even
> dream of speculating why this is happening, it probably is my own
> configuration, albeit the qt3d module compiles with -g -O2 when I call
> qmake CONFIG+=debug on its root project file.

run qmake with -d -d switches and look for where that "-g -O2" is coming from.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list