Commit Graph

86687 Commits

Author SHA1 Message Date
Eike Ziller
58f6a3a459 COIN/GitHub: Use Qt 6.6.2
Change-Id: Ib9303ea53eb8b14851c670c144ed6a3261c2d6cb
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-05 08:09:37 +00:00
hjk
6d6ec00cdb Core: Wrap moribund dialogs into QPointer
There's no guarantee that items in the collected list don't die for
other reasons before it's their turn in the loop.

Change-Id: I5e81a25c3c205646eece30d6dd1a95f4b97eda05
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-04 14:17:45 +00:00
Eike Ziller
50c4046593 Deploy qtplugininfo
It is useful for inspecting Qt Creator plugins and doesn't hurt.

Change-Id: Ifefb3b17193e16b0f592b854477374dbcb5ab1b4
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-03-04 13:41:39 +00:00
Christian Kandeler
fbe244fd46 Cpp Editor: Fix serializing clangd settings
A "store with default operation" makes no sense on the level of the map
itself, as it does not have knowledge about the current on-disk
settings.
This reverts commit a4fbc5f00d.

Change-Id: I008b0b5c24428c71182dac5d1f151d25cf4f7467
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
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 12:47:13 +00:00
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
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
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
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
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
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
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
Fabian Kosmale
786797e8e6 Mention QT_QML_GENERATE_QMLLS_INI in Creator docs
Task-number: QTBUG-121703
Change-Id: Iea04979ceb36ead1836f8207794861723ed18fc9
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-28 18:42:09 +00:00
Cristian Adam
0d8a542b4f CMakePM: Only add paths with dlls to PATH
Skip adding object libraries paths to runtime PATH.
Also add only the paths that contain the dll files.

Fixes: QTCREATORBUG-29662
Change-Id: I58cd9b24c6c079b99ed51ae2ebd315a1aa195f04
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-28 18:33:37 +00:00
hjk
4ca8ad8293 Debugger: Fix breakpoint settings in assembler for LLDB
Setting the breakpoint actually worked, but it was reported back
using a wrong address, so it never went "red" in the disassembler view.

Change-Id: I4c2bd808705dfe793c0febf29b3e78b318dbae00
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-28 16:28:16 +00:00
Leena Miettinen
57874c9c0d Doc: Update Git docs
- Git Branches view now shows the differences between
  local branch and origin
- The + button in Git Branches adds a branch

Task-number: QTCREATORBUG-30209
Change-Id: I75909c7c196b0fd81ca38749e456bc80187b822d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-28 15:59:13 +00:00
Christian Kandeler
576747d623 CppEditor: Mark some tests as XFAIL when running with clangd
These are fuzzy decl/def switches, where clangd does not fail, but
returns the original location.

Change-Id: I86814c2dc5e1b8ec9085fd1486c0120e2f98a3b6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:44:33 +00:00
Christian Kandeler
68dab97bc5 CppEditor: Fix running tests with clangd
Try harder to find a suitable kit:
  - Pick one without warnings.
  - Pick one with a Qt, as otherwise configureAsExampleProject()
    will fail.

Change-Id: I5a38e86bd81840c6794de365980618c904936d3a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:44:14 +00:00
Jarek Kobus
f3a53dfd8c Axivion: Use more dashboard url instead of server url
Change-Id: I1fbc1dad779e9198206cb8ef4a4029a99af6861f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:39:24 +00:00
Jarek Kobus
bcdcaab7b7 Axivion: Make initial dashboard fetch a part of authorization
Ensure that after authorization we have fetched the initial
dashboard info. If the fetch fails, we remove the stored
ApiToken from the key chain.

Change-Id: I894b9d8bc8ade8ec6fa29391fafa67ad5b4fabba
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-28 13:38:44 +00:00