Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-4185

Empty visualization for QVariant of QString

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • Qt Creator 2.2.0
    • Debugger
    • Windows 7 (64), Qt 4.7.1, CDB, MSVC 9.0
    • f628bcbd818b40a05d0cf5842c3977f83f24dabb

    Description

      I'm able to inspect the value of a QVariant for a few types. For instance, when it's assigned to an int 7 the display shows me this:

      (int) 5

      However, when the QVariant is assigned to a QString object containing "Hello", for example, I see the QString type detected correctly but with an empty string. Like this:

      (QString)""

      Attachments

        1. log.txt
          4 kB
        2. log2.txt
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            leamelo Leandro T. C. Melo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes