So it is easier to use QImage as argument.
Change-Id: Ia699e9317339c4cb4ae3b69432fc0e720f08fe95
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
That is preventing almost all allocations for arguments. So they are
cheaper now. The reserve is removed to prevent any accidental
allocations.
Change-Id: I6b6f57ead126f9f7d07f9c4d41f53b0488a80ae8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
There can be more than one flow connection from a slice. So we can
simply copy the FlowToken. That makes it possible to capture them with
std::function too.
Change-Id: I5c36de92e8eba8da3839d1d6670cdeb795d84554
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
It seem that some of the event queue destructor never get called.
QCoreApplocation finished was used for clean up but the signal comes
quite early.
Change-Id: I5f143d0754a704e47e617828c1b7f5b58aad31ed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
To avoid any overhead for non activated categories we only take
references and if the the category is activated we create a string. But
std::forward_as_tuple() is not very readable.
So there is now keyValue(), dictonary() and array().
So you can now write keyValue("ids", array(foo, bar, hoo)) or
keyValue("ids", dictonary(keyValue("foo", foo), keyValue("bar", bar)))
and so on.
Change-Id: I08d268764d43fcf137b628f5d42ec37aaadd3b1a
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
3D edit view can now be split into four separately controllable
views. Each view has its own edit camera. Only one split can
be 'active' at a time. Split is activated by mouse press or
wheel event when the cursor is above the split.
Transform gizmos are visible only in the active split.
Task-number: QDS-10921
Change-Id: I59772f64bab9bcbe469daee3a717c0e1a382f01b
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Still some issues related to UI components because it's never tested
Also quick fix for generated paths on windows (not tested)
Task-number: QDS-10987
Change-Id: Ifed4b0f687e8da78206985e031692aa6c9faf947
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
In the worst case scenarios we either track unregistered files or do
not track the files that had been registered. Both are less intrusive
than a crash.
Change-Id: I880d80dddc401fd996ac1f18e82414665510fd30
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If multiple recordings were made in a row, the crop area was reset each
time and had to be reselected by users. This change implements the
retaining of the cropping area during the lifetime of the Recording
dialog, as long as the clip size does not change.
A potential trap is now, though, that the cropping area remains the same
even if the screen gets changed or the screen recording area was just
moved. But I believe that the new convenience outweighs this corner
case.
Change-Id: I0326dfcad6827b2d504a4e309891824b16b6a47c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
It is "menu bar", and use placeholder for shortcut instead of
concatenation.
Change-Id: I60094a5fac3893663180f7ef573b6dece7670111
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
- add missing colons
- rejecting unauthorized certificates is the secure option, turning it off is
insecure
Change-Id: Ia09994ea75460fd5ebdd8354412d3122bd32eeed
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Qt applications are built with "-mno-direct-extern-access" these days,
which throws off clang-tidy.
Change-Id: Ifaaef84f6da37a0abb7b7a68296723fa41b572a7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
It is clearer to name the "accept" button after the action that is
performed when clicking it.
Change-Id: I1153169d48082e95722150a4cfcd92939ba92889
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Fixes wrong handling of multiple qrc files when having just a
single prefix.
Change-Id: Id5ac357d4ab6a7f7556b36a9fc44da398ede093c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The number for the plural must be given as the 3rd argument
to the tr() call, not as an arg().
Amends 1359e9c84f
Change-Id: I45241a6acd82041c320bbe476cd2b4cc92247ef3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Deactivating the documents resets all client specific data and objects
in the document like the formatter or highlighting information.
Fixes an assert in the LanguageClientFormatter.
Change-Id: I7069abb273749ae335fed11010a5055eacaf58b2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Do not check the existence of remote interpreters when opening the
settingspage since we could run into device timeouts for unreachable
devices.
Change-Id: I5d0d1316961fc4ecbd2be55f6df70091ff65ecd5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
We usually do not use the "Label [ ]" style, at the very least it looks
different to other places in the settings. And without a ":"
("Label: [ ]") it also looks different to other lines in the same page.
Just use normal checkboxes like we do elsewhere.
Change-Id: I7f7d7aab399bef50dacb1efd83a5da460237e044
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
In order to preview a specific (QML) file, a QML Preview process has to
have been started, before. The "Preview File" context menu action was
therefore disabled until at least one QML Preview was running. This
precondition is neither documented nor evident to users.
This change removes the disabling/enabling of the context menu action
and shows an explanatory message box for the case that no running QML
Preview is available.
Fixes: QTCREATORBUG-29300
Change-Id: I643c57cab15ef4893a8efa6ac8839a3c00e956fb
Reviewed-by: hjk <hjk@qt.io>
* All log categories that were ever used are captured.
* Fixed various small issues.
* Allow disabling individual logging types.
* Add Splitter between messages and categories.
* No longer needs to interpret or change QT_LOGGING_RULES.
Change-Id: I33be4754d550064bc66274f655a59e7af67ae487
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This way CMakeProjectManager's auto-setup.cmake would pick it up and
find vcpkg.exe
Change-Id: Iafa84f13e0f50321ce771fc687ecc9e2df148de7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This triggered soft asserts in FileUtils::copyIfDifferent() when
opening top-level qt.
Amends 246f33c20d which introduced a unwanted extra .parentDir() call
which removed part of the path.
Change-Id: Id0475a74a589372d37b7ec65d33d3faf6194013c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This is used in ProjectConfigurationModel::data()
Constructing the full list is comparatively expensive, and the extra
decoration is not needed.
Change-Id: I5b6c76376f806ea92444916a87d1f2e671e16d5f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
CONAN_COMMAND was not available for `conan_profile_detect_default`
function.
Change-Id: I03df06aa88e6588101bb5ec54b3ce2cb64dee2c8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Make the documentation for using QtMCUs design studio easier to locate
for new users by showing an InfoBar notification with the link to the
online documentation.
Task-number: QDS-10332
Change-Id: I9344216ef36369cdfb284ab18dba91cd0b5d4c92
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>