Commit Graph

68765 Commits

Author SHA1 Message Date
Marco Bubke
2322313baf QmlDesigner: Remove typeName usage in binding editor
Task-number: QDS-10266
Change-Id: I91232c1296c4ed3b3148af9053d3db0f43a08e24
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-07-18 09:00:14 +00:00
hjk
8e7ac2e59d CppCheck: Use new settings pattern
Change-Id: Ia2de8e684690ab7bfbdcf7ba417df1f2174433de
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-18 08:43:45 +00:00
hjk
bce9b9ffaa Nim: Move code style related code to nimcodestylesettingspage.cpp
Not necessarily the final setup, but a step closer.

The selected style doesn't seem to stick anymore, but that's already
the case in 11.x.

Change-Id: I6c094c1222147c31456cf843397ffaaae9252a30
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-18 08:04:06 +00:00
Eike Ziller
d127336753 Fix that aspects read&wrote install settings
Do not give them the QSettings object that has SystemScope.
Also rename the "globalSettings" term to "installSettings" locally and
in PluginManager, and the one for aspects to just "setSettings" (like
e.g. for TerminalCommand).

Change-Id: Iad051f6e507373042014db73b83d0b16944b7374
Reviewed-by: hjk <hjk@qt.io>
2023-07-18 07:59:26 +00:00
hjk
ef04ff2189 ProjectExplorer: BuildDirAspect's base fromMap/toMap
This was still going to StringAspect, even with the new FilePathAspect
base. Operationally it was not different as the FilePathAspect does
not do anything else than what the StringAspect was doing.

Change-Id: I3dac247acf48d653f77abb228a1765f01da7823b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-18 07:58:24 +00:00
hjk
e8fd863fcc Nim: Convert tool settings to latest style
Change-Id: I206b7d10531a9a3053a68eae522896971c9f1423
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-18 07:27:11 +00:00
Tasuku Suzuki
9be4aeb55a Help: Store and restore size of TopicChooser
The default size seems too small to use

Change-Id: Ia8284e1e8b97ee7c76dc4d1ce807fec017ff10dd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-18 07:13:09 +00:00
Jarek Kobus
9692ccf352 IosDeployStep: Employ task tree for running
Task-number: QTCREATORBUG-29168
Change-Id: I212aa8cc66d97b84adce9d8acdf8e958989bdc6b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-18 07:11:15 +00:00
Jarek Kobus
63bc9a2e42 IosDeployStep: Add return value to checkProvisioningProfile()
Change-Id: If5829daae851a4af06bcff7dcd60ecd6004b5bdb
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-18 07:11:07 +00:00
Jarek Kobus
109727d6de IosDeployStep: Introduce IosTransferTask
It's going to be used in IosDeployStep.

Change-Id: I01158207c0243421a38870718cdf125499eece34
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-18 07:10:59 +00:00
hjk
4ab1d75ee6 Utils: Introduce a staging area for gui values
Accessing gui elements is very aspect-specific, whereas the
rules when and how values are synchronized are rather general.

Splitting the two concepts and having a permanent 'buffer' area
that is synchronized with the gui elements if and only if they
have been created helps to keep the boilerplate needed per-aspect
at a minimum.

This value could also serve as "model" in case we wanted to allow
multiple "views" in different places of the gui onto that aspect.

Change-Id: I34832512b99c53cb0e4df437ee9b4c5d17a2ad8f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-18 06:53:28 +00:00
hjk
433f8a3241 CMake: Remove an accidentally introduces second build dir aspect
Not quite harmless, as it was destroying persistent data written by
the normal one.

Amends b9cf021b8e.

Change-Id: Ie2775881535c4d19174177f443a4606acc1576de
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-17 14:03:33 +00:00
Jarek Kobus
134eee611a AndroidDeployQtStep: Use promise for checking canceled state
Change-Id: I4fec6004b0b17be182088dab4deb49aa2d7c8a0b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-07-17 13:57:30 +00:00
Jarek Kobus
301e18f12b LogTailFiles: Replace QProcess with Process
Change-Id: Ia154daf16a801d8d09ac1a1a5e00c669ad9f36ad
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-17 12:23:55 +00:00
Alessandro Portale
b5808cdd56 Solutions: Enable theming and dpr for spinner images
Change-Id: I2105b9c1032940d26f3f3bf2083f88e1133e8757
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-17 12:14:32 +00:00
Jarek Kobus
a9663d65ad IosDeviceToolHandlerPrivate: Replace QProcess with Process
The Process takes care of the proper destruction automatically.
This is a preparation step before creating a task tree adapter
for IosToolHandler.

Change-Id: I6a8ae12b46a83be3a7074d0a268a598c260a66b5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-17 12:02:46 +00:00
Andre Hartmann
af5a8fe80c Git: Restart instant blame on document save
When the current line is modified, refresh the
blame after saving. Before, the cursor had to
be moved to another line to restart the blame.

Change-Id: I61012f1c8583545b9bc34a71ff63ade2f9cc5b13
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-07-17 11:38:37 +00:00
hjk
5d5a36ef18 ProjectExplorer: Fix cmake dap start logic
Change-Id: I06148c3d7aec6cfde072c477c8ff81025d4d24f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-17 11:37:03 +00:00
Knud Dollereder
db78fa9cf8 Update the curveeditor when changing keyframes in the text editor
Fixes: QDS-10062
Change-Id: Ie0364d095f17ba6b5f16bd8fbf9abddfca2f26db
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-07-17 09:49:03 +00:00
Marco Bubke
3d5ceb795d QmlDesigner: NodeMetaInfo can now get exported type names
You can get all exported names. That can the C++ names too for C++
types. If you only want the types name which are imported in a document
you can provide the source id for the document and get only that. If
there are different version exports you get them too.

Task-number: QDS-10274
Change-Id: Iefc0b68ebfd65998cf0481961f8c7643cdf9e5b9
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2023-07-17 09:36:58 +00:00
Marco Bubke
f7f65b9ea4 QmlDesigner: Get exported type names for type id and source id
It is matching the document imports with the exported type names.

Task-number: DS-10265
Change-Id: I0623cd0b3d04fa1a8c05354a194f10f3d8948b21
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2023-07-17 09:36:49 +00:00
Marco Bubke
e7bc9846d1 QmlDesigner: Add exportedTypeNames(TypeId) to project storage
Task-number: QDS-10265
Change-Id: If440f87b6719b865216e3890c8492c3682cf42dd
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2023-07-17 09:36:39 +00:00
Marco Bubke
12d0098bf1 QmlDesigner: Disable NodeMetaInfo::importDirectoryPath() for project storage
We can add a different interface later if the modules save there source
ids.

Change-Id: Iafc6cefec0bfd8703328074b31932b0472164ec4
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-07-17 09:36:26 +00:00
Tasuku Suzuki
66bdb5548e SessionDialog: Add ellipsis to buttons that open another dialog
Change-Id: I3eaa44f350653b38acbed99b7afbff3e6c02de3f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-17 06:53:53 +00:00
hjk
6d5b078238 QmlProjectManager: Use aspects more directly
Change-Id: Ibfa91c541666ed81dbe5238075cafebd628f5889
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-17 06:04:57 +00:00
The Qt Project
2a8765b35b Merge "Merge remote-tracking branch 'origin/11.0'" 2023-07-17 05:58:43 +00:00
hjk
3bfd60b708 Copilot: Move AuthWidget update to the class itself
Change-Id: Iab23566c6d74760eab732fdbad2d9eac645faaff
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-14 14:39:30 +00:00
hjk
17267bb15c Copilot: Move closer to latest settings setup and usage pattern
Change-Id: I86983f55cd53a540e2fe1a5b307ebf67f7ea7a98
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-14 14:39:06 +00:00
hjk
bd24f18dd5 Docker: Simplify plugin definition
Change-Id: If37a8df1292f01f1048549adb135a65fda66a09f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-14 14:06:37 +00:00
hjk
baf5377b60 Docker: Simplify settings access
Change-Id: I0ecbba9d29b041b06dac26159be702a38db42185
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-14 14:00:23 +00:00
hjk
abd770520a Qbs: Avoid a FilePath/String round trip
... when creating tasks in the clean step

Change-Id: I563d126416d266eff0b95baa4deb3133cb3e3dc9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-14 13:46:16 +00:00
hjk
7878b0bf9a McuSupport: Use aspect more directly in RunConfiguration
Change-Id: I75bd439a1747cf8c3dcb40327a7b614fc7438590
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-14 13:45:58 +00:00
hjk
c8e7491685 RemoteLinux: Use aspects more directly in RemoteLinuxCustomRunRC
This now also unconditionally enables the X11ForwardingAspect.

Change-Id: I5c4c69fcc2902bd6b842adba1ec93978b846f651
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-14 13:43:24 +00:00
hjk
7a279669ef RemoteLinux: Use aspects more directly in RunConfiguration
This also unconditionally adds the X11ForwardingAspect.

Change-Id: I691d3b8fd8dc2c632938f256e34e3130c8524e5d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-14 13:42:19 +00:00
Cristian Adam
dc01c79203 CMakePM: Use staging dir only when selected
Fixes: QTCREATORBUG-29223
Change-Id: Ibc31b73ddda4f3906929ec1a4ff13eca84a704c8
Reviewed-by: hjk <hjk@qt.io>
2023-07-14 13:22:45 +00:00
hjk
0fdee5e000 Qbs: Use aspects more directly in QbsBuildStep
Change-Id: I592dd23210bda3519f0e4bffe677f18a6b80c1ad
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-07-14 13:21:41 +00:00
hjk
6fb3e7f1ae CPaster: Prepare delaying settings creation
Change-Id: Ie4ae3ced23f65b87d9da0841736c6d652398e286
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-07-14 13:17:54 +00:00
Eike Ziller
9d5b442e6e Examples: Add new/renamed categories for Qt 6.5.3 to sorting info
Change-Id: I565c8f47219f462c0d37504f6a97975e11504876
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-07-14 12:52:29 +00:00
Eike Ziller
ac0796926d Merge remote-tracking branch 'origin/11.0'
Change-Id: Iaa647a44accc98ae84aa095d0bd5049588a92387
2023-07-14 14:51:22 +02:00
hjk
a01d7e9a78 Qbs: More direct aspect use in QbsCleanStep
Change-Id: Ib917375ab0027b6b6ff75d1ebcbbff25fe63e6ee
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-07-14 12:19:34 +00:00
hjk
f65cffdfa2 Qbs: Use aspects in QbsInstallStep more directly
Change-Id: I5fca944d8c2c93e0f7249cc9c0532f66e5b9b33c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-07-14 12:19:19 +00:00
Christian Stenger
381ff44f66 Debugger: Fix post mortem action on Windows
Change-Id: I411853098f3bb7c410b4446bb6f2ed61fb11b217
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-07-14 12:09:35 +00:00
hjk
7d9b124ea2 AutoTest: Use aspect as member in TestRunConfiguration
Change-Id: If39015ec0b10a7b77e558bb04e83d06d1367173a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 11:49:42 +00:00
Christian Kandeler
94fc558820 Update qbs submodule to HEAD of 2.1 branch
Change-Id: I55fe2b4a6afa56fb01eba6758296f4d076b2fc5b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 11:06:19 +00:00
hjk
d9768caf76 PerFProfiler: Use aspects more directly
Change-Id: I6d15d32d9cd02acd9a95bb96cbde72beff506931
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 10:13:43 +00:00
Jarek Kobus
5bcf289fce CMakeProcess: Remove unused function
Amends cd6e990de8

Change-Id: I407a26bb75bbd059b9bf7a0b546024700b738769
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2023-07-14 10:06:37 +00:00
hjk
93d96c9d75 Vcs: Code cosmetics
Drop some Utils:: and rely on some aspects' operator()()

Change-Id: I40d2c2973c1c9eff443bb74b8da44e0824d8d5c6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-14 09:53:50 +00:00
Artem Sokolovskii
4a0a6f07e7 DAP: Fix start CMake debug mode
Change-Id: I2951142736b0e6ccf2b08a7bd78b08b1e96bca6f
Reviewed-by: hjk <hjk@qt.io>
2023-07-14 09:46:20 +00:00
Eike Ziller
c43a2ee1c4 Use categories for Tutorials page
Instead of adding the category into the title with "Help: ..." etc, use
the actual categorized view that we already use for examples and
marketplace. Set the corresponding meta data in the manifest file and
read it also for tutorials.

Change-Id: Id9081518c1c0afee8d080af3ca8a5dca5cdde775
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-14 09:33:03 +00:00
hjk
ed35f78197 ProjectExplorer: Allow X11Forwarding also to Windows hosts
Probably a rare setup, but nothing fundamentally wrong with it.

Change-Id: I3f2719aff2bbfef29c166c0ab784f89ab7442ec3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-14 09:17:43 +00:00