[Qt-interest] [Interest] Debugging on Linux
Graham Labdon
Graham.Labdon at avalonsciences.com
Wed Nov 2 16:06:12 CET 2011
Hello again
I now have this working BUT
When I debug within QtCreator I get a dialog saying that the build appears not to be a debug build.
However, I am able to debug
Does anyone know why this dialog appears
-----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 10:55
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] [Interest] Debugging on Linux
On Wednesday, 2 de November de 2011 10:27:02 Graham Labdon wrote:
> Ok I'm a little confused now
> I want to be able to build and debug a Qt application and the build a
> release version.
>
> How should I build Qt - -debug, -release, or -debug-and-release If I
> build Qt with debug how can I link to the release versions of the Qt
> libraries?
You probably want -release for Qt, unless you plan on debugging inside Qt itself.
When building your application for debugging, you do what Andreas suggested.
Note that Qt Creator automatically sets those options when you select a debug build.
When you're ready for release, re-run qmake with no arguments and build again.
Or let Creator do it.
> I am unsure of the steps that I should be taking and would appreciate
> a guiding hand
--
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