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

When creating the QML extension plugin (Qt Quick 2 Extension Plugin), the content of the plugin.qmltypes file generated by using the ChartView of the QtCharts module is empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.15.2
    • Other
    • None
    •  Qt 5.15.2 (MSVC 2019 64 bit).
    • Other

    Description

      The command window used is Qt 5.15.2 (MSVC 2019 64 bit).

      Detailed questions:

      When I was creating the QML extension plugin (Qt Quick 2 Extension Plugin), when my component used the ChartView of the QtCharts module (i.e. using ChartView in the QML file), and after compiling the custom extension, when using the command(”qmlplugindump -nonrelocatable My.Controls 1.0 D:/QtWorkSpace/My-Controls/imports > D:/QtWorkSpace/My-Controls/imports/plugin.qmltypes“) to generate the plugin. qmltypes file, the file content was empty and there were no errors or prompts after executing the command; When I comment out the ChartView in all qml files in the extension plugin, then compile it, and finally execute the command(”qmlplugindump -nonrelocatable My.Controls 1.0 D:/QtWorkSpace/My-Controls/imports > D:/QtWorkSpace/My-Controls/imports/plugin.qmltypes“) to generate the plugin. qmltypes file, the content is generated normally

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            jfccg JIEBIN CAO
            Lorn Potter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes