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

Widget crashes during setAttribute(Qt::WA_WindowPropagation)

    XMLWordPrintable

Details

    Description

      The following lines will crash Qt:

      QWidget* w = new QWidget(nullptr);

      w->setAttribute(Qt::WA_WindowPropagation);

      Crashes with Qt 5.9, but not previous versions. Adding a parent to the widget will eliminate the crash. See attached project. 

       widgetbug.tar

      Attachments

        For Gerrit Dashboard: QTBUG-61213
        # Subject Branch Project Status CR V

        Activity

          People

            richard Richard Moe Gustavsen
            skycrestway Gary Holmlund
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes