[Interest] Compile a debug build and link with release Qt

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Tue Jan 10 17:08:56 CET 2017

I might be tired but I do not see...

I know that if I compile manually, I can use the "-g" flag for debugging,
and link with the release Qt library files.

But, if I qmake with CONFIG+=RELEASE, qt links with the release library,
sets -O2 and does not produce debugging info.

This means I would need to change the mkspec files, but I still want to
keep a true release mode

Is there a better way?


2017-01-10 16:54 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:

> On terça-feira, 10 de janeiro de 2017 16:38:45 PST Etienne
> Sandré-Chardonnal
> wrote:
> > Hi Thiago,
> >
> > I am using MinGW, but I link Qt statically. This perfectly makes sense!
> But
> > I forgot to mention it...
> And your answer lies right there.
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170110/7bbf24e4/attachment.html>

More information about the Interest mailing list