ContentLibraryView::exportLib3DItem() updated to work with materials.
Fixes: QDS-12905
Change-Id: If09b361851db366ef4ce4f1597d272fe5006e599
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Many materials require hdr light probe in the scene to show up nicely
in the preview, so added a default light probe to the 3D import
preview scene.
Fixes: QDS-12901
Change-Id: I53cce8fc1951fa928c47b9b65cdfba57467621de
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Preview image and some additional info are now shown on 3D import
dialog's list of imported objects. Individual items can be removed
from the list by clicking "x" button on the list or pressing delete
key.
Fixes: QDS-12900
Change-Id: Iad366ea308203a25bc3379b47c1d9c4f75f13fa7
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Also zlib dependency is added.
ZipWriter/ZipReader were taken from qtbase
(b85a9d0ee16e3bdc817eb1e8a8f85026e631b401)
Change-Id: I5ab68c91fe97f06d65fb43a78949b0d6569eb6a4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Also the ui for the material editor preview is changed.
Task-number: QDS-12928
Change-Id: I37cdb5f5f0b701fd0eb9b00f837a7e5738829ea3
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Fix the undefined warnings coming from the EffectsSection.
Change-Id: If5279a59dfe9ad10e49291e8280ac24ca1e3ce8e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Instead of mat, mat copy, mat copy copy, mat copy copy copy, etc
It becomes: mat, mat copy, mat copy1, mat copy2, etc
Change-Id: If336bb21ed8384d17e58df6c31480b5484f4e423
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
and use the Qt and QtQuick version specified in the qmlproject file.
Fixes: QDS-12799
Fixes: QDS-12798
Change-Id: I1b7cec3f3a1cc4c9e2c70a60a68e2acce0ce4b7e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This patch updates the Layout document. Removing old tables
as they are now mostly in tooltips. Also, it tries to
structure the instructions and slightly fix the wording.
It adds an example for Qt Quick Layout workflow and explains
how properties should be used to adjust the components
in the Layout.
Fixes: QDS-12282
Change-Id: I10ec4d8f527c605632843b23007c54c87b22fd86
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Imported items are shown on a list in import dialog and a preview is
generated for each. Options are also specified per-import rather
than applying to all imports.
Fixes: QDS-10806
Change-Id: I6be09880afc0f8886585c4e768da1197b46bc71a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Previous the Qt UI Viewer doc did not have the information
that it requires enterprise license. The patch updates this
information.
Fixes: QDS-12849
Change-Id: I9a6eac24aacb68f74eefa0ccc77cce2fd388190e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
It offers an clean interface to disable warnings
Change-Id: Ia19360994d7ca439d067d2370d001d5aeae3999d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
A header component is defined in PropertyEditorPane.
This header can be docked to the top.
A header is defined for MaterialEditorPane
Task-number: QDS-12851
Change-Id: Ie5393f917803241da1f286bd05c226fd055b1174
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Example version should be <= QDS version to show in the examples.
Fixes: QDS-12853
Change-Id: Iaa4e6244a5451e05672f9001a0d74ef84144b1bc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
to_underlying was added to C++23 to get the underlying integer type for
an enumeration.
Change-Id: Ib7262882a47cf4b060cff428bb10a6a65c089fc5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Never use a cast for a dependency injection. If it can not be null use a
reference.
Task-number: QDS-12883
Change-Id: Ie63a4968f264587a8781f04fa10048e1a7371e44
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Optional and unexpected have a interface designed after pointer usage.
That cannot throw exceptions. They added continuation too. That is
making it harder to make mistakes.
Change-Id: Ie9d41a2e69c7467a7e4ac4999825aede1326e529
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
If the prototype or extension has an unresolved id, it needs to be
checked, if an exported name belonging to the prototype or extension was
updated. In that case the id has to be again resolved.
Task-number: QDS-12761
Change-Id: I7a733662cf37e13e8c2db53dec5a4f3e0a9b6ecf
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Channel properties were saved as regular int properties to .qep files,
making the property control incorrect once you reopened it in effect
composer.
Fixes: QDS-12835
Change-Id: I833763f385e64420bc5f1a1da9266869e739d3be
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Parsing entries like:
"name=value=this" would drop the "value=" part from the environment variable.
This patch fixes that.
Fixes: QTCREATORBUG-30844
Change-Id: Ia50d4180bd8f966f61f92e550b046c8ece529e1b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
QLockFile documention states:
When protecting a resource over a long time, however, the
application should always call setStaleLockTime(0ms) and then
tryLock() with a short timeout.
Without the 0ms stale lock time the new Qt Creator instance would think
that the lockfile is stale and starts a new instance!
Amends dd1c9d1b71
Fixes: QTCREATORBUG-30624
Change-Id: I0c0166239242895e25c7bf05d59a371cd0295758
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
QTemporaryFile was used just to generate file names for shader files,
and the actual files didn't get removed at shutdown. There was also
a possibility of reloading effect quickly, which left additional
dangling compiled qsb files because they are generated asynchronously
with a separate process.
Now temporary shader files are gathered into one temporary directory,
which removes itself at shutdown, so dangling files won't be an issue.
Fixes: QDS-12711
Change-Id: I7ce682acb1a0d8d58b84129c4e0442c8fb63ac2f
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Look-at gizmo can be toggled from visibility toggles submenu.
Look-at gizmo is hidden when fly mode crosshairs is visible.
Fixes: QDS-12767
Change-Id: I2c71b23f14e403c9774498937764607cfea3bd1d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Got rid of the separate accept button. Now the import button turns into
accept button after preview is shown, as long as user hasn't changed
any options.
Import preview is also generated automatically using default options.
Fixes: QDS-12822
Change-Id: I5f1080f855cf1ba09e917cef7741534c0fb16d8c
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>