[Qt-interest] debug in Eclipse

Ed Sutton ESutton at fescorp.com
Tue Jan 26 22:11:49 CET 2010


Hi Francisco,

>P.S.: if you find any hint on how to browse the contents of Qt objects, please let me (us) know.

Using Eclipse Galileo + Qt Eclipse integration I can expand Qt objects in the "debug perspective" under the "Variables" tab.  Could it be your installed gdb version?

I remember I could not source level debug in Qt Creator because Red Hat Enterprise Linux 5.x came with gdb 6.5.  Once I installed gdb 6.8 I was good.

-Ed


On Jan 23, 2010, at 7:20 PM, Francisco Ares wrote:

Sorry, Ed, I pressed the "send" button and only after that I saw that I have answered only to your personal address.

Here is the message for anyone interested in the subject:


You may work with several Qt versions using the Qt integration plugin for Eclipse:

"Window" menu -> "Preferences" -> select "Qt" on the left panel, then press the "Add" button on the right. It asks you for a name (I use the version number) and the directory where the binaries and the header files are located, and that's it.

Hope it helps
Francisco

P.S.: if you find any hint on how to browse the contents of Qt objects, please let me (us) know.


On Fri, Jan 22, 2010 at 4:00 PM, Ed Sutton <ESutton at fescorp.com<mailto:ESutton at fescorp.com>> wrote:
Hi Bijay,

I never succeeded installing Eclipse SDK + CDT + Qt Integration.  However QT SDK + Eclipse Galileo + Qt Integration was pretty painless.

Eclipse IDE for C/C++ Developers (78 MB)<http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-macosx-cocoa.tar.gz>
http://www.eclipse.org/galileo/


I don't remember my reasoning ( it is probably not relevant )  but I launch Eclipse specifying the desired jdk using:

eclipse -vm ~/jdk1.6.0_14/bin -rvf &'


I hope to get debugging and Qt object browsing working next.  Unfortunately my Qt Eclipse integration has broken after upgrading Qt.  The problem is I cannot figure out how to make Eclipse point to the location of my updated install of Qt.  I am an Eclipse newbie and do not know my way around it.  Any suggestions are appreciated.

-Ed





On Jan 16, 2010, at 11:10 PM, Bijay Panda wrote:

Hi,
It's nice hear that u have the latest stable Eclipse environment plust CDT and qt integration plugins in linux.That's what i am looking for and cudn't get it .Can u please share the link to download it and the steps for setting  qt integration within it.

On Sat, Jan 16, 2010 at 10:33 PM, Francisco Ares <frares at gmail.com<mailto:frares at gmail.com><mailto:frares at gmail.com<mailto:frares at gmail.com>>> wrote:
Hi guys

I have the latest stable Eclipse environment plus the CDT and  the qt integration plugins, both in Linux and Windows (MinGW).  All working fine when editing files, including GUIs, and building them.

But I'm not able to check the contents of a simple QString. I have found several links on the subject, but none conclusive.

Can anybody point me out on how to set up Eclipse so it is able to show the contents of Qt objects?

Thanks a lot
Francisco

--
"If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas." - George Bernard Shaw

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com<mailto:Qt-interest at trolltech.com><mailto:Qt-interest at trolltech.com<mailto:Qt-interest at trolltech.com>>
http://lists.trolltech.com/mailman/listinfo/qt-interest




--
Thanks & Regards
Bijay Kumar Panda
Mob-9739591816
      9019050982
bijaykumar.mail at gmail.com<mailto:bijaykumar.mail at gmail.com><mailto:bijaykumar.mail at gmail.com<mailto:bijaykumar.mail at gmail.com>>
bijaykumar_panda at yahoo.com<mailto:bijaykumar_panda at yahoo.com><mailto:bijaykumar_panda at yahoo.com<mailto:bijaykumar_panda at yahoo.com>>
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com<mailto:Qt-interest at trolltech.com><mailto:Qt-interest at trolltech.com<mailto:Qt-interest at trolltech.com>>
http://lists.trolltech.com/mailman/listinfo/qt-interest


-Ed




--
"If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas." - George Bernard Shaw
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com<mailto:Qt-interest at trolltech.com>
http://lists.trolltech.com/mailman/listinfo/qt-interest


-Ed





More information about the Qt-interest-old mailing list