Results 1 to 8 of 8

Thread: Eclipse/GDB: How can I see QString content?

  1. #1
    GodOfWar Guest

    Default Eclipse/GDB: How can I see QString content?

    Hi!
    I'm using Eclipse to debug Qt Applications but I've got some problem with QStrings.
    I've installed the latest Qt libraries ( 4.5.0 ) and the latest Eclipse Integration (1.5) but I cannot see the content of QStrings in GDB.
    I've tried to recompile QT manually with the debug option but nothing changed.
    It's the same under XP and under Linux.
    Is there something missing?

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Eclipse/GDB: How can I see QString content?

    I remember seeing the detailed article about this but can't find it. Right now I have another one. Here it is http://silmor.de/46.
    I'm a rebel in the S.D.G.

  3. #3
    GodOfWar Guest

    Default Re: Eclipse/GDB: How can I see QString content?

    Quote Originally Posted by lyuts View Post
    I remember seeing the detailed article about this but can't find it. Right now I have another one. Here it is http://silmor.de/46.
    Thank you for your reply. So I suppose my configuration is good but the Qt Eclipse Integration doesn't provide the feature I want. Sigh.

  4. #4
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Eclipse/GDB: How can I see QString content?

    I'm not sure, but I think Qt Eclipse integration should handle this. Did you look through its options in eclipse?
    I'm a rebel in the S.D.G.

  5. #5
    GodOfWar Guest

    Default Re: Eclipse/GDB: How can I see QString content?

    Quote Originally Posted by lyuts View Post
    I'm not sure, but I think Qt Eclipse integration should handle this. Did you look through its options in eclipse?
    Yes but I couldn't find any option. The only thing I can do is to set the Qt version ( with the respective path ) I want to use.

  6. #6
    GodOfWar Guest

    Default Re: Eclipse/GDB: How can I see QString content?

    Since Eclipse isn't able to properly and comfortably debug Qt Applications, what do you use for that purpose?
    I've given a try to QtCreator 1.0 but it lacks of usability in the project management department, so I'm going to move back to KDevelop.

  7. #7
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Eclipse/GDB: How can I see QString content?

    Quote Originally Posted by GodOfWar View Post
    Since Eclipse isn't able to properly and comfortably debug Qt Applications, what do you use for that purpose?
    I've given a try to QtCreator 1.0 but it lacks of usability in the project management department, so I'm going to move back to KDevelop.
    You could also give a try to Qt4 IDEs (just have a quick look in the Qt Software section and you will find four). I'm not sure about the others but Edyuk can show the content of a QString (you'll need to use the SVN version though).
    Current Qt projects : QCodeEdit, RotiDeCode

  8. #8
    Join Date
    Oct 2007
    Location
    India
    Posts
    162
    Thanks
    20
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Eclipse/GDB: How can I see QString content?

    Try QDevelop (http://qdevelop.org/)

Similar Threads

  1. Qy 4.4.3 MySQL driver failed
    By pamalite in forum Installation and Deployment
    Replies: 2
    Last Post: 23rd January 2010, 01:09
  2. Custom Model Advice Requested
    By mclark in forum Qt Programming
    Replies: 3
    Last Post: 18th September 2008, 16:26
  3. how to copy QString content into array
    By eric in forum Qt Programming
    Replies: 12
    Last Post: 14th November 2007, 23:13
  4. QString static callback function from CURL
    By tpf80 in forum Qt Programming
    Replies: 12
    Last Post: 16th May 2007, 20:47
  5. Convert from iso-8859-1 to... Something else :-)
    By Nyphel in forum Qt Programming
    Replies: 4
    Last Post: 7th March 2007, 17:59

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.