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

qmlplugindump does not dump plain qml files in qmldir and needs to be deprecated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.2
    • 5.15.2, 6.0.0
    • QML: Tooling
    • All
    • 953ea29328db71ac7a8ef177ecbc2329367b9170 (qt/qtdeclarative/dev)

      Hi, I'm trying to use qmlplugindump to ease API updates reviews of our QML code base, but it seems qmlplugindump will not dump the QML types exposed from pure QML files.

      For example, with the following files:

      mymodule
      \_ test.qml
      \_ test.js
      \_ qmldir
      
      qmldir:
      module mymodule
      Test 1.0 test.qml
      TestJs 1.0 test.js

      the output of qmlplugindump is empty. The only way to actually dump the contents is to make the QML objects singletons, which I guess will trigger their instantiation when the qmldir file is processed, allowing qmlplugindump to collect their information.

      On a side note, do you know of a tool that would better fit the job of reviewing API changes to QML/JS files ?

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes