Commit Graph

88653 Commits

Author SHA1 Message Date
Leena Miettinen
52a6d2ab6b Doc: Describe the Preferences > "Sort categories" option
Task-number: QTCREATORBUG-29392
Change-Id: Icfe9caa387fdf809be136b813de6b9ffe4a05718
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-31 10:37:49 +00:00
Brook Cronin
dca7f6121c QmlDesigner: Make toolbutton include label
Task-number: QDS-9220
Change-Id: I91b30b0f1d8b94662492c0480ec216b2eaff3339
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-10-31 10:35:33 +00:00
Thomas Hartmann
857b4a67bb QmlDesigner: Add missing qualifier
Most of the time the QML runtime seems to ignore this, but
there is race condition and it can fail.

Change-Id: I6330b5b70bb15a9886349020c976213d66c8e481
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-10-31 10:05:03 +00:00
Ali Kianian
1641035388 QmlDesigner: Prevent clipping the CollectionDetailsView delegates
Task-number: QDS-11011
Change-Id: I7e7997df09c8c62c72a911a3f51a9b9fe492010b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-31 09:26:10 +00:00
Ali Kianian
afef8afc39 QmlDesigner: Add a new collection to the collection editor
Task-number: QDS-11059
Change-Id: Iad622098ac7a95cbaf543d88f714e79cd5b3c153
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-31 09:11:37 +00:00
Eike Ziller
7c64f1d4dc Examples: Avoid warning about scaling null image
Change-Id: I16f75c2c6d05017b99596ca0855e0d86f4a74a6f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-10-31 07:23:44 +00:00
Jarek Kobus
7faec2f469 ProcessReaper: Simplify takeReaperSetupList()
Change-Id: I1904a8e94ebee608e2fdffd888799a45399ac4a2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-10-30 15:20:57 +00:00
Cristian Adam
3581d1c5dd CMakePM: Fix C/C++ code model preparation
Only set the compiler flags for the active language.
Select source and header files accordingly to the active language.

Fixes: QTCREATORBUG-29707
Change-Id: Ieeaa56f85ccc937f31253ac047538fa19ae4166f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-30 12:26:17 +00:00
Eike Ziller
a724bd40f5 Merge remote-tracking branch 'origin/12.0'
Change-Id: I17c37a6fd474c3441343e91a67817c8179d0c7cc
2023-10-30 13:20:46 +01:00
Christian Stenger
55082abed0 AutoTest: Remove dead entities
Mostly unused functions which where planned to be used or
which have become obsolete due to numerous refactorings.

Change-Id: I1c951ad7902c3180c5cc8d8d6ec2d9fa58693701
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-10-30 12:12:48 +00:00
Leena Miettinen
dc4703e5c0 Doc: Describe Preferences > Testing > General > Scan threads
Task-number: QTCREATORBUG-29392
Change-Id: I71f253b0ffd6df615525da0c4c31e72245970bec
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-30 12:02:26 +00:00
Mahmoud Badri
30941d228e EffectMaker: Remove anchor backend warning from color editor
Change-Id: I2709e42337f026f69b0535fc40a2a91cda745ebd
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-10-30 11:55:52 +00:00
Alessandro Portale
7fce843949 ScreenRecorder: Make recording options dialog non-resizable
Ther resizing behavior is quite odd.

One planned feature for the plugin is a zoomable crop view. Once that is
in place (in QtC 13 or later), like suggested in the report, the dialog
can be scalable and the crop view can grow using the available space.

Fixes: QTCREATORBUG-29810
Change-Id: Ic77f81f704546d2730599b00664606aada3280d8
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-10-30 11:42:22 +00:00
Miikka Heikkinen
354da91222 QmlDesigner: Show currently active split when toggling off split view
The active split is preserved even when split view is not enabled,
so the content of the split that was active when split was toggled off
is shown in full view.

Fixes: QDS-11041
Change-Id: I764f6afb10271947443aa31e92df1778ddac4e03
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-30 11:23:26 +00:00
Christian Kandeler
0f91eb8de1 LanguageClient: Support QLocalSocket as transport medium
Change-Id: I1ea921151548bb210968430bfa3c9ccd5f0869a3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-30 11:06:17 +00:00
Leena Miettinen
472b4cb358 Doc: Describe changes in Git Instant Blame
"Instant Blame" is now a check box. The
"Add instant blame annotations to editor"
check box was removed and the following were added:
"Ignore whitespace changes" and "Ignore line moves".

Task-number: QTCREATORBUG-29392
Change-Id: I8dd0a779dd4a72fef7a5bb1a9023c3b705f0f174
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-10-30 10:57:48 +00:00
Mahmoud Badri
3a2927e200 EffectMaker: Allow scrolling color editors
This also removes a warning when using the mouse wheel over the
color editor.

Fixes: QDS-11066
Change-Id: Ic32cb7d74c77ea29566a9f2f7f8dbd464d1ed6ab
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-10-30 10:08:29 +00:00
David Schulz
0117b1669b Python: use correct python language server after installation
Change-Id: Ie5e26eedffc51e8916d849121fa60ea3d56e5a66
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-30 09:44:22 +00:00
Ali Kianian
7d6cb2b400 QmlDesigner: Fix the build error for CollectionEditor
* fixes the gcc build error on CollectionEditorUtils
* fixes the unused parameters error on macOS
* fixes the build error for using the unknown template for QPointer

Change-Id: I71f6fe319b5b682b858712139084d26079a822fb
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-30 09:37:10 +00:00
Marcus Tillmanns
250b82ba32 Ios: Finish deploy on failure
Previously the deploy step would seemingly run forever if the
startSimulator step failed, as no result was added to the promise.

Change-Id: Ib320d051e78057e536d4ad371cb30108e848c65f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-30 09:16:10 +00:00
Amr Essam
cfa46fa974 QmlDesigner: Fix textures not render in effect maker
Task-number: QDS-11064
Change-Id: If300e61e389f66928787bf02273c9356a1a76185
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-30 08:53:12 +00:00
Marcus Tillmanns
78b56e7def Core: Initialize old log category filter
Change-Id: I732761977b9ca0e14a072f28db0830f57edc6989
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-30 07:56:43 +00:00
Marcus Tillmanns
ee3e6376f0 Core: Handle async log category init
If a log category is first used by a different thread than the main
thread, we need to make sure that we dispatch the call into the
main thread ourselves.

Change-Id: I0908366b254649f30a1d18cb4e0da4a7e3988dcc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-30 07:44:57 +00:00
Marcus Tillmanns
53931b18ad Debugger: Fix QDateTime dumpers with TZ != UTC
Fixes it for Qt 5.4 and onwards hopefully.

Fixes: QTCREATORBUG-29737
Change-Id: Ic555e304a872dfbd458a95097e4e0b6a6632509a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-30 07:44:28 +00:00
Marcus Tillmanns
936015b345 Core: Don't create Log Viewer just to close it
Change-Id: I92a724b0b1bc6a749fbd18f91494be0f2eff11d8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-30 07:28:29 +00:00
Christian Stenger
79becbaeac CMakePM: Protect against accidental nullptr access
Wizard summary page does not provide a list to put in failed
files, so ending up inside the build systems addFiles() may
pass in a nullptr. Guard against its access.

Change-Id: Ia858f8029b1b840cc341d87614576f2634b995dc
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-10-30 05:24:35 +00:00
Ali Kianian
1204ce35b9 QmlDesigner: Select the property type while adding a column
Task-number: QDS-11004
Change-Id: Ie2b8cb715efc2d530b2ce8dec2d7111b7fc318cc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 14:19:47 +00:00
Amr Essam
a8ac61328b QmlDesigner: Fix effect maker colors not update shaders
Also some minor fixes and cleanups

Change-Id: I3db71f41a703c19e53e2b7014de053a7759a4628
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 14:15:12 +00:00
Ali Kianian
7cd9e332f3 QmlDesigner: Implement sort for the Collection Details View
Task-number: QDS-10986
Change-Id: Iba10830436d58cecb3bd2dba1afc1ac95779123d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 14:12:20 +00:00
Mahmoud Badri
8d95dc9dfd QmlDesigner: Update 3D Editor's split view icon
Change-Id: Id5b9fe50d4524a9bd85f3472dba900d2fb361334
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-10-27 14:01:13 +00:00
Mahmoud Badri
7e2bbd2c31 QmlDesigner: Update icon font
Add splitScreen_medium and update colorSelection_medium icons

Change-Id: Idd47aae14eef339511d2d79b8147a58e2204c4be
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-10-27 13:46:34 +00:00
Miikka Heikkinen
26e13e57bd QmlDesigner: Fix 3D view active split highlight color
Change-Id: I9062f4ebd67ddd849daf436b903ca471703953f9
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 13:45:58 +00:00
Christian Stenger
7891a7f5b4 AutoTest: Fix crash
Amends 6b6d9dc21e.

Change-Id: I5fc2bd2b3788a660d038328f00e73db0ab25d7b0
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-27 12:34:16 +00:00
Miikka Heikkinen
e7daa748a6 QmlDesigner: Change active split when clicking on OriginGizmo in 3D view
Fixes: QDS-11042
Change-Id: Id816f24a0a3f3116da00ff0a0c3ccfdc0f312c58
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 11:35:49 +00:00
Miikka Heikkinen
c021ad3b61 QmlDesigner: Make OriginGizmo nicer looking
Reduce the size of the gizmo and adjust gizmo components accordingly.
Colors were also adjusted.

Fixes: QDS-11038
Change-Id: Ia1a01bf6e705cabf875dd5145d93af2a46196f0e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 11:20:09 +00:00
Eike Ziller
8f1c8790e2 Update change log
Change-Id: Ia079c3c93b0b33f93fa462cd3cac634f158ee2b8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-10-27 11:01:21 +00:00
Christian Kandeler
d0c61823a9 Update qbs submodule to HEAD of 2.2 branch
Change-Id: Ib0d39635b334757a6d33d40cef50d9e56ddb89e8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-27 10:49:23 +00:00
Marcus Tillmanns
a3853ecc44 Terminal: Q_ASSERT workaround
Change-Id: I7e1bf06db437b523e8b06695c3b12f2562a73ce8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-27 10:13:02 +00:00
Pranta Dastider
43782a1fce QmlDesigner: Update the Washing Machine UI Doc
This patch updates the Washing Machine UI Tutorial document.
Removes old images and adds a new image to support
the current connection view update. Also, changes some texts
to keep the process relevant.

Fixes: QDS-10938
Change-Id: I7ef161ddadb62eb943c508c7c4f17d2995af4337
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-10-27 09:28:29 +00:00
Jarek Kobus
f5e6e71af2 GenericDirectUploadStep: Simplify task tree
The nested Group seems superfluous.

Change-Id: Ia555fa9e6f457b0000806d86daf98a3ac7fb33c3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-10-27 08:49:24 +00:00
Jarek Kobus
316c8ca24b AbstractRemoteLinuxDeployStep: Get rid of isDeploymentNecessary()
Change-Id: I05904b19d3a0bf7e918ea79d4963c1c995f55f6a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-27 08:49:17 +00:00
Jarek Kobus
01c2a30539 GenericDirectUploadStep: Get rid of isDeploymentNecessary()
Make it a part of deployRecipe().

Change-Id: I775f34f31746aa177f341e2b26f225e34bb14a3c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-27 08:49:10 +00:00
Jarek Kobus
d60a67e800 KillAppStep: Get rid of isDeploymentNecessary()
Make it a part of deployRecipe().

Change-Id: Ia52be36ccc2f387dce3d1c9e946179b9ef328717
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-27 08:49:00 +00:00
Marcus Tillmanns
cca7bc98a9 CMake: Fix deployment path
Previously the path would be created based on the build device
instead of the target device. Therefore when building on windows with a
linux target the path might become "c:\usr\bin\..." instead of
"/usr/bin/...".

Fixes: QTCREATORBUG-29797
Change-Id: I13a9941b87b863f3e1b8420bcab230db1f70a28b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-27 07:46:51 +00:00
Eike Ziller
5ef74df9d0 Merge remote-tracking branch 'origin/12.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: I793963d0eb4a2c382988937862c90423abdfface
2023-10-27 09:27:57 +02:00
Miikka Heikkinen
fbaaa6ddb7 QmlDesigner: Highlight active split in 3D view
Active split gets hightlight border. Same color used as for
selection boxes.

Fixes: QDS-11039
Change-Id: Ic63807d58649c441f0d44173e4cd9d981582b3e5
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 07:24:16 +00:00
Jarek Kobus
56e33e3dbc TaskTree: Remove unused include
This is template only header.

Change-Id: Ic70ee5442cde4d3cfb36fe0beefcccf52222756c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-27 07:19:07 +00:00
Leena Miettinen
022847c852 Doc: Make the instructions for enabling plugins more consistent
- Add the following for documented plugins that are
  disabled by default: \note Enable the <name> plugin to use it
- Add \sa {Enable and disable plugins} for the above plugins and
  describe there how to find the About Plugins dialog on macOS
- For the one occurrence in the QDS Manual, add instructions for
  finding the About Plugins dialog on macOS ("Enable and disable plugins"
  is not included in the QDS Manual
- Mostly remove other kinds of references to enabling plugins

Task-number: QTCREATORBUG-29734
Change-Id: I7b12bd651c1c99e0c6b3ca6f94d3831ebe038438
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-27 06:59:11 +00:00
Robert Löhning
b77b12c97b SquishTests: Restore lines removed from projecttrees
Partially reverts 3970a834bc
and 5bce234986

Change-Id: Iaf05f4c19e16b4e0d817350d4121ad371b8b1661
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-26 19:18:05 +00:00
Amr Essam
2473265541 QmlDesigner: Fix issues related to uniforms
Some types were parsed wrong for shader values

Change-Id: I4301d671dfa7bde1f23feacd64ceb5f0f9d247b9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-26 18:19:35 +00:00