Results 1 to 3 of 3

Thread: Not able to see QString values with even when using pretty printers

  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Not able to see QString values with even when using pretty printers

    Hi,
    I am not able to see QString values in my Qt creator(As I am attaching external c++ application, which isn't build using QtCreator).
    So i am using pretty printers to view QString values even then I am not able to QString values.

    The thing is that I am able to see these values in Debugger Log window(Windows->view->Debugger Log ) when I did as below
    source ~/.gdbinit
    print qstring_varible -> values are getting printed properly in Debugger Log window

    But when I hover over the variable I am not able to see these values instead I could see <not accessible>

    Environment;
    Qt creator : 3.2.1 , Lib : qt4.8.4, python: 2.7, OS: SLES11 & tried both gbd741 & 751

    is there something wrong with this setup ??
    Thanks :-)

  2. #2
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Not able to see QString values with even when using pretty printers

    Any help from experts.
    I saw plenty of posts for similar issue with out a standard solution :-(
    Thanks :-)

  3. #3
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Not able to see QString values with even when using pretty printers

    gdb 7.10 which supports python & Qt Creator 2.8.0 did the trick for me & Now I am able to see all the Qt types for my project.
    Make sure that Tools->options->Debugger->Local & Expresions "Use Debugging Helper" checked.
    Thanks :-)

Similar Threads

  1. Replies: 4
    Last Post: 27th July 2015, 06:46
  2. Replies: 7
    Last Post: 3rd April 2014, 13:56
  3. How to access QString characters values
    By rdelgado in forum Newbie
    Replies: 7
    Last Post: 15th November 2010, 15:01
  4. Replies: 4
    Last Post: 1st February 2010, 15:21

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.