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

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

XMLWordPrintable

    • Windows

      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.

        1. qtbug110815.zip
          6 kB
          Kevin Zhang
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes