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

Deployed quicknanobrowser crashes on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.1
    • 5.5.1
    • WebEngine
    • None

    Description

      Example quicknanobrowser crashes if it is deployed by windeployqt on Windows.

      Problem is around the following part of the examples/webengine/quicknanobrowser/main.cpp

      appEngine.load(QUrl("qrc:/ApplicationRoot.qml"));
      QMetaObject::invokeMethod(appEngine.rootObjects().first(), "load", Q_ARG(QVariant, startupUrl()));
      

      appEngine.rootObjects() is empty. It seems the QQmlApplicationEngine::load() function is not done when appEngine.rootObjects() is called.

      Attachments

        1. quicknanbrowser-crash.png
          41 kB
          Peter Varga
        2. quicknanobrowser-stacktrace.log
          1 kB
          Peter Varga

        Activity

          People

            pvarga Peter Varga
            pvarga Peter Varga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: