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

adding in a qmldir file a JavaScript file that imports a registered type prevents application from running

    XMLWordPrintable

Details

    Description

      If a JavaScript file is added to a qmldir file and that JS file imports a module, application will get stuck before showing the main qml file.

      How to reproduce:
      create a library that uses qmlRegisterType, create a JS file and import previous registered type, add JS file to qmldir, an application that uses a qml type in that library won't run.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            iktwo Isaac Salazar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes