[Interest] Generate pdb for qmake.exe on Windows

Adam Light aclight at gmail.com
Tue Dec 15 19:38:21 CET 2020


On Fri, Dec 11, 2020 at 9:19 AM Joerg Bornemann <joerg.bornemann at qt.io>
wrote:

> On 12/11/20 5:15 PM, Adam Light wrote:
>
> >      > Is it possible to build Qt in such a way that debugging symbols
> for
> >      > qmake itself are generated?
> >
> >     Not out of the box. Edit qmake/Makefile in your build directory and
> >     - add /Zi to CFLAGS_BARE
> >     - add /DEBUG to LFLAGS
> >     then run "nmake clean" and "nmake".
> >
> >
> > Thanks for the help.
> >
> > But I don't see a qmake directory in my build directory. Did you mean
> > the qtbase\qmake directory in my build directory? I do have that one.
>
> Yes, that one.
>
> OK, thanks Joerg. That worked. The only thing is that the qmake.pdb that
is generated is not copied by jom install (after building the rest of Qt)
so I had to copy that over manually.

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201215/e9d75e35/attachment.html>


More information about the Interest mailing list