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

Deployed quicknanobrowser crashes on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.5.1
    • Component/s: WebEngine
    • Labels:
      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

            Assignee:
            pvarga Peter Varga
            Reporter:
            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