Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. not able to view vectors or strings
Forum Updated to NodeBB v4.3 + New Features

not able to view vectors or strings

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 862 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tony67
    wrote on last edited by
    #1

    Hi All,
    I've just noticed that "suddenly" qt creator isn't displaying strings and vectors. It's just showing <not accessible>. I'm unsure when this started, but it's recent, formally I could view then no problem.

    I'm using lubuntu 15.04, creator 3.1.1 , Based on Qt 5.4.1 (GCC 4.9.2, 64 bit).
    I have added c11 to my pro file a few days ago, but it's difficult to remove this now.

    Can anyone advise, is there something I might have turned off, or has a bug been introduced lately?

    Thanks

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      hi
      try
      Tools -> Options -> Debugger -> GDB tab
      Uncheck the option (Load system GDB pretty printers)

      worked for me.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tony67
        wrote on last edited by
        #3

        Thanks! That did it. Sorry to ask but how did you work that out? Was there a logic or did you just randomly click on off options? It would never have occurred to me to do this.

        mrjjM 1 Reply Last reply
        0
        • T tony67

          Thanks! That did it. Sorry to ask but how did you work that out? Was there a logic or did you just randomly click on off options? It would never have occurred to me to do this.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          @tony67
          well I found it on google
          as in windows Qt,
          it did show me vector<xx> and in linux it did not.

          So I searched like around and think i got it of Stack Overflow.
          I tried some stuff before so I remember it clearly as it drove me slightly nuts :)

          So all credits to SO person :)

          Also, yes for the text/sound of that option, I would have bet my house it was not that option. :)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved