Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13875

Regression: appending strings to QList<QString> crashes application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • 4.7.0
    • 4.7.0
    • None
    • None
    • S60 3.1

    Description

      Can't use 4.7.0 because of tis bug.
      Appending strings to QList<QString> crashes application

      Here is sample code:

      #include "mainwindow.h"
      #include "ui_mainwindow.h"
      
      MainWindow::MainWindow(QWidget *parent) :
          QMainWindow(parent),
          ui(new Ui::MainWindow)
      {
          ui->setupUi(this);
      
          QList<QString> strings;
          strings.append("first");
      }
      MainWindow::~MainWindow()
      {
          delete ui;
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            liaqi Liang Qi
            petri1 petri1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes