Commit Graph

86167 Commits

Author SHA1 Message Date
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
Jarek Kobus
df24000580 TarPackageDeployStep: Get rid of isDeploymentNecessary()
Make it a part of deployRecipe().

Change-Id: I131cb34171e3d4e09c6e8fa8a13dbfd768d55aa4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 16:01:00 +00:00
Aleksei German
37f00b47a9 QmlDesigner: Support AnimatedSprite type
Task-number: QDS-11017
Change-Id: Icc7716a6b219e35a24b75633e7a67ad73240eee4
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-10-26 14:19:11 +00:00
Artem Sokolovskii
25fa42c3a2 ClangFormat: Remove set standard to cpp11
Standard sets to Auto a few lines further.

Change-Id: Id0bb61cb38fbabd682123baa3860ebdaf5b10846
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 14:09:35 +00:00
Eike Ziller
5bdd3f8e1d Bump version to 12.0.0-rc1
Change-Id: I3b687e44c90dc18bb0d48bb47f230d8de6c8ca66
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-26 13:52:39 +00:00
Shrief Gabr
d10f760a55 QmlDesigner: Connect collection save functionality to UI
Task-number: QDS-10922
Change-Id: I9d2d930b8203b76d40e0ce1c83351e490509020e
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-10-26 13:52:15 +00:00
Alessandro Portale
620ef537aa ScreenRecorder: Add a label to the FPS spinbox
For some reason I never noticed that it was missing.

Fixes: QTCREATORBUG-29809
Change-Id: I1da933d3e220c035ecdeb2f0a5d044d68081b413
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-26 13:44:12 +00:00
Marcus Tillmanns
ee4f6ca1ae Qt: Fix qt abi version saving / restoring
Fixes: QTCREATORBUG-28863
Change-Id: Ifd6024f3d4b1fc108136093299d76227b7b09c71
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 13:39:01 +00:00
David Schulz
cb8d79bb2f LanguageClient: check correct provider for various goto targets
Change-Id: Ie0acf800fad46cc11f7bb5b5134fc5b70beeaddd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 13:36:32 +00:00
Marcus Tillmanns
6b831a3737 Utils: Disable Native Dialogs when not supported
Task-number: QTBUG-118241
Change-Id: I1c7d16f44b5fdcba94dd2a6691a73dd2e549164b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-26 13:24:54 +00:00
Eike Ziller
b8535e4cf1 Editors: Do not ignore DoNotMakeVisible
`EditorManagerPrivate::activateEditor` first calls `placeEditor` and
since 9295bfe3e4 this calls
`view->setCurrentEditor(...)` even if
`DoNotChangeCurrentEditor` and `DoNotMakeVisible` are set.

Do not call `view->setCurrentEditor` in `placeEditor`. That call is done
if needed later in `activateEditor` (directly or via
`setCurrentEditor`).

Task-number: QTCREATORBUG-29644
Change-Id: I7d394b190428fedfd32d2a15df2ed0438332534d
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-26 13:24:33 +00:00
Marcus Tillmanns
45d8d723b6 Core: Add VSCode keyboard mapping
Change-Id: I9924eaeba3013ce114890bc0be414ef4eafaddb2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-26 12:55:18 +00:00
Marcus Tillmanns
a71d404d7d ProjectExplorer: Add "poky" os flavor (Boot2Qt)
Task-number: QTCREATORBUG-28863
Change-Id: Iae24a74651362a32c42b96215c8d71abe9bad7e3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 12:50:33 +00:00
Thomas Hartmann
3564e645a2 QmlDesigner: Add QTC_ASSERT
If the model is detached, because the application is shutdown,
those could be already deleted.

Change-Id: Ibee260da04ab19a3f0e5381996fe71e1884b9af2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-10-26 12:49:53 +00:00
Christian Stenger
6ee59b3d3f Valgrind: Fix QColor warning
The code for generating random colors nowadays results in
HSL parameters out of range warnings. Fix the generation of
random color values.

Change-Id: I27dfb1c59ced8f6776e83679532b296b69c089a9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-26 12:37:54 +00:00
Christian Stenger
46c0e63a6f Todo: Do not store current editor
...just use it when needed. Avoids a crash when heading back from
Quick Designer view.

Change-Id: I1dae404d0d1cd41518d46773b35a78b4cdb03947
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-26 12:37:47 +00:00
Eike Ziller
cb14613c73 Merge remote-tracking branch 'origin/12.0'
Change-Id: I6309a8ffb18e40a581301bd275390395e250543c
2023-10-26 14:28:02 +02:00
Eike Ziller
1a398a83b5 Core: Fix dialogParent for separate windows
The dialog parent is supposed to fall back to the main window, if there
is no modal window and the active window is not a popup or a splash
screen.

But testing for "popup or splash screen" does not work with
`testAnyFlags(Popup | SplashScreen)` because these flags are combined
flags - e.g. "Popup" is "Window + something", so when using
testAnyFlags(Popup), that returns true for _any_ Window, regardless of
popup or not.

Amends 60f11cf637

Fixes: QTCREATORBUG-29741
Change-Id: I9e8defc6dd7193f5008decda0eda04dedc62f9df
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-26 12:07:08 +00:00
Jarek Kobus
2697a960a8 GenericDeployStep: Get rid of isDeploymentNecessary()
Make it a part deployRecipe().

Change-Id: Ice297fbcd1c50e09d92110452c92aee7259eabcb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 11:52:42 +00:00
Thomas Hartmann
a81e90a7f4 QmlDesigner: Implement JumpToCode in states editor
Task-number: QDS-10867
Change-Id: I90975ad70567261899f047f2f02236bb993cfd2b
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-10-26 11:42:03 +00:00
Henning Gruendl
e4301eccff QmlDesigner: Fix DropArea item library icon path
Change-Id: Ifdbda61f582d70cd26f50fdc7c8f4364eababdc0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-10-26 10:59:47 +00:00
Marcus Tillmanns
042aa1aa25 LogViewer: Add Filter
Change-Id: I3df36ad7dcbe4a28fb5430397063d70bbc61c80b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-26 10:52:57 +00:00
Thomas Hartmann
7713f35fcd QmlDesigner: Add DropArea to component library
Task-number: QDS-7282
Change-Id: I996cea7f21c557c3df41ab61bd9984862c243f29
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-10-26 10:40:08 +00:00
Leena Miettinen
1b82616f35 Doc: Describe the "Forward to local display" check box
In the run settings for a remote linux device.

Task-number: QTCREATORBUG-29392
Change-Id: Ib46241b62b4b0208f4f1e52419cc1b2a18e40295
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 09:09:34 +00:00
Marcus Tillmanns
9936eeba13 Utils: Handle filePathInfo() like other path tests
filePathInfo() should not result in warning messages if the path is for
a non existing device, just like exists etc.

Fixes: QTCREATORBUG-28439
Change-Id: I47a66bd38a40a86460c4769c1a2156167e467c1b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-26 08:51:07 +00:00
Leena Miettinen
70ed0aaa82 Doc: Describe using variables in "Default build directory" field
In Preferences > Build & Run > Default Build Properties

Fixes: QTCREATORBUG-29779
Change-Id: Ic893058d081655e21a294b0dcc25ccb0184f4564
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-26 07:37:24 +00:00
Miikka Heikkinen
a983679e43 QmlDesigner: Show negative axis label when axis is pointing at camera
Fixes: QDS-11016
Change-Id: Iea1db2413aabbb2f4a5e166533e4436273fc775b
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-26 06:26:14 +00:00
Miikka Heikkinen
9d00f046ce QmlDesigner: Change the split view toggle hotkey
Fixes: QDS-11040
Change-Id: Iaf9e41b4f7d7386706d3c095f20609c65da2e50f
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 06:25:56 +00:00
Mahmoud Badri
117ae59861 EffectMaker: Fix window appears in the back on macOS
Fixes: QDS-11035
Change-Id: I266e663a85f779a9a1e5ad2040643b3a54425b3b
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-10-25 18:36:02 +00:00
Amr Essam
a8ee60048c QmlDesigner: Fix important issues to Effect Maker
A first shot of fixes

Change-Id: I7c175edb601fc5880805cd6496e7c8c8a10df33d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-25 18:35:50 +00:00
Thomas Hartmann
5f0908ea2b QmlDesigner: Sync with states and PropertyChanges
If we are in a state, we sync the texteditor not with the node,
but with the state or property change if it does exist.

Task-number: QDS-7261
Change-Id: I71a7c53f4d83ebc4d6fcb95283012898505a1c2a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-10-25 15:31:14 +00:00
Pranta Dastider
ff603fd1e0 QmlDesigner: Update the LoginUI States Tutorial Doc
This patch updates the LoginUI States Tutorial document.
Removes an old image and adds a new image to support
the current connection view update. Also, changes some texts
to keep the process relevant.

Fixes: QDS-10936
Change-Id: I52f403a1f4a4a7c36b5346069f50c1a633c437cc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-10-25 15:31:01 +00:00
Thomas Hartmann
259bade04e QmlDesigner: Implement Jump To Code
Task-number: QDS-10866
Task-number: QDS-11045
Task-number: QDS-10865
Change-Id: I94f76bb6319e2711cde88adba2307a7539ac8617
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-10-25 15:30:10 +00:00
Pranta Dastider
e27a8704df QmlDesigner: Update the Concepts and Terms doc
This patch updates the Concepts and Terms document.
Removes an old image and adds new images to support
the current connection view update.

Fixes: QDS-11000
Change-Id: I7d5d1bea4287e13c2344138af7cce5b8f9f4321d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-10-25 14:48:27 +00:00
Pranta Dastider
efab1cbab1 QmlDesigner: Update the creating component instances doc
Some of the images was outdated as the connection view
format got changed in the latest version of Qt Design
Studio. This patch will change the old images to the new ones.

Fixes: QDS-10939
Change-Id: I62a3a342a1f2f38241a769ff96c25bb7d8f1e087
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-10-25 14:38:47 +00:00
Henning Gruendl
89502f5298 QmlDesigner: ADS code and comment clean up
Change-Id: I2dadb9a46e58c066de072b7e4eabb17ec8d9a1cb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-10-25 14:31:42 +00:00
Henning Gruendl
3e626446b1 QmlDesigner: Add workspace lock feature
* Add lock button in top toolbar
* Add lock button in top toolbar flyout
* Add action in workspace menu

Task-number: QDS-10181
Change-Id: Iabc94889f936955c56fa3e9fb3de4dced05649e0
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
2023-10-25 14:31:34 +00:00