Results 1 to 4 of 4

Thread: can't show value of variant

  1. #1
    Join Date
    Jul 2009
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default can't show value of variant

    when in debug mode, i have tried in windows xp and ubuntu 9.04. can't get the value of QString in Locals and Watchers, can get the value of interget type. anyone can tell me the reason and how to solve it. i have tried many times. and i rebuild the debugging helper in the version in option. it also can't load the value.
    i use qDebug can output the value. any help is appreciated.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: can't show value of variant

    Don't you think you should have mentioned that you use Qt Creator? This is, by the way, a wrong section too. Moving the thread...
    J-P Nurmi

  3. #3
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: can't show value of variant

    Did you build your debugging helpers?

  4. #4
    Join Date
    Jul 2009
    Location
    Italy, Pieve Ligure (GE)
    Posts
    55
    Thanks
    7
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: can't show value of variant

    Quote Originally Posted by guchangyuan View Post
    when in debug mode, i have tried in windows xp and ubuntu 9.04. can't get the value of QString in Locals and Watchers, can get the value of interget type...
    If you did not so already, upgrade to QCreator 1.2.1: integrated debugging has significantly improved, not perfect yet, but waaaaay better (and all the issues you describe have been fixed).

    Ciao,

    M.

Similar Threads

  1. problem with show Chinese
    By osmanthus in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2009, 02:49
  2. Replies: 1
    Last Post: 23rd November 2008, 14:11
  3. Replies: 8
    Last Post: 16th July 2008, 14:05
  4. The show() method...
    By salmanmanekia in forum Qt Programming
    Replies: 8
    Last Post: 18th June 2008, 07:32
  5. Show dialog in screen center
    By mourad in forum Qt Programming
    Replies: 1
    Last Post: 16th June 2008, 13:41

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.