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

Internal types are both public and internal in generated qmldir file

XMLWordPrintable

    • 577e1dea2 (dev), d15efae7e (dev), 3526ac3f9 (6.5), b7cf4ec03 (6.5)

      To reproduce, build attached example. The resulting qmldir file contains Internal.qml both as a normal type and also as an internal type.

      I guess it is because starting from here, it first writes the normal stuff, then the internal line after the loop.
      https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/qml/Qt6QmlMacros.cmake#n2109

      A side note: should singleton also be possible for internal there

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

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes