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

~QApplication blocks with gdb if QQuickWidget isn't initialized completely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.9.4, 5.10.1, 5.11.1
    • Quick: Widget
    • None
    • Linux/X11, Windows

    Description

      If the following code is executed with gdb it will never exit.

      #include <QApplication>
      #include <QQuickWidget>
      
      int main(int argc, char *argv[])
      {
        QApplication a(argc, argv);
      
        auto *w = new QQuickWidget();
        // w->engine(); // works fine if uncommented
        delete w;   // optional
        w = nullptr;// optional
      
        qWarning() << "Exit";
        return 0;
      }
      

       

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            prueckl thomas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes