Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.2.1
-
None
Description
When you run qmlplugindump with Qt 4.8.5 MSVC2010:
%QTDIR%\bin\qmlplugindump -path ./MyItemComponent > ./MyItemComponent/plugins.qmltypes
You will get:
import QtQuick.tooling 1.1 // This file describes the plugin-supplied types contained in the library. // It is used for QML tooling purposes only. Module { Component { name: "MyItem" defaultProperty: "data" prototype: "QDeclarativeItem" exports: [ "MyItem 1.0" ] exportMetaObjectRevisions: [ 0 ] Signal { name: "test" Parameter { name: "num"; type: "int" } } Method { name: "start" } } Component { name: "QEasingCurve"; prototype: "QDeclarativeEasingValueType" } }
With Qt 5.2.1 MSVC2010 (ANGLE):
%QTDIR%\bin\qml1plugindump -path ./MyItemComponent > ./MyItemComponent/plugins.qmltypes
import QtQuick.tooling 1.1 // This file describes the plugin-supplied types contained in the library. // It is used for QML tooling purposes only. // // This file was auto-generated with the command 'E:\Qt\Qt5.2.1\5.2.1\msvc2010\bin\qml1plugindump -path ./MyItemComponent'. Module { Component { name: "MyItem" defaultProperty: "data" prototype: "QDeclarativeItem" exports: ["MyItem 1.0"] exportMetaObjectRevisions: [0] Method { name: "start" } } Component { name: "QEasingCurve"; prototype: "QDeclarativeEasingValueType" } }
As you see signal definition is missing.
All related source code you can find in attachment.