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

qmltyperegistrar should print a warning if it doesn't find any types

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.7
    • 5.15, 6.2
    • QML: Tooling

    Description

      If qmltyperegistrar runs and does not find any relevant class, it will happily generate a registration function (which apparently isn't exported in that case).

       

      As it is unlikely that an empty QML module is intended, we should probably print a warning - though we have to verify how that interacts with pure QML modules.

      Attachments

        Activity

          People

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: