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

QQuickWidget crash calling 'show'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.2
    • Quick: Widget
    • None
    • Windows

    Description

      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);    
          QQuickWidget *view = new QQuickWidget();    
          view->setSource(QUrl(":/Tinta/Resources/qml/rect.qml"));
          view->show();
      }
      
      

      rect.qml

      import QtQuick 2.0Rectangle {
          id: page
          width: 320; height: 480
          color: "lightgray"    Text {
              id: helloText
              text: "Hello world!"
              y: 30
              anchors.horizontalCenter: page.horizontalCenter
              font.pointSize: 24; font.bold: true
          }
      }
      

      stack trace attached.

       

       

      Attachments

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            doug_rogers Doug Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: