PDA

View Full Version : Can't step into QT Source code on Ubuntu



sfcheng77
28th November 2012, 19:18
I built QT 4.8.3 on Ubuntu 12.04 LTS(64 bit) with the following configuration options:

./configure -webkit-debug -debug-and-release -opensource -openssl -I ~/openssl-1.0.0d/include

When I debug and trace my own application built with the compiled version of qt4.8.3, I can't step into the QT source code.

I check the files under the Qt installation folder: /usr/local/Trolltech/Qt-4.8.3/lib, I only see a single libXXXXX.so.4.8.3 file for each compiled lib. I was expecting to see separate libraries for release and debug version.

Whenever I create a new instance of QScriptEngine in my app, it immediately crashes. Therefore, I would like to step into QT source code to see what is going on. Please advise what I can do to step into Qt source code on ubuntu.

wysota
28th November 2012, 19:21
Do you have Qt source code available where the debugger can find it?

sfcheng77
28th November 2012, 21:19
Well, the source code is on the same machine and sits where I compile it from.


Do you have Qt source code available where the debugger can find it?

wysota
28th November 2012, 21:34
Well, the source code is on the same machine and sits where I compile it from.

Ok, you know that but does your debugger/QtCreator know that?

amleto
29th November 2012, 13:44
because its read the opposite way that it was written

why?

top posting

what's the most annoying thing about forums?

Well, the source code is on the same machine and sits where I compile it from.

get my drift?