Christian Stenger
585eb1c3e4
QmlJS: Switch default enabled state for analyzer message
...
This message was mainly added for the QmlDesigner and DesignStudio.
It might be a valid warning under circumstances, but it may also
prevent valid use cases.
Turn it off by default and enable it for the QmlDesigner parts.
Fixes: QTCREATORBUG-29088
Change-Id: Id2c76efdf3fa419cfce71ad89360927241d41ac8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io >
2023-06-07 10:32:06 +00:00
Marcus Tillmanns
217b03c1ac
Terminal: lock/unlock keyboard
...
We copied QShortCutMap into Qtc to allow us tight control over which shortcuts
are "enabled" while the focus is inside a terminal, and the keyboard is "locked"
to the Terminal. Locked here means that except for a select few, all key presses
are send directly to the terminal and cannot be used to activate other actions.
Change-Id: I96cddf753033c0f4e7d806b20085bb4755853117
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-07 10:29:47 +00:00
Tim Jenssen
ad5e8392fe
ProjectExplorer: fix warning when there is no buildConfiguration
...
For example in QML projects.
Change-Id: I8ff53ce367f2b6f8d0baaf3c7ae1bd03acab84e0
Reviewed-by: Marco Bubke <marco.bubke@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-07 09:50:48 +00:00
Tim Jenssen
adc901ba2c
QmlProjectManager: fix warning when project has no mainScript
...
happens at start when project is still parsing
Change-Id: I02b1d52b41c4f092fb4f45cf3dcf192e29eda324
Reviewed-by: Marco Bubke <marco.bubke@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-07 09:50:15 +00:00
Tim Jenssen
2b4fe0aef8
Qml: fix Boot2Qt deployment from Windows host
...
- fix QmlBuildSystem::target*() to resolve maybe device files
- Cache lookup of qml path on device
Task-number: QDS-9994
Change-Id: I5675368368f2d1cc513feb98fdcdd75fda1a764a
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-07 09:49:30 +00:00
Jarek Kobus
04b86eb3db
ImageScaling: Implement the example using TaskTree
...
Change-Id: Iac54157955d5dffe12a7fdeed904fbcf62a2b667
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-06-07 09:27:40 +00:00
Jarek Kobus
c276a896b8
AndroidSdkDownloader: Do some reformatting
...
Use #pragma once.
Use Android::Internal namespace.
Change-Id: Ic5ceef259fb2c333448f2ed48a10645d6945c029
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-06-07 09:22:37 +00:00
Tor Arne Vestbø
27b630c3ab
Replace Q_OS_OSX with Q_OS_MACOS
...
Change-Id: Ibee0c259d7df86a8df58b1ad12549b145f715397
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-07 07:54:04 +00:00
Marcus Tillmanns
2d128e9c70
Debugger: Fix BreakpointItem::needsChange
...
Change-Id: I75680eddb7a6c2ba23148b66cf8dfcc08b07eca2
Reviewed-by: hjk <hjk@qt.io >
2023-06-07 07:50:25 +00:00
David Schulz
be0a129543
CMake: fix find link at
...
Change-Id: I1afcd3bd2b4db53ff8284f9acbe2b07102e66205
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-07 07:38:16 +00:00
hjk
0d4a546397
Debugger: Use Utils::Text::Position instead of int line number
...
The column is currently unused.
Change-Id: Iabc57c8d21e807187783071efe9a82e9c1877181
Reviewed-by: hjk <hjk@qt.io >
2023-06-07 07:36:29 +00:00
Marcus Tillmanns
a3fb6a3a1c
Debugger: Fix compile warning
...
Change-Id: I77399e4f8260a043dbc429649fe33513d19fc91a
Reviewed-by: hjk <hjk@qt.io >
2023-06-07 07:30:13 +00:00
hjk
adcf52e0c4
Fix some more *::count() deprecation warnings
...
Change-Id: Ib7d1552a6f7b167e15beb7ca1ef26c7d57e090e9
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-07 07:29:34 +00:00
Marcus Tillmanns
886ca55b5a
Terminal: Fix warnings about re-registered action
...
Especially on Linux the pointer value of the Terminal might be reused,
leading to warnings about actions being registered for the same context.
Cleaning up the registration fixes this.
Change-Id: Ie1d53bf79581e9f98576e7a4e70420ec63da0f86
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-07 07:25:13 +00:00
Leena Miettinen
cdf7b63218
Doc: Add docs for using the Copilot plugin
...
Fixes: QTCREATORBUG-29219
Change-Id: I58215bcf2de92e4619ebd0256ec5cbef9bad45bc
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-07 07:23:16 +00:00
Leena Miettinen
e4dad9547f
Doc: Describe the Terminal output pane
...
Fixes: QTCREATORBUG-29220
Change-Id: I407a7de1be7f485da99b445b967c768373c8c7f5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-06-07 07:22:23 +00:00
Marcus Tillmanns
ce7677a7d7
Kits: Sort kit parts by device
...
Change-Id: I00e1db4897071ac6baf97c5bb6214c2658a7b9fb
Reviewed-by: hjk <hjk@qt.io >
2023-06-07 07:19:19 +00:00
Leena Miettinen
d58214fc35
Doc: Update info on using the Locator
...
- You can now locate files on remote file systems and switch
the device root
- You can now create directories from the locator
Task-number: QTCREATORBUG-28996
Change-Id: I85ca475e76db7f8fa5d97b4e9d9c6b3aa80b4a32
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-07 07:19:04 +00:00
Marcus Tillmanns
07374a7114
ClangFormat: Do not change incompatible settings
...
Fixes: QTCREATORBUG-29190
Change-Id: I81730f59f05c8aba718a60deebfeb2b1b3aa0d7f
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2023-06-07 07:16:23 +00:00
Jarek Kobus
2934e30ad0
NetworkAccessManager: Remove unneeded includes
...
Change-Id: I8263984565a9eaf2393612843c2eb79ce9e118f5
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-07 07:16:07 +00:00
hjk
6d5b725d45
Debugger: Replace some uses of deprecated QVariant::type
...
Change-Id: I2225668b51d82e017cda305737f8c93fdaf97bd7
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-07 07:16:02 +00:00
Jarek Kobus
16fc0fcf1c
CppEditor: Reuse QScopeGuard instead of ExecuteOnDestruction
...
Change-Id: Ia60c8eab687599dbaa519daeab74e8799c33af95
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-06-07 07:15:44 +00:00
David Schulz
bae8e28fee
TextEditor: Add tests for the generic highlighter
...
Change-Id: I5a5092ed0a997800bf6653ab25d69f08f4aa0c37
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-06-07 06:20:42 +00:00
Christian Stenger
07fbf12574
McuSupport: Do not try to handle non-existing targets
...
Silences the warning message box if Mcu settings page had been
opened and stays unconfigured, but Ok or Apply is used to close
the settings dialog.
Change-Id: I28179b7e7d306bfb08e8066982548ca6b954120d
Reviewed-by: Sivert Krøvel <sivert.krovel@qt.io >
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-06-07 04:21:18 +00:00
Tim Jenssen
723b71e897
QmlDesigner: fix typo
...
Change-Id: I2390509fab6fc0a6b71f90bacc7173b4540c3dc3
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2023-06-06 21:06:04 +00:00
The Qt Project
c65c71c4e3
Merge "Merge remote-tracking branch 'origin/11.0'"
2023-06-06 14:50:48 +00:00
Eike Ziller
967c53696c
Merge remote-tracking branch 'origin/11.0'
...
Conflicts:
tests/manual/subdirfileiterator/tst_subdirfileiterator.cpp
Change-Id: I6fa8fbed152efc4033fa69e1ab67ced7e2ad35bc
2023-06-06 16:50:22 +02:00
Artem Sokolovskii
ac24b23ff8
ClangFormat: Add file size threshold
...
Add file size threshold to prevent qtcreator freeze
when a file is big. The default value is 1MB.
Change-Id: I356c64cd5ca99a34413043896076dbab859538b6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-06 14:42:55 +00:00
hjk
390b4aa895
ProjectExplorer: Replaace some QVariant::type() uses
...
Deprecated since Qt 6.0 in favor of typeId()
Change-Id: Ib6ab5196ad9ec4cb2d3dbc2d4f1ceca5cfdcdd07
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2023-06-06 14:36:09 +00:00
hjk
9db19c653c
All: Replace deprecated QLibraryInfo::location
...
... by QLibraryInfo::path() which exists since 6.0
Change-Id: I0e1e071e0d279ddaf1f1027a0e6ce350ab21739a
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-06 14:35:55 +00:00
hjk
52db6f38f7
Utils: Replace two deprecated uses of .count()
...
Change-Id: I13d683b762c5093231e42c57d58ae322746d9922
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-06 14:35:46 +00:00
Eike Ziller
58c5c627a5
General settings: Move toolbar style to theme setting
...
And fix label style, we don't use book style capitalization for labels.
Change-Id: Ibd98c911165f720adee73654d8214adfc02d9f9e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2023-06-06 14:29:16 +00:00
Eike Ziller
e1f1d45225
Beautifier: Fix restoring of settings
...
Amends 7dd27301ab
Fixes: QTCREATORBUG-29250
Change-Id: Iaa0af369055708c738c37ffc466f3d0fe8901b89
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-06-06 14:28:25 +00:00
Eike Ziller
414e156177
Markdown: Set focus to text editor at start
...
Take two. Amends d9e3d32a80
Change-Id: Ib3680df9ea7954e00326be2aee71ed2862a74a6e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-06-06 14:09:20 +00:00
hjk
1c2cf83c69
QmlDesigner: Inline assetexportdialog.ui
...
Change-Id: Ie22beaf507fcf146bcd3c5d228cafa33941425d8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-06-06 12:35:27 +00:00
hjk
9b6ff3fb36
Vcs: Use PagedSettings for common settings
...
Also restrict the Reset VCS Cache button to the second
column, as it was earlier.
Change-Id: I291fdceb11df4ecdfdc0887fd521288d0b4544f3
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-06-06 12:35:11 +00:00
Leena Miettinen
1348f0cfe0
Doc: Fix description of Add Class Member refactoring action
...
The developer must enter the data type of the member only if
automatic detection fails.
Change-Id: I51c1f36aeb34fb6560701cbd30a5748be5f1cde0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2023-06-06 12:06:49 +00:00
Robert Löhning
9cc9ec2aec
SquishTests: Remove workaround for fixed bug
...
Task-number: QTCREATORBUG-28985
Change-Id: Ib69ccd0f967484a9858ddebdf08a376035e42e90
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-06-06 11:46:07 +00:00
Christian Stenger
a81c9b497a
Tests: Fix qbs build
...
Change-Id: Ia4a54bab4208c5cdf1c7ce67f5caab84aa1583ef
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-06-06 11:45:04 +00:00
David Schulz
d617b046c6
Python: support remote file paths when loading projects
...
Change-Id: I94f709275d3b226685439ac55d58b029d3323d12
Reviewed-by: hjk <hjk@qt.io >
2023-06-06 10:55:06 +00:00
David Schulz
beaf86f9de
Python: filepathify python project path for saving
...
Change-Id: Ibcea9de6c8844cb826b61aa40357890153923854
Reviewed-by: hjk <hjk@qt.io >
2023-06-06 10:42:13 +00:00
Alessandro Portale
b3e51d6242
ProjectExplorer: Fix build progress icon alignment
...
The build progress warnings/error icons were not vertically centered.
That was noticeable with the "Relaxed" toobar style.
Fixes: QTCREATORBUG-29252
Change-Id: I921ccc936c3233b2b2f80979aaae2b09709dbcff
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2023-06-06 09:32:12 +00:00
Christian Kandeler
0a1073f7cd
ClangCodeModel: Restart clangd on changes in VCS repository
...
This should prevent the index from becoming stale after e.g. a git
checkout.
Change-Id: I94d364d3f2ec38889564c7859ca95ccb2de3019d
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
2023-06-06 09:18:12 +00:00
Artem Sokolovskii
80665d6acf
Fix master build
...
Amend a78720060e
Change-Id: I179fac4a604a6e582fd289ac972068b74ef4288f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2023-06-06 09:16:54 +00:00
Jarek Kobus
d97d3f58ac
TaskTree: Rename TaskItem into GroupItem
...
Not all classes derived from TaskItem are tasks,
but the common denominator is that all may be placed
inside a group: thus GroupItem sounds more appropriate.
Addresses the 10th point in the bugreport below.
Task-number: QTCREATORBUG-28741
Change-Id: I94d728a8e39ec732810f2e5bbe6b9a76f3bc387c
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: hjk <hjk@qt.io >
2023-06-06 09:06:01 +00:00
Christian Stenger
969f560c61
SilverSearcher: Fix missing include
...
Amends 64d209c24b .
Change-Id: Ib73302e98e4779e8d8f232852d45903a4055172a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2023-06-06 08:23:31 +00:00
Eike Ziller
8b85ac30a4
Do not show Design Studio settings page in Qt Creator
...
Change-Id: Iab2b8806f8041685440670fe741f25fb895afd99
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
2023-06-06 08:14:18 +00:00
Alessandro Portale
6b04989fce
Utils: Introduce customMargin(const QMargins &)
...
And re-use it for normalMargin() and noMargin()
Change-Id: Id779e2fa052ab35df3dd917d890ca7808dfb1a8c
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io >
2023-06-06 08:08:01 +00:00
Jarek Kobus
3f9704846b
ImageScaling: Get rid of doc example markers
...
In order to more easily compare both implementations.
Change-Id: I4ff48cb4d4e61be4e2c8834f63091f4d825db0be
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-06-06 08:05:58 +00:00
Jarek Kobus
c3344c740a
Tasking: Import imagescaling example
...
It's an initial copy of the
qtbase/examples/qtconcurrent/imagescaling.
The goal is to implement it using TaskTree and
compare both implementations.
Change-Id: I92953a70a3330ac679823060e75e5f39971ae444
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 >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2023-06-06 08:05:39 +00:00