diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2020-03-24 13:51:16 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2020-03-30 07:59:03 +0000 |
commit | 6cf8d7d64572b01c180740c81708d3b02b528a3b (patch) | |
tree | 988b162ce99e754334da7397ea7935a845008d4d /share/qtcreator/qml/qmlpuppet/qmlpuppet.qrc | |
parent | 27f6e838ee2965b508bd6422dac76817b4070bdb (diff) | |
download | qt-creator-6cf8d7d64572b01c180740c81708d3b02b528a3b.tar.gz |
QmlDesigner: Create thumbnail for imported 3D assets
Qmlpuppet now allows creating icon from qml source code.
Invoke qmlpuppet with following arguments to create icons:
--rendericon <size> <icon file name> <icon qml source>
E.g. --rendericon 24 ~/my_icon.png ~/my_icon.qml
Two icons are created, one with size x size dimensions and
one with double the dimensions and "@2x" injected into the file name.
3D asset import utilizes this icon rendering to produce item library
icons for imported components.
Change-Id: I92c62c80d961f5f61a0ce1c09b32bbcbf80ea56c
Fixes: QDS-1052
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/qmlpuppet.qrc')
-rw-r--r-- | share/qtcreator/qml/qmlpuppet/qmlpuppet.qrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/qmlpuppet.qrc b/share/qtcreator/qml/qmlpuppet/qmlpuppet.qrc index 0585896fed..81f28c13ed 100644 --- a/share/qtcreator/qml/qmlpuppet/qmlpuppet.qrc +++ b/share/qtcreator/qml/qmlpuppet/qmlpuppet.qrc @@ -7,6 +7,7 @@ <file>mockfiles/SwipeView.qml</file> <file>mockfiles/GenericBackend.qml</file> <file>mockfiles/Dialog.qml</file> + <file>mockfiles/IconRenderer3D.qml</file> <file>mockfiles/EditView3D.qml</file> <file>mockfiles/EditCameraController.qml</file> <file>mockfiles/Arrow.qml</file> |