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

Qt Creator does not show QStringList content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 4.3.0-beta1
    • Qt Creator 4.2.1
    • Debugger
    • None
    • Windows 7 64bit

    Description

      QtCreator 4.1.1 show QStringList well in this same code. 4.2.1 can't.

      #include <QCoreApplication>
      #include <QString>
      #include <QVector>
      
      struct CorePrivate
      {
          QVector<QStringList> names;
      };
      
      int main(int argc, char *argv[])
      {
          CorePrivate *p = new CorePrivate;
          p->names.push_back(QStringList());
          for (int i = 0; i < 10; ++i)
              p->names[0].push_back(QString("test: ") + QString(i));
      
          delete p;
      
          return 0;
      }
      

      Attachments

        1. 1.png
          48 kB
          Yuchen Deng
        2. QStringDebugExample.rar
          3 kB
          Yuchen Deng
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            loaden Yuchen Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes