3D import preview can now be rotated using left mouse button and
dragging the preview image. This causes camera to orbit around the
previewed model, similar to rotation to 3D edit view orbit camera.
Close/Cancel button logic was also improved.
Fixes: QDS-12795
Change-Id: I0c7d1ad28f8fe779b9bedc4bf76be704078d91a6
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
We do not use "Label: [ ]", we use normal checkboxes of the form
"[ ] Label"
Amends 2166647682
Change-Id: If77b44fe4d27f9bec749f47b6675189d8e8a070f
Reviewed-by: hjk <hjk@qt.io>
Puppet used to return just string for enumeration types.
Now it will use Enumeration type properly.
Change-Id: I602891e34c03cb659ee0a8e4571b39b6e24f9e1c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This patch adds some of the Qt Academy course links in
the relevant documents.
Fixes: QDS-12747
Change-Id: I8309681869922be3277e775c312ffa1210d64a29
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
In `IDevice: Replace QSharedPointer with std::shared_ptr' (#536681), the
type of IDeviceConstPtr has changed to use std::shared_ptr, but the code
in RunControl was not updated, leading to compilation error:
error: no member named 'isNull' in 'IDeviceConstPtr'
421 | if (!device.isNull() && device->type() == ...
| ~~~~~~ ^
1 error generated.
Change-Id: I812034f37b14c9c62040f09e039a68eb4edfd4d6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
If the platform configuration doesn't include Sccache in the features list,
we should not use sccache for building.
Change-Id: I3ab459165e77923f59f037f844bd72e89abfd42b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Don't run blocking processes in a separate thread.
Run them asynchronously from the main thread.
Change-Id: I5343f05d992d974720e786e2814cba2d6b295cd4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Allows the user to directly start typing in additional information for a
bookmark after triggering the shortcut. This seemed to have happened
automatically before, but since this is desired behavior anyhow it's
okay to call it explicitly.
Fixes: QTCREATORBUG-30829
Change-Id: I77eef2092052e61397f3a73f15c32e909eda01a0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Add them to the global future synchronizer, so they are canceled and
waited for before deleting any plugin instances.
Change-Id: Iec78b7566905815c4d2b4cc7410d10b2da16c7b7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
The variable name "version" had changed to "pluginVersion".
Change-Id: I8299593a4888191e931fed74dc9a4052503fe682
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Also change the class to namespace, rename "get" to "generate"
and add unit tests.
Change-Id: Ib52bf7e3e0110e33acb40ca6e3d9bfc61cefdca0
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Use the global synchronizer from Utils::futureSynchronizer() directly
Change-Id: Ic8843bc1ff7951c041529a258f36117f08ec4b35
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
... and make use of it in ClangdClient.
When a file gets saved, clangd checks all open documents for whether they
are affected by that. While the answer is usually "no", there is still
one thread per document being started to find that out, which triggers
users who keep a close watch on CPU usage. To alleviate this, we now
send the didSave message only for header files.
Fixes: QTCREATORBUG-28580
Change-Id: Id761cec8b04e95a795c8bd8754466bf03b6f2c28
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
This patch updates the Qt Design Studio to Qt Creator workflow.
Adding the new way to generate CMake and then importing it in
Qt Creator.
Fixes: QDS-10787
Change-Id: I31c54c92ddca8872977ac066d06d7877e3770671
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Move the global FutureSynchronizer to Utils and use it
by default for AsyncTask (if that is in the main thread).
This way setting a synchronizer is less prone to be forgotten.
Individual uses can still override this.
Change-Id: I1a12bf4d7f4cb5be99668bf0a4797108c2fe6448
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Show preview of 3D import in item library import dialog
when importing a single 3D asset.
Fixes: QDS-11111
Change-Id: I13135be1e931cbee034ca8a89654c0827b937bdf
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Actions were deleted after being inserted into actionsToRemove,
which caused them to get deleted again, leading to crash.
Change-Id: If6597f117859ca92cfc5af67c730e2f84e5c0639
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
A workspace project can be utilized to open projects that either do not
have a project manager or which uses a project manager we do not support
natively. The workspace project basically scans the folder recursively
and adds all files and folders to the project tree.
The user can provide a project name in the .qtcreator/project.json
project file. It is also possible to exclude files and subdirectories
from the project via the project trees context menu.
Change-Id: If84a4d96c6217ae024af4e2869eb600e1faad372
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Otherwise, the newly created device is going to be removed
and recreated on subsequent HandleAvdsListChange()
causing flickering of the devices combobox in settings.
Change-Id: Idcf58f24eb7f4d4200881cfa912d0866f54d362a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
- Merge cppquickfixes.{h,cpp} and cppquickfix.{h,cpp}.
- Remove unused functions, classes and typedefs.
- Some renamings and adaptation of comments.
Change-Id: I1fbcec7ee227f068527fb57552eb161a7e98bf9f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Some editions to comply with the MS Style guide and to
improve the structure.
Task-number: QDS-12670
Change-Id: Iddb0778327880ec65bdb590d1e02e4ca15e72051
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>