Christian Stenger
c9a9dbc96b
CompilerExplorer: Fix qbs build on Windows
...
Change-Id: If724adb055df235f3d806306e808470e5fd03ce6
Reviewed-by: hjk <hjk@qt.io >
2023-08-18 06:54:44 +00:00
Orgad Shaneh
ccfa32dda2
PathChooser: Remove unused lambda captures
...
Change-Id: I1f6763f20297e685c62c10195dfe74a5fddaf35a
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 14:50:51 +00:00
hjk
86a328f3a4
McuSupport: Hide McuDependenciesKitAspectFactory implemntation
...
Change-Id: I8459f0c24f3884408c970900d4bb559e309506ee
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2023-08-17 14:01:24 +00:00
Mahmoud Badri
85bf537fc0
QmlDesigner: Implement basic composition node delegate
...
Task-number: QDS-10404
Change-Id: Ia456fb96c157d5e8d6206732c90d761c59b27fab
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-08-17 13:52:07 +00:00
hjk
8fcd519d90
Axivion: Use simpler IPlugin::initialize() overload
...
Change-Id: Ifd764b965b84dacec7a9f790d494852d0cafc946
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-08-17 13:28:11 +00:00
hjk
430c8faa17
Axivion: Move a bit closer towards latest settings setup pattern
...
Change-Id: I5b99d53790818d353730d3af4409f95e5616ff00
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-08-17 13:27:58 +00:00
Christian Stenger
15fba14b79
Debugger: Add missing files to qbs build
...
Change-Id: I6f20c4d4ab638537f448087a36195c5d201bf5e4
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-08-17 13:27:31 +00:00
Marco Bubke
cf54c2ffcd
QmlDesigner: Remove empty line
...
Change-Id: Ifeeff642569ecd21810b2627490a2581d68bd79f
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 >
2023-08-17 13:14:54 +00:00
Marco Bubke
c87fc7e085
QmlDesigner: Create a model which uses the project storage
...
Change-Id: Iec729e3f31b3cea2f66b5d76c57ba5359bb71060
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-08-17 13:14:35 +00:00
hjk
d10bac5376
Subversion: Show settings page contents again
...
Amends 9a69c78ca5 .
Change-Id: If4cf85a5298b2e7f5d924c9bf3fabec9784049af
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-08-17 13:11:28 +00:00
David Schulz
8761b7c20c
LanguageClient: Fix settings loading
...
Amends de247bff2b
Change-Id: Iab31da31058247a20451eeb2427152caab02c594
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 12:34:06 +00:00
Artem Sokolovskii
3cdfdf1dd2
DAP: Fix several breakpoints windows during CMake debug
...
- Added breakpointManagerWindow and engineManagerWindow for
CMake debug mode
- Made CMake debug feature enable by default
Change-Id: I48fd62d8d63e991f31b245438ad8e7706552de32
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 12:33:58 +00:00
Artem Sokolovskii
e3808cf4f4
DAP: Change unique_ptr to QObject parenting
...
Change-Id: I47f5db1823e69829294fb9f551a2edcb980d86dc
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 12:33:53 +00:00
Jarek Kobus
17d8f61f93
ProcessParameters: Reuse ProcessRunData
...
Change-Id: I0fdde4303d23ed1350cc36846319264f952df42b
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 12:19:46 +00:00
hjk
ec7abcf98c
Utils: Make FilePathAspect::setDefaultValue take a QString
...
This sets the unexpanded value, so going to a "cooked" FilePath can
at least theoretically break. On the user side it saves a
roundtrip in a few cases, but is more ugly when the input is already
a proper FilePath.
Change-Id: I8a7e8f6d46fcc34c96b55e41d656dca933fbef4e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-08-17 11:58:41 +00:00
Marco Bubke
b14daaadcb
QmlDesigner: Use NodeMetaInfo instead of string
...
There is already a methode in NodeMetaInfo to inspect the type instead
of using a the string type name.
Change-Id: I604076519cfb068674d8fd4461ee29be523ac919
Reviewed-by: Henning Gründl <henning.gruendl@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-08-17 11:57:17 +00:00
Marco Bubke
9074fb28e2
QmlDesigner: Cpp module id can be invalid for qml documents
...
Qml documents have no cpp module id.
Change-Id: Ib0f9f23473e3f0f680784416e30365f7be51866b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
2023-08-17 11:56:50 +00:00
hjk
3fa4fa5cf3
Wizards: Use simpler init() signature in the Creator Plugin template
...
This is the most common case by far. Also add a hint for special needs.
Change-Id: Ib4d708d90a3b2dd91d18fa53c3fb597304145697
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-08-17 11:56:35 +00:00
Marco Bubke
3e14b64508
QmlDesigner: More workarounds and exception improvements
...
Change-Id: I0c02334dc8891e16ac52cc8a6b716d1d3e52603f
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-08-17 11:55:57 +00:00
Marco Bubke
c2b3016d33
QmlDesigner: Workaround broken qmltypes files
...
Change-Id: I3382113a2b11268a7418268d6966bf7e67ce0a00
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-08-17 11:55:41 +00:00
Marco Bubke
344c33c247
QmlDesigner: Remove NodeMetaInfo::typeName() usage
...
The project storage is using the imports of a document to get the type.
So it is not using qualified types and gets the version from the imports.
After we switch all three methods will be removed.
Task-number: QDS-10266
Change-Id: Ic127a3bb6bd6f559457b3ce6a8631774359259a5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io >
2023-08-17 11:55:04 +00:00
Marco Bubke
e010bab8ea
QmlDesigner: Refactor PropertyEditorView::setupQmlBackend()
...
Change-Id: I535785659cdb7ceb108c34c5135769ba01dc78f8
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
2023-08-17 11:53:49 +00:00
Mahmoud Badri
d11f3202a2
QmlDesigner: Prepare composition model for adding a node
...
Change-Id: If4d7fda3956ce4e7f6060e827329b1e8698d5b2f
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-08-17 11:21:18 +00:00
Jarek Kobus
886205b149
FileUtils: Use Process::startDetached() instead of QProcess
...
Reading data from the detached process is no-op.
Change-Id: I128ecc5298e0e6d4a73ecfceba55bc147ffd3a58
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 11:05:58 +00:00
Jarek Kobus
0ffc4ac89e
LanguageClient: Rename clientrequesttask.{cpp,h} -> clientrequest.{cpp,h}
...
Change-Id: Ia6a1b65564795c8f2931efb1030d7a189a18d68b
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-08-17 11:04:58 +00:00
Jarek Kobus
5b8600fd37
LanguageClient: Rename ClientRequestTask -> ClientRequest
...
Make naming consistent.
Fixes: QTCREATORBUG-29102
Change-Id: I215cdc524168df2783497a56c7daf87563db716d
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-08-17 11:04:50 +00:00
Artem Sokolovskii
0192c3c26d
DAP : Refactor DapEngine
...
Extracted client part to additional class DapClient.
Change-Id: Iba472d2fb2c2390f38ad9a3a75e9e1d9a76f912c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 11:02:13 +00:00
Jarek Kobus
98026b29c6
TaskTree: Get rid of registration macros
...
Alias task types manually.
Don't require the alias to be inside the Tasking namespace.
Addresses the 22th point of the jira ticket below.
Task-number: QTCREATORBUG-28741
Change-Id: I1bdda7fe5a01e4bcb5052ec328f4e0eace878651
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 10:23:52 +00:00
Jarek Kobus
36e0ea27b9
VariousPlugins: Fix forward declarations
...
The pattern is to use QT_[BEGIN/END]_NAMESPACE, instead of
QT_FORWARD_DECLARE_CLASS.
Change-Id: I9da39ee003e1d477a5f56980c218e275706bb3f4
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2023-08-17 09:13:35 +00:00
Christian Stenger
8542c982b4
CompilerExplorer: Add plugin to qbs build
...
Amends e34762c844 .
Change-Id: I6da9820b35df1783a6e99279f18d7e23a25c2a7e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-08-17 09:13:25 +00:00
Mahmoud Badri
b4d153562b
QmlDesigner: Add effect maker main UI buttons and toolbars
...
Also refactor some components into separate files.
Fixes: QDS-10409
Change-Id: Ifb6380214b85d9f1d67fbb99269d135234abf1d5
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 >
2023-08-17 08:39:59 +00:00
Jarek Kobus
dd253a3940
Valgrind: Squash nested namespaces
...
Change-Id: I45fd17c091ac588c30cd360efb6116365ebd73d7
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 08:31:39 +00:00
Jarek Kobus
78a034f721
ValgrindProcess: Make it taskable
...
Change-Id: I39af67619b7808e349d3a71414e0eebb956331f6
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 08:29:22 +00:00
Jarek Kobus
6c5f39c5d2
Valgrind: Rename valgrindrunner.{cpp,h} -> valgrindprocess.{cpp.h}
...
Change-Id: I17f8e55ee97567b98f2260d1a79413bd26d02314
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 08:26:36 +00:00
Jarek Kobus
1d5102781d
Valgrind: Rename ValgrindRunner -> ValgrindProcess
...
Change-Id: I5e7d704c749e53672915c5f7aab64abb68353f24
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 08:11:28 +00:00
Jarek Kobus
e8510501d8
Valgrind: Fix includes
...
Change-Id: I30248edc9f536cd3865799dd0b56c1360e72aa2f
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 08:10:10 +00:00
Jarek Kobus
f4eb25ccec
Process: Add setRunData() helper
...
It allows to set command/workingDir/env in one go.
Fix condition for setCommand() to match the one for setWorkingDir().
Change-Id: I0aa4639f3357c387a0fe8da321e94e34a3ea232d
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 08:08:09 +00:00
hjk
8cf7ac4ac7
Android: Avoid some cast for tool chains
...
targetAbi() is available in the base and non-virtual.
Change-Id: I1c65dccec98b7df5211b2ecfa1e91a4bb4b6e98f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-08-17 08:00:08 +00:00
Cristian Adam
8642dd3b68
CMake: Fix build for Windows
...
The `env_with_default` function is part of Utils.cmake, which would need
to be deployed. But it can't be part of QtCreatorAPIInternal.cmake due
to its usage before the inclusion of QtCreatorAPIInternal.cmake in the
main QtCreator CMakeLists.txt file.
A sepparate function needs to do the task.
Amends 1036c776f5
Change-Id: I95344dd98c5fa0258303ed8d02855584a1945144
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-08-17 07:55:11 +00:00
Jarek Kobus
121d73b30f
Utils: Rename ProjectExplorer::Runnable into Utils::ProcessRunData
...
Move it into Utils lib.
Change-Id: I3b6c16d18439cabddf59afc03116f13c1970102c
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 07:44:34 +00:00
Jarek Kobus
123eb073ca
Runnable: Keep extraData separately
...
It's rarely used.
Change-Id: I11e6546e5991ba2332943eb4900190f937d1db1d
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 07:42:48 +00:00
Christian Stenger
635fc9bb1f
Fix accidental submodule update
...
Amends e34762c844 .
Change-Id: I22b5599289ba314fb9d8897f8f5b45cb099ef9d7
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 07:42:10 +00:00
Jarek Kobus
a9ac5b7b6e
ProjectExplorer: Remove unused function
...
Change-Id: I7c0ea4445283fb38ca46aa3cd9690778389f3afa
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 07:22:16 +00:00
Marcus Tillmanns
e34762c844
Add CompilerExplorer plugin
...
Change-Id: I534dea195a0b74f177fc227483752777485be177
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 07:11:45 +00:00
Marcus Tillmanns
92355bf40d
Terminal: Lazily open remote terminals
...
Move the burden of finding the shell of a device from the shell menu
to the TerminalWidget, so that opening the shell menu does not block
the ui.
Change-Id: I7f2e5a891f20faa53a1e3eec879866219f9bee0b
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 07:09:48 +00:00
Christian Stenger
d611fe6821
Axivion: Add generated files to qbs build
...
They have been added for future use for the cmake
build. Do so as well for qbs.
Change-Id: I0cb9bb161090a9c84e8c36567d6555bc0096b0e4
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 06:58:47 +00:00
Marcus Tillmanns
ccb66ea64d
Copilot: Don't use app_version
...
Change-Id: I10c1bfaa6befe49ba7261afe14c457a5f33c887f
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-08-17 06:50:59 +00:00
hjk
62969fe567
ProjectExplorer: Remove unneeded #include
...
Change-Id: Ib835409781ad1ebf8efa184e69c5adf20436b6ad
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2023-08-17 06:36:36 +00:00
Christian Stenger
a93040185d
AutoTest: Fix used IDs
...
Amends f53e18ee73 .
Change-Id: Ib807eaaa6f211d3661a447e5d02bc0cce108ff2f
Reviewed-by: hjk <hjk@qt.io >
2023-08-17 06:31:45 +00:00
Marcus Tillmanns
5e70029e87
Utils: ShowPwdButton paint while not enabled
...
Change-Id: Ie76413b91d91e703e108192b04e8bbfeed2774f0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-08-17 06:29:54 +00:00