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

Compiler does not detect when internal type is referenced from outside of module

    XMLWordPrintable

Details

    • Windows

    Description

      Related to QTBUG-110815

      When attempting to reference an internal type from outside the module the compiler and linter do not detect any errors or give any warnings.

      At runtime the error "<internal type> is not a type" is thrown.

       

      To reproduce, build attached example.

      Notice that in main.qml the compiler and linter allow the usage of "InternalType" and detect it as a usable type.

      Attachments

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

        Activity

          People

            olivier.decanniere Olivier De Cannière
            kevin.zhang Kevin Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes