Commit Graph

82976 Commits

Author SHA1 Message Date
Jarek Kobus
7e0534c301 ClangToolRunWorker: Remove unused fields
Change-Id: I599196e436d1648dff386555ec5537a21de9fc35
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-07-05 11:18:03 +00:00
hjk
79bf7873bd RemoteLinux: More direct aspect use in RsyncDeployStep
Change-Id: Iaa34dba82189f78e88dd09585ada9b36ec3f2852
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-07-05 11:15:48 +00:00
Marco Bubke
ef8dcbdfa8 StudioWelcome: fix signedness warning
Change-Id: Iffa90513ce0cbb0df5480a59bdf371c1d6da5a00
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-07-05 11:05:01 +00:00
Henning Gruendl
13c0fd2a0c QmlDesigner: Add title bar icons to icon font
Change-Id: If4b094723f0638f4e09f9b42312e0d14400e6067
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-07-05 09:31:51 +00:00
hjk
ada4429bcb RemoteLinux: Simplify GenericDirectUploadStep
The IncrementalDeployment::NotSupported was alwasy overridden with
Enabled or Disabled before actual action started, so it was not more
than a bool.

Change-Id: Ia4e986d08cdd10e20a741868ecb43e0c7ed4bf33
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-07-05 09:24:19 +00:00
hjk
886ef1e262 RemoteLinux: Use aspects more directly in GenericDirectUploadStep
Change-Id: I3e9070eaf0ec0eef6a706e06a87083bd214d652e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-07-05 09:23:54 +00:00
David Schulz
1dbeb17841 Editor: Fix painting overlay selection
The border around the selection overlaps the line rect, so in order to
correctly repaint the selection when scrolling we need to widen the
prefiltering of painted selection.

Change-Id: I953749571e3e9ae412bf05f47ab3c4c3bfb8861e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 09:22:11 +00:00
Christian Stenger
c6a8a76be0 Fix Qbs build
Change-Id: Ic02f12a08990bfa9eb3f0131141407373248bae1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-05 09:21:08 +00:00
Christian Kandeler
ae7b6b8ecf CppEditor: Fix test
Amends 3f61223c0f.

Change-Id: If5b0ed3c1c93914ebdd684f75e2900653ecaf7d7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-07-05 08:59:06 +00:00
Christian Kandeler
c732667838 QmakeProjectManager: Prevent infinite loop on ABI change
Fixes: QTCREATORBUG-29204
Change-Id: I6f4e4fa96f6c48dc83f0e5baf2205421b9ff67ca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-05 08:58:38 +00:00
Orgad Shaneh
2f6f9d2d33 Terminal: Add icons to tabs
Change-Id: Id219366de16944daf83c3eb154d6b087c79b7fd9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-05 08:45:12 +00:00
Marcus Tillmanns
f23103467a Terminal: Remove unnecessary echo
Fixes: QTCREATORBUG-29354
Change-Id: Ie6ddd127fecef3f48e56ca17335b21afaab31365
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-05 08:28:17 +00:00
Orgad Shaneh
9a7f45cc46 Terminal: Allow the underlying application to set title
Change-Id: I3530d645f16047df2546902d900e5e2fee8d071c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-05 08:26:39 +00:00
hjk
1bd2e84f9a Meson: Filepathify some parsers
Change-Id: I403a78e6a05a531b7ab8b5779fe9f87b0e01fc1d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-07-05 07:01:36 +00:00
Artem Sokolovskii
1fc0ca5277 DAP: Add CMake support to DAP engine
Added CMake support to the DAP engine in Qt Creator.
This feature can be enabled by setting the environment
variable QTC_USE_CMAKE_DEBUGGER. CMake debug session can
be started by clicking "Run CMake" or "Run".

Note:
Doesn't work with "Run debugging" in this patch.
Works only with cmake 3.27.0 and newer.

Change-Id: I756ea57f507aa4a6621ad62a8c0ef52c44a5185d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-07-05 06:59:49 +00:00
Mats Honkamaa
aa7628f754 Doc: Add info about Effects in Content Library
Task-number: QDS-9841
Change-Id: I9830b87961ea9f650f02526e0a6f26c4787db6f8
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-07-05 06:42:17 +00:00
Christian Stenger
52bc1578e5 QmlPuppet: Fix build
Change-Id: Ieb459d5dbab7ceba3965a1657b2411cbacac258a
Reviewed-by: hjk <hjk@qt.io>
2023-07-05 06:25:17 +00:00
Eike Ziller
3f912c01fb Doc/Extending: Update "getting and building" page
qmake files were still referenced.
Do not focus on building Qt Creator, we ship a development package
nowadays which is preferred.

Change-Id: If209f48c0fcf4f8fbe87ecaddae826ad3a63c209
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-05 06:10:57 +00:00
Eike Ziller
3b4a852637 German translation: QmlJS(Editor|Tools|Preview|Profiler)
Change-Id: I2643131f416f0c8cd60766882faba07a337e5f25
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-05 06:10:36 +00:00
Eike Ziller
fbdbaa8a84 German translation: Utils, Valgrind, VcsBase
Change-Id: Ib0fa7a241450c9ceabef746b83b4df533e60875c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:10:26 +00:00
Eike Ziller
fbd8bbff47 German translation: Python, qmt, ScxmlEditor, TextEditor
Change-Id: I8f3561f69c0df09b01cef7c08e61b297d599076a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:10:18 +00:00
Eike Ziller
9804186523 German translation: Update Bookmarks, CMake, Core, CppEditor
Change-Id: Ie866b45390e9e37e825ad339f8ca6688fd7c6f7e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-05 06:10:04 +00:00
Eike Ziller
4e9b45dc5b German translation: LanguageClient, ModelEditor, Perforce, PerfProfiler
Change-Id: I0ae68cc3f2dff8044023d5a70d3b45f93543bc6b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:09:56 +00:00
Eike Ziller
a841add9bf German translation: Debugger, FakeVim, Fossil, Git, Help
Change-Id: I77bd7d5e38510e60bf34087b32418ea9f47411f4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-05 06:09:49 +00:00
David Schulz
f6fb693b38 Utils: fix emitting FancyLineEdit::validChanged after delayed validation
Change-Id: I0688f21020517ccf45011f8e0b1a5aeb8b1b4f2c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-07-05 05:11:01 +00:00
Cristian Adam
ce3530033d Vcpkg: Detect vcpkg root from path
Change-Id: Ieff796b228fba9cb5bddc6a012da0eacb1bfa43f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-07-04 21:50:04 +00:00
Tim Jenssen
d9910058a3 Merge remote-tracking branch 'origin/qds/dev'
Change-Id: I91d9877ef6637d21e1106d6d363275295e6b55a3
2023-07-04 20:36:03 +02:00
Tim Jenssen
7fada70e8f unittest: fix linking problem on windows
Task-number: QDS-10245
Change-Id: Ie6baee6c9e5c8351fe67b2dd49ad4e80147ec48a
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-07-04 16:49:43 +00:00
Cristian Adam
09a0c0ec15 Auto-setup: Forward CMAKE_<LANG>_STANDARD to conan/vcpkg
Fixes: QTCREATORBUG-29292
Change-Id: Iee0b0639841d11fa14dcb57c1a4f9b4678aa0e2b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
v11.0.0-rc1
2023-07-04 16:46:49 +00:00
Tim Jenssen
48230d63b8 Merge remote-tracking branch 'origin/11.0' into qds/dev
Conflicts:
 src/plugins/qmldesigner/CMakeLists.txt
 src/plugins/qmldesignerbase/CMakeLists.txt
 src/plugins/qmlprojectmanager/CMakeLists.txt
Change-Id: If706ae3fe7a7d0e17036ce6285bec772d1f6127d
2023-07-04 16:22:32 +00:00
hjk
ae7e72cca5 RemoteLinux: More direct aspect use in CustomCommandDeployStep
Change-Id: I5c5d993e97396bfa2bf52e6c2a01801703071929
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-04 13:46:14 +00:00
hjk
e53bc1630a AutoTools: Use direct aspect registration in AutoreconfStep
Task-number: QTCREATORBUG-29168
Change-Id: I886e84a752031cabb8bf235dc4e83c8f78ae88cb
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-04 13:22:07 +00:00
hjk
941c99c893 Boot2Qt: Use direct aspect registration in QdbMakeDefaultAppStep
Task-number: QTCREATORBUG-29168
Change-Id: I06c28f864cc9a517cfb8183ef2dfa366310438df
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-04 13:21:24 +00:00
hjk
d0d1e1af1f A few more direct FilePathAspect value accesses
Task-number: QTCREATORBUG-29167
Change-Id: I8eba582303c16dddbdb5cea5bce43f048bac06b7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-04 13:08:00 +00:00
hjk
2cc4967451 ProjectExplorer: Replace unusual ExecutableAspect constructor
... by an (only) slightly less weird setter.

Helps with a more uniform aspect API.

Task-number: QTCREATORBUG-29168
Change-Id: I40d2e878987ed7b817e08d250566bc548712749d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-04 12:49:01 +00:00
hjk
914bc626e7 Python: Use a separate PythonInterpreterAspect
... and move interpreter related code there.

Change-Id: I108a4bdfa7c3f2078da164ce13e897a18ebdadde
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-07-04 12:28:40 +00:00
Robert Löhning
1487f1a0c0 SquishTests: Make sure tst_git_local cleans up properly
Creator still writes gitProject.pro.user after cleanup() ran.

Change-Id: I78c8247090a7032b21ee3a763fd390bb16f3d24b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-04 12:27:45 +00:00
Jarek Kobus
6f819c07cd GitGrep: Pass GitGrepParameters through the lambda capture
Instead of using QVariant searchEngineParameters.

Change-Id: I30b2bf06fb16586b11e22410e1662d3127ae97be
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-07-04 12:23:22 +00:00
Jarek Kobus
858ecf3e78 SearchEngine: Replace openEditor() with editorOpener()
Change-Id: I45da343f4df3cf634c24bbb518703c856fbb4d90
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-07-04 12:23:12 +00:00
Jarek Kobus
de5efffeff BaseFileFind: Replace files() with fileContainerProvider()
The fileContainerProvider() is called only once per
SearchResult instance, and the result (the provider)
is stored inside FileFindParameters.
In this way the extra data, like the name filters or
the search directory, are set just once. Whenever the
search is started (or started again), the stored provider
recreates the FileContainer according to the data that
has been captured by the lambda when the provider was created.

This patch eliminates the need for retrieving the custom
data from QVariant. It also eliminates the set of arbitrary
arguments for the removed files() method.

Remove the BaseFileFind * argument from the
SearchEngine::executeSearch() method.

Change-Id: I7211f503f82db12b5a99c9d342466daaaae0839f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-04 12:23:05 +00:00
Jarek Kobus
6e16512eba AppOutputPane: Ensure the window exists before flushing
Amends c1f6d70445

Change-Id: I5fbb6efced18682b62cd7c905653e23419a3a522
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-04 12:22:22 +00:00
The Qt Project
5f5a16628b Merge "Merge remote-tracking branch 'origin/11.0'" 2023-07-04 12:07:11 +00:00
David Schulz
5c7cbe802a Python: reduce the timeout of version check commands
Task-number: QTCREATORBUG-29363
Change-Id: Id7583c876dc2a8c92eae4dd68bda47dffafd6e3d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-07-04 11:59:12 +00:00
hjk
8e257dca2c Utils: Replace StringAspect::setFilePath()
... by FilePathAspect::setValue().

Closer to the intented uniform API.

Task-number: QTCREATORBUG-29167
Change-Id: Ife26046eaeef2e49108e42a31a2d32e453883e3c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-07-04 11:41:31 +00:00
David Schulz
13ccc24a35 Utils: remove now unused Utils::Text::Replacement
They have been completely replaced by Utils::ChangeSet.

Change-Id: I857816c1b2730699ba481da2e271dde358f394f3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-04 11:39:36 +00:00
David Schulz
4743724d4c Editor: replace Utils::Text::Replacement with Utils::ChangeSet::EditOp for formatting
Removes the last usage of Utils::Text::Replacement with a more commonly used pattern.

Change-Id: I0912bf61388a58ddaba424380ec139f9aa15fc4c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-07-04 11:39:30 +00:00
Leena Miettinen
a23b933308 Doc: Combine "Working with Sidebars" and "Show and hide sidebars"
- Sidebars are hidden in QDS and the views can be added to
  workspaces, so hide references to sidebars on the QDS side.

Task-number: QTCREATORBUG-29361
Change-Id: Ic468f6f818bddb391bd9514d273ecf8b6b412187
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2023-07-04 11:12:30 +00:00
Leena Miettinen
1956b0f698 Doc: Combine two topics about selecting modes into one
Move information from "Selecting Modes" to "Switch between modes".
Hide it from the QDS Manual because modes are hidden by default in QDS.

Task-number: QTCREATORBUG-28996
Change-Id: I6d281fe9364e191616af3a8ac484dd0a7d6a3156
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2023-07-04 11:12:20 +00:00
Leena Miettinen
0f409b7ae8 Doc: Move details of managing plugins into How-to topics
...from Configuring Qt Creator

Create "Enable and disable plugins" and "Install plugins" topics.

Task-number: QTCREATORBUG-29361
Change-Id: I51fdfad1cd7d210a72cf08ef3e82f08ae8c6ecac
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-04 11:06:13 +00:00
Leena Miettinen
95074bf2a3 Doc: Update screenshots of output views
The Next and Previous icons were changed.

Task-number: QTCREATORBUG-28996
Change-Id: Ic90a458fdc500f8978ff1d51e293928c322c3091
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-07-04 11:05:23 +00:00