[Qt-interest] [Interest] Debugging on Linux

Graham Labdon Graham.Labdon at avalonsciences.com
Wed Nov 2 10:24:20 CET 2011


Thanks - I will try and see


-----Original Message-----
From: qt-interest-bounces+graham.labdon=avalonsciences.com at qt.nokia.com [mailto:qt-interest-bounces+graham.labdon=avalonsciences.com at qt.nokia.com] On Behalf Of Thiago Macieira
Sent: 02 November 2011 09:11
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] [Interest] Debugging on Linux

On Wednesday, 2 de November de 2011 08:56:31 Graham Labdon wrote:
> Hi
> I am having trouble obtaining a debug build on Linux, the steps I have 
> taken are
> 
> downloaded qt-everywhere-commercial-src-4.7.4.tar
> tar -xf qt-everywhere-commercial-src-4.7.4.tar
> sudo ./configure -debug-and-release

Choose -debug or -release. Not both. You cannot have both on non-Mac Unixes, since the targets have the same name. One build will overwrite the other.

> sudo make
> sudo make-install
> Create a project (see attached .pro file) Run qmake CONFIG+=debug
> 
> This results in a single makefile that does not produce a debuggable 
> executable
> 
> What am I doing wrong?

--
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 Qt-interest-old mailing list