debugging a crash on Windows

Thiago Macieira thiago at macieira.org
Sat Jun 7 13:41:30 PDT 2014


Em sáb 07 jun 2014, às 13:33:37, Thiago Macieira escreveu:
> Em sáb 07 jun 2014, às 12:13:51, Dirk Hohndel escreveu:
> > On June 7, 2014 10:56:16 AM Thiago Macieira <thiago at macieira.org> wrote:
> > > Em sáb 07 jun 2014, às 08:02:11, Dirk Hohndel escreveu:
> > > >  My biggest problem is that I cannot produce debug builds for
> > > > 
> > > > Windows - this fails with my cross build environment. So I'm really at
> > > > a
> > > > loss how to debug this.
> > > 
> > > What's the problem there? Are you getting errors trying to link to
> > > libQt5Cored.dll that doesn't exist anywhere?
> > 
> > Yep. Exactly
> 
> Add this to your qmake command-line:
> 
> 'QMAKE_CFLAGS_RELEASE=$$QMAKE_CFLAGS_DEBUG -O0'
> 'QMAKE_CXXFLAGS_RELEASE=$$QMAKE_CXXFLAGS_DEBUG -O0'

Or to one of the .pro or .pri files, without the quotes.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the subsurface mailing list