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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes