Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, April 2008
Eclipse integration


Message 1 in thread

Hello,

Just want to say that eclipse is great and the integration works fine, 
but I find there are some things missing.
1) In the debugger, you can not see the contents of qstrings(or other qt 
structures). I don't know of any IDE which can do this for all Qt types. 
Using the KDE scripts for gdb I can see the contents, but it really is 
cumbersome to type those gdb commands. Maybe there should be an option 
in the debugger to execute the gdb command "print" followed by the type 
and then the variable. So that if you have a gdb script to print a 
QString called "printQString" that the debugger executes this 
automatically and checks the output.
2) You can not change the order of the linked libraries in the .pro 
editor(when editing LIBS for example, there is no move up/move down button).
3) The .pro editor is sometimes very slow when you click on a variable 
type. Sometimes, don't know when it happens, but it can happen.

Anyway, I'm just giving my opinion.
Thanks,
Best regards,
Tom,


--
 [ signature omitted ] 

Message 2 in thread

On 18.04.08 13:01:21, Tom Deblauwe wrote:
> Just want to say that eclipse is great and the integration works fine,  
> but I find there are some things missing.
> 1) In the debugger, you can not see the contents of qstrings(or other qt  
> structures). I don't know of any IDE which can do this for all Qt types.  
> Using the KDE scripts for gdb I can see the contents, but it really is  
> cumbersome to type those gdb commands. Maybe there should be an option  
> in the debugger to execute the gdb command "print" followed by the type  
> and then the variable. So that if you have a gdb script to print a  
> QString called "printQString" that the debugger executes this  
> automatically and checks the output.

This might be supported in future gdb, they're currently trying to get
support for python scripting in and that would allow to easily write a
python script that returns the proper value for the QString type (or any
other type).

Andreas

-- 
 [ signature omitted ]