[Interest] Debugging on Linux

David Faure david.faure at kdab.com
Wed Nov 2 14:17:31 CET 2011


On Wednesday 02 November 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
> 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?

Not sure -debug-and-release works on linux. Try configuring Qt with -debug.

You can always build Qt in release mode in another directory.

-- 
David Faure | david.faure at kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions




More information about the Interest mailing list