[Qt-interest] WAS: debug in Eclipse NOW: quick guide to eclipse+Qt

Francisco Ares frares at gmail.com
Mon Jan 18 00:21:33 CET 2010


On Sun, Jan 17, 2010 at 3:10 AM, Bijay Panda <bijaykumar.mail at gmail.com>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> 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
>>
>> --
> Thanks & Regards
> Bijay Kumar Panda
> Mob-9739591816
>        9019050982
> bijaykumar.mail at gmail.com
> bijaykumar_panda at yahoo.com
>



Eclipse + CDT:
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/galileosr1

On the right you may choose the best package (32 / 64 bits for example). 32
bits must work in either.

You'll download a ZIP file, I've decompressed it - always as the root user -
in /opt  - the ZIP file already provides the base folder "eclipse".

If you have a recent KDE up and running, you also have Qt4. If not, install
the most recent package (probably 4.5.3) including the SDK, at least, or the
complete source package. Have the GNU GCC and MAKE also installed.


Qt - Eclipse integration:
http://qt.nokia.com/developer/eclipse-integration

Again, choose the best fit. Another ZIP file, you'll have to decompress it
in /opt/eclipse (if you are following my example) because it is a plugin and
the ZIP file doesn't provide the "eclipse" base folder.

Option: Qt help files for eclipse:
http://get.qt.nokia.com/qteclipse/

Once again, choose the best fit according to your Qt version among the files
starting with "com.trolltech.help....". Another ZIP file, decompress it in
the folder "/opt/eclipse/plugins".

Start eclipse in a terminal typing /opt/eclipse/eclipse

Set up the Qt path entries by selecting the "Window/Preferences" menu,
selecting the Qt on the left panel, click on the "Add" button on the right
upper corner, fill in the version number and the paths to the binaries and
the include files. This depends on your Linux distro.

After that, select the "Window/Open Perspective/Other" menu and pick the "Qt
C++".

That's it. Hope it helps.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100117/6f5c40f4/attachment.html 


More information about the Qt-interest-old mailing list