[Interest] Debugging on Linux

Alex Malyushytskyy alexmalvtk at gmail.com
Wed Nov 2 21:26:48 CET 2011


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

All I do on linux -  is building my application, so I might be wrong,
but names of the library built there were identical,
so when I tried I could not achieve release and debug built in the
same directory as on Windows.

So I assume on Linux you should build them in different directories.

Alex


On Wed, Nov 2, 2011 at 6:17 AM, David Faure <david.faure at kdab.com> wrote:
> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list