[Qt-creator] Qt data types and debugging

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Fri Nov 7 23:03:21 CET 2008


On Fri, Nov 07, 2008 at 11:30:39AM -0900, Israel Brewster wrote:
> I was just  looking a bit closer at that gdbmacros.cpp file, and I  
> noticed a comment at the top saying "we need 4.5 because of QLocalSocket 
> use".

4.4 should be sufficient, there's a typo in the comment. But that
does not really help you for 4.3.4...

> Perhaps this is my whole problem?

That's indeed the cause then. Sorry for not thinking of that, but 4.3
has a strong association with "Stone Age" over here ;-}

> As I noted at the end of my first message, I am running 4.3.4 at the
> moment, so the if statement at the beginning is essentially completely
> excluding this file, even if I manually include it.

Right. 

>> [...]
>> There is some text under "Welcome -> Getting started -> Debugging
>> with Qt Creator"
>
> Ah, yes. So I see. From that document, I find it says "To start using  
> that feature, select Debug and Use Custom Display for Qt Objects". This 
> option is already selected in the debug menu, but toggling it on and off 
> doesn't appear to make any difference: QStrings still show no value, and 
> QObjects still show up as pointers, which it would appear is not supposed 
> to be the case.

It should mention the version restriction. I just did not think of it
when writing that.

For the beta release we could probably use a QTcpSocket for !Q_OS_WIN.
On Windows some firewalls make trouble in this case, so this is not a
good general solution either... *sigh*

Anyway, thanks for the feedback. Finding a solution for that is pretty
high up on my todo list for the beta now. 

Regards,
Andre'




More information about the Qt-creator-old mailing list