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

Inconsistent behavior regarding C++-based types in the implicit import

    XMLWordPrintable

Details

    • ce005eae5 (dev)

    Description

      When referencing a C++ based type contained in the implicit import, qmlcachegen and other compile time tools will accept it, but the QML engine at run time won't.

      Since the implicit import is of lowest priority I can't see a way to use this to miscompile, but it is still bad.

      Which way should we resolve it? Should the engine load C++-based types from the implicit import or should the compile time tools reject them?

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-109109
          # Subject Branch Project Status CR V

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes