Commit Graph

88653 Commits

Author SHA1 Message Date
Christian Kandeler
f56fd04c8d Revert "Clangd: Avoid client restart after modifying open documents"
The whole point of tracking external changes to files is to use the open
files as a sentinel to indicate that non-open files (on which we don't
have a watch) have likely also been changed.
This reverts commit cff26d813a.

Change-Id: I5a8b3e6709eda881b912916cf0838b45d1ff4fa4
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-03-04 10:36:53 +00:00
Cristian Adam
cf8a8974ed CMakePM: Suppress error message for valid build preset
Fixes: QTCREATORBUG-30373
Change-Id: I2e2ec83c0b14d188096ace61468435ccbd36d84b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-03-04 10:34:29 +00:00
Pranta Dastider
555772130c QmlDesigner: Update instructions in the QML Modules with Plugins doc
This patch updates instructions in the QML Modules
with Plugins document. It also includes a new image
to give a visual idea about the instruction.

Fixes: QDS-12065
Change-Id: I35f0c7f96196c772cbcdd728817ea409318ff952
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-03-04 10:06:54 +00:00
Leena Miettinen
add834577b Doc: Update info about autotests
- Split the topic up into how-to and reference topics
- Add and remove descriptions of preferences
- Move general information to the overview
- Describe qdt locator filter

Task-number: QTCREATORBUG-30209
Task-number: QTCREATORBUG-29361
Change-Id: Idb29eebaeb2f77326ebbb5e6b5654c135473f329
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-04 09:38:35 +00:00
Christian Kandeler
36c7d971c3 LSP: Fix missing icons in call hierarchy
Change-Id: I8b10392ac28689ce80dc818cba5ff58f21becb81
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-04 09:06:11 +00:00
Eike Ziller
832fde9e0e CMake: Exclude non-project CMake files from search
All the CMake files the belong to packages found with `find_package` are
part of the project tree, but we shouldn't include them when searching
through "files in the project".

Set listInProjects to false for these files.

Fixes: QTCREATORBUG-30372
Change-Id: If39d477f14dc3207f4e2dd66b2f3969811dbd863
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-03-04 09:01:02 +00:00
Christian Kandeler
5d41ab126f ProjectExplorer: Expand selected details widgets in target setup page
Rationale:
  - Selecting and unselecting should behave symmetrically.
  - The user is informed of and can easily change the set of
    pre-configured build configurations.

Fixes: QTCREATORBUG-30412
Change-Id: I86e6a41c3baed280df9a694d6cf6eb631cb537f9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-03-04 08:47:27 +00:00
Marcus Tillmanns
44b6dea740 CompilerExplorer: Use volatile
Currently the user can't change the Url. This is for the future.

Change-Id: I7854c1dc0e680c9aa4bbb41d44dbcb9540a3b34b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-03-04 07:48:41 +00:00
Leena Miettinen
642c4beac1 Doc: Split up Refactoring into how-to topics
- Move info about viewing search results to the Search Results View
  reference topic
- Remove the Refactoring top-level topic (the general info is now in
  the Overview topic)

Task-number: QTCREATORBUG-29361
Change-Id: I4072e628368905ed1d5006ececae1b9eaa02fa10
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-04 07:37:47 +00:00
Leena Miettinen
51ca09c2d7 Doc: Describe the "Edit Checks as String" option for Clazy
Task-number: QTCREATORBUG-30209
Change-Id: I56d2f9d9a18f474ab0228c9c64bbde2101d49429
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-03-01 15:17:01 +00:00
Leena Miettinen
217b6eae03 Doc: Describe using junction points on Windows
Task-number: QTCREATORBUG-30209
Change-Id: If6692b697e92a6d3fdffaaddc268cab82f50afd4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-03-01 15:11:02 +00:00
Christian Kandeler
bb15322af8 Update qbs submodule to HEAD of 2.3 branch
Change-Id: I3c4dd9307c74e3fef12bccdc54c13f96dd252e97
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-01 14:33:22 +00:00
Leena Miettinen
5e5c86fecb Doc: Update Axivion docs
You can now view and filter issues from selected results.

Task-number: QTCREATORBUG-30209
Change-Id: I175f71589755af3bd75813eea237487128f36c42
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-01 14:30:39 +00:00
Artem Sokolovskii
810c9e7106 ClangFormat: Fix vague error message
Change-Id: I321d74a80c1735dad3edb6e542451cab3a71a3f7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-03-01 13:46:51 +00:00
Robert Löhning
c5cce4233d SquishTests: Update tests for Welcome screen
Some tests are failing because of QTCREATORBUG-30466
unless someone resizes Creator's windows manually.

Task-number: QTCREATORBUG-30466
Change-Id: Ibeecc2abd85839be3497691912e411862c465a89
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-01 13:26:11 +00:00
Ali Kianian
f7530458c4 QmlDesigner: Remove CollectionSourceModel
Task-number: QDS-12032
Change-Id: Id0b999500a0a8cae16a90a59d051cd725417e431
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-03-01 13:17:42 +00:00
Teea Poldsam
9f024eb5cd Doc: Fix broken links to keyboard shortcuts
Fixed the broken links to keyboard shortcuts.

Fixes: QDS-12122
Change-Id: I461bbe2aa8f30e8f7fea202b15d7e66cfa23083f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-03-01 12:52:10 +00:00
Eike Ziller
6a59cb891b Qt/Documentation: Avoid automatic loading of unrelated help files
On Linux/KDE systems, the KDE documentation files can be installed in the
Qt documentation directory. This leads to a great of documentation files
to be loaded by default, which we try to avoid for performance reasons.
Restrict the pattern for .qch files to start with a 'q', which still
matches the Qt documentation files. If the user wants the documentation
of KDE libraries, they can register them manually.

Change-Id: Ib658c3b2c26a97ca69a8c0e46a5057a58b5a7ec7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-03-01 12:45:58 +00:00
David Schulz
262dcc6643 Core: do not activate open documents entry on right click
If we activate an entry before we handle the context menu event we might
switch into another mode. For example when right clicking on a ui File.

Fixes: QTCREATORBUG-30357
Change-Id: I8de78c3a6bbd9d62e2766ccd2059ee3ee4ef0870
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-01 11:29:17 +00:00
Eike Ziller
3ff56b8079 Bump version to 13.0.0-rc1
Change-Id: I5b4efa41aabce4b007308a53ea9ac291a3a3ad58
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-01 11:24:18 +00:00
Eike Ziller
5b276d5940 Android: Use more ICore::dialogParent()
This is usually the better choice because it takes dialogs into account.
I had one message box vanish behind the rest of Qt Creator, which could
be better with this.

Change-Id: I47b93e120a9e86f9f81da8e542477f1c6274bf87
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-03-01 10:11:16 +00:00
Marcus Tillmanns
b5a6f851a3 CompilerExplorer: Adjust Terminal font size
Adjust the output Terminal font size based on
the text editor font size settings.

Change-Id: Id1047f0fce0ac781cbc51b01f0df9657b179d71a
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-01 07:40:37 +00:00
Marcus Tillmanns
b6b5f04264 CompilerExplorer: Fix value vs. volatileValue
Previously adding a new Compiler would not compile the current source,
but the last "applied" source.

Change-Id: I0979d21a61808e7bc03e5b72e9c8a2492200c8f6
Reviewed-by: hjk <hjk@qt.io>
2024-03-01 07:40:27 +00:00
Christian Stenger
53eb67e483 Axivion: Improve sort indicator icon
Change-Id: I3579cd460644867cddf491365780c0fd76f2c810
Reviewed-by: hjk <hjk@qt.io>
2024-03-01 07:26:45 +00:00
Tim Jenssen
56c4ba1db4 Merge remote-tracking branch 'origin/13.0' into qds/dev
Change-Id: I1d328f67a1c538e36a54f9660d5fb2840a6753df
2024-02-29 19:40:30 +01:00
Tim Jenssen
443c3477ab qds: no need to ignore not built plugins
Change-Id: I65f170aa6efe3f7060e2f87363b66e89bd4e76cb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-29 18:06:30 +00:00
Tim Jenssen
ad0c560d13 qds: add EffectComposer
in EffectComposer.json.in, wie have
"DisabledByDefault" : true,

so we need to ForceEnabled it

Task-number: QDS-12115
Change-Id: Iec89a38a518d3dada285a38d304485dfcd71f979
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-29 18:06:23 +00:00
Tim Jenssen
070e482138 Nanotrace: build doc only does not call any add_qtc_library
So it would fail to find the Nanotrace target.

Change-Id: I1ff8be19e930bd547ced37767be2042f8261e75b
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-29 17:17:53 +00:00
Alessandro Portale
4f30c2b4ed Welcome: Fix the hover background color
It used the wrong color token. With the correct one, the hover effect
is a bit less prominent.

Change-Id: I95a1f5a92f95d4055ae8bce703fdc633b122ac59
Reviewed-by: hjk <hjk@qt.io>
2024-02-29 17:02:21 +00:00
Christian Kandeler
dfb685d64c ProjectExplorer: Employ FuzzyMatcher in run config creation dialog
... when filtering the candidates.

Change-Id: Ia95475ae3ee2a6eab2c9551ed22f97a9540d3503
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-29 15:03:08 +00:00
hjk
d6eb041e6d Debugger: Show supported gdb architectures in log
... using a true gem of interface design.

Change-Id: I33ee751a0d204ea610d031991f0d472912a065a8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-29 14:48:52 +00:00
Christian Kandeler
3aa801ca94 CppEditor: Mark two tests as incompatible with ClangFormat
Change-Id: I95771a3f7fb78d0b7700dc52fdbe7c1e17d00f74
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-29 14:46:11 +00:00
Christian Kandeler
2e45d1d85a CppEditor: Make two test cases ClangFormat-compatible
Change-Id: I5e9df40de3e13f0941c0f8c14385de43e828b5d2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-02-29 14:45:59 +00:00
Leena Miettinen
87f2e9e190 Doc: Describe launching the debugger from the locator
The "dr" locator filter was added.

Task-number: QTCREATORBUG-30209
Change-Id: I25efd162c7adbff90e0c31c0965c30053ea4a64b
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-29 14:44:06 +00:00
Robert Löhning
e7468d060c Mention installer issue in changelog
Users should know before downloading. Might
also avoid some duplicate bugreports.

Change-Id: Ib2d5964fcbb314d7b1c25a281bf5c255a47b3e86
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-29 14:29:20 +00:00
Tim Jenssen
409b9d904f QmlDesigner: refactor dynamiclicensecheck.h
Change-Id: Ic806a32c87200219f6376356bf251cfd5927deed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-29 14:13:56 +00:00
David Schulz
02bac28488 TextEditor: add mime type for device tree source files
Fixes: QTCREATORBUG-19029
Change-Id: I1959681cb7e0f9466cea3344836d7029a98b4548
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-29 13:57:39 +00:00
Cristian Adam
251a8a2210 Utils: Display error message boxes on missing dlls
This used to work in previou Qt Creator versions.

Task-number: QTCREATORBUG-29662
Change-Id: I97b0b15edbc39c2d6c11bb7d71cacd7e006a26f5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-02-29 13:45:45 +00:00
Artem Sokolovskii
38ea622416 TextEditor: Fix jump to a search result to a folded block
Change-Id: Id9963bdf2a02930911753af046443e9b657bc9b9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 13:32:49 +00:00
Christian Kandeler
cc763c80d7 ClangCodeModel: Improve debug output for semantic highlighting
Previously, the final highlighting results we showed were incomplete and
out of order.

Change-Id: If18062cc5a7f3156d6bb0b282aed33906cdef910
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 13:27:47 +00:00
Christian Stenger
63a8856251 ClangFormat: Do not show floating widget
The widget is visible by default and will be shown when it
gets added to its parent widget.
This patch avoids a short popup of the widget which is not
added to its parent when opening the C++ settings.
Amends e1f7469afb.

Change-Id: I7fd40e1fff4872c725ec84b5d1c1e60d6b2b22ce
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
2024-02-29 12:50:26 +00:00
Tim Jenssen
4ef5338229 qml2puppet: use branding from qtcreator repository
To build a correct puppet with the correct version
number do:
cmake -DBUILD_DESIGNSTUDIO=ON

no branding argument necessary anymore

Change-Id: I74b25e3da296fe77d83892d0596f5da3c38ed6cf
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-29 12:47:53 +00:00
hjk
a8b689ae9b Debugger: Fix register display for LLDB and CDB
Change-Id: Ia157c0c03168e91b11d837d6355e61e10afd9728
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 12:46:48 +00:00
Eike Ziller
6c2df76737 Merge remote-tracking branch 'origin/13.0'
Conflicts:
	src/plugins/android/androidsettingswidget.cpp

Change-Id: Ifcb16aa16c7bc2792de25d0ee7a22cf0e39a05f8
2024-02-29 12:44:58 +01:00
Miikka Heikkinen
942b5b62bb EffectComposer: Silence warning
Change-Id: Id2cd48e3976b5bd33c8951d706f0186c7f8a8d87
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-29 10:54:40 +00:00
Artem Sokolovskii
49ab0c4109 TextEditor: Fix jump to search result
Change-Id: Ie570936b0b96290d95999b8b501c12610ebfc9a8
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 09:48:42 +00:00
Aurele Faure
a2be1e9692 AutoTest: Fix bugs on catch2 fixture
Fix the integration of SCENARIO_METHOD.
Allow the catch2 fixture to have namespace before the class.

Fixes: QTCREATORBUG-30454
Change-Id: I27b0578fae12715e6a4466289ed4cc34351f3112
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-29 08:39:33 +00:00
Christian Stenger
f20fc9132f Axivion: Fix sort toggling glitches
The resize handle of a header has some margin to decide
whether to start a resize attempt.
This margin interfered with our randomly chosen one.
Take the needed margin into account and beside this store
an additional information about the column that triggered
our sort toggling attempt.
This avoids starting to toggle some column and moving
slightly to the next one and ending up in sorting the
final column of the move.

Change-Id: I8199f90fd06145c61d2c5e7574b6f040c72022b6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-29 08:03:26 +00:00
Christian Stenger
3e90ccaf35 Utils: Fix Qt6.2 build on macOS
Change-Id: I2b2ca409b88551dc71b7784ff2d7678fe45e3fc2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-29 05:33:34 +00:00
Marco Bubke
85be58e31b QmlDesigner: Modernize ownership in connection editor
Because the member are forward declared we use an nested class to reduce
the pointer and declare them there as value member.

Change-Id: I0e7058333983c4d742d1d831990e9e63cd651562
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-28 23:20:55 +00:00