Marcus Tillmanns
0a77097395
cmake: Fix cmake option display
...
When editing a multiple choice cmake option the
background ( the text of the current value )
would shine through. This fixes that by setting
setAutoFillBackground(true) on the editor widget
Change-Id: Ie36ea13f2d0532c375f22a33569772c3b2c604fb
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-07-04 11:10:52 +00:00
Cristian Adam
1afbeb696a
ProjectExplorer: Better detection of MinGW GCC and LLVM abi
...
On Windows the ld.bfd from MinGW GCC and lld from LLVM have fixed
positions where they store the PE extended header.
These positions differ than what MSVC is using, and it's enough to know
if an abi is not MSVC to mark it as MSys.
Task-number: QTCREATORBUG-26247
Change-Id: I9ee35fb1b848fa574ed0506649a5e45fdbdf7974
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: hjk <hjk@qt.io >
2022-07-04 10:50:41 +00:00
Artem Sokolovskii
0087bd492f
Clangd: Fix autocompletion for old style SIGNAL and SLOT
...
Fixes: QTCREATORBUG-20737
Change-Id: If6d3c6ea5924537386eca81d90d4bb1e8f1a1466
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-07-04 10:33:37 +00:00
Christian Stenger
ec86b12724
Squish: Modernize SquishTools
...
Change-Id: I8b9394b95d0e9fe8e054c66df58436aef2ddfb05
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-07-04 09:34:38 +00:00
Marcus Tillmanns
6431932569
cmake: Add option to disable subfolders
...
An option is added to change the default behavior that
would create subfolders inside source groups for files
based on their location on disk.
When disabling the option, files will be added directly
under their respective source group.
The virtual folders <build-folder> and <other-files>
is also omitted when the option is disabled.
Fixes: QTCREATORBUG-27432
Change-Id: Id78e178011c5299d4f7257bf855a5d791eebf91c
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2022-07-04 08:48:57 +00:00
Alessandro Portale
c899793b37
Android: Fix version mapping from sdk_definitions.json
...
- Support multi-digit values for version ranges, via "+" in the RegExp
- Turn the RegExp expression into a raw string for easier reading
- Fix shortVersion (Maj.Min.-1) handling by appending the ".-1"
- Explicitly define the Patch number range for 5.15 in sdk_definitions
Change-Id: Icf22f2b4f865b4d5bcff48569aa58137294129ce
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-07-04 08:26:04 +00:00
hjk
df26d12b73
Utils: Add a convenience function to iterate over multiple directories
...
Change-Id: I7959b65b5502362b15fab3c0fd78b3e76431ff64
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 08:00:51 +00:00
David Schulz
9dc1fb3381
LanguageClient: allow aborting hover handler on unreachable clients
...
Change-Id: I1163144de7d37d3e270e31f2bf523ba812a937a5
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 07:17:41 +00:00
Marcus Tillmanns
e51790a180
android: remove superfluous >
...
Change-Id: I01ab2b5045f6037a4fd89b5ad02f105292d02e88
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-07-04 07:16:07 +00:00
David Schulz
37400e9084
LanguageClient: do not accumulate response handler
...
Change-Id: Icf297ddf09bb64aea1d50fb24efa231df01eaed1
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 07:09:44 +00:00
David Schulz
a23311f8e7
Debugger: use QtcProcess output buffer
...
Change-Id: I03326879bbcf2411a1feab8b6826ddd4c0981286
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 07:09:35 +00:00
David Schulz
5a2b8a6218
Debugger: remove unused CdbCommand
...
Change-Id: Idad2b62ca60da1749970ced21445c2d82bc2a798
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 07:09:21 +00:00
David Schulz
dc94ce83ac
Debugger: sort cdb engine includes
...
Change-Id: Iddbf7dace0f8b5f36ad2ab9823815588ac087042
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 07:09:08 +00:00
David Schulz
9eef4bd2f1
TextEditor: remove mark width factor
...
Needed to optimize painting of different text mark icons in one line.
Change-Id: Ia7f9dd12020e2a21875b3de54b65257f8ea337d9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 07:08:59 +00:00
Eike Ziller
91fb0cf123
Merge remote-tracking branch 'origin/8.0'
...
Conflicts:
src/plugins/qmldesigner/qmldesignerprojectmanager.cpp
Change-Id: I5106bb632c2a3a144287097137be45b0894b9ee4
2022-07-04 08:53:22 +02:00
David Schulz
1ce044ef7a
Editor: Update document layout only if the mark color changes
...
Change-Id: Ic0408e87422edcf880381a20d685b24c785919c3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-04 05:06:17 +00:00
Orgad Shaneh
4180e1b84f
CodeAssist: Fix Coverity issues
...
* Initialize m_reason in IAssistProposal.
* Remove superfluous null validations.
Change-Id: Icb9b7a7a98db719540586142e30be75f37a4ab92
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-07-04 04:42:22 +00:00
Christian Stenger
ce74e9fb2d
Provide Squish integration plugin
...
Change-Id: I43ae2ad35441339fa48714c14094b8003d0cf7c3
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2022-07-04 04:26:04 +00:00
Thomas Hartmann
866f16adb1
QmlDesigner: Fix TextEditorView::reformatFile
...
* Updating the document only if it actually changed
* Using the text cursor of the widget
* We can rely on the widget to exist
* Simplify how the cursor is restored
Task-number: QDS-6410
Change-Id: Idaa384533f12b9b7ad7078bcdc37c1afaf651662
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2022-07-01 17:30:21 +00:00
Mahmoud Badri
5a9a6804ee
QmlDesigner: Implement drag-n-drop materials to the 3D Editor
...
Fixes: QDS-7011
Change-Id: Id6e4aea2c19561ea861507480636ae2358ece067
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io >
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2022-07-01 15:38:29 +00:00
Thomas Hartmann
b5a34902d0
QmlDesigner: Remove QTC_ASSERT
...
This crashes if edit3DWidget() is null and we check below.
Change-Id: If993b73461fb442fb6d668ba9fc15c46ea763a11
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2022-07-01 15:04:34 +00:00
Alessandro Portale
8a83938886
Android: Fix OS-specific parsing in parseDependenciesJson
...
The Linux-specific sdk_essential_packages should not be installed if on
Windows.
Change-Id: I6b13a131785c7a76a35abf282dacdf915781e6d1
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-07-01 14:20:31 +00:00
The Qt Project
d69cf8096d
Merge "Merge remote-tracking branch 'origin/7.0' into 8.0" into 8.0
2022-07-01 13:27:55 +00:00
hjk
1257a4c5c3
QmlDesigner: Suppress some warnings when build without tests
...
Change-Id: I1358e7fa754b65d82261b1a512279e8122c597f7
Reviewed-by: Aleksei German <aleksei.german@qt.io >
2022-07-01 13:26:08 +00:00
hjk
b29ca1e345
ProjectExplorer: Drop encoding roundtrip in gcc detection
...
Change-Id: I6fb407465f634287edeba59fe6427ddb0299112f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 11:42:34 +00:00
Eike Ziller
caed14b22d
Fix pluginspec test for Windows release builds
...
Used a wrong name for the plugin library
Change-Id: Ic1cff07387b660a641c2f43bfb913bd8b8668c5c
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 11:34:56 +00:00
Eike Ziller
93ed9157b1
Update change log for Qt Creator 8
...
Change-Id: I94bfe43d61388d23c0feecd4eabe67c173c7aee6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2022-07-01 11:24:41 +00:00
David Schulz
f587a0b186
ProjectExplorer: set correct task type
...
Change-Id: I56f9e66cde30d5ebb182f0badc4e1cb134237fe8
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 10:32:17 +00:00
Leena Miettinen
98984ec3ba
Doc: Describe the GitLab plugin
...
Fixes: QTCREATORBUG-27559
Change-Id: Ifd04888628c7d87a2348deb906f9dfad609c6163
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 10:22:25 +00:00
Leena Miettinen
765f5a2018
Doc: Describe "Display file line ending" option
...
...in Preferences > Text Editor > Display.
Task-number: QTCREATORBUG-27560
Change-Id: Ic5c7b9fc46c421c2266bca8b7f7a67c68a585cac
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-07-01 10:22:07 +00:00
Leena Miettinen
47b9183142
Doc: Describe new Python options
...
- Installing PySide6 and Python language server when prompted
- Python Interpreter preferences
Task-number: QTCREATORBUG-27560
Change-Id: I62f5aae381821bb0e81dffe76de61a8ec057d190
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-07-01 10:21:49 +00:00
Leena Miettinen
2364761c8e
Doc: Document new Python language server options
...
Task-number: QTCREATORBUG-27560
Change-Id: I659f9ef11b25363126ca387c2844bdddfa33f284
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-07-01 10:21:28 +00:00
Leena Miettinen
750c50a00f
Doc: Describe copying an image as a data URL in Image Viewer
...
Task-number: QTCREATORBUG-27560
Change-Id: I2a09e938b556b9998003a2c6732f0174c5c7091a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-07-01 10:20:48 +00:00
Leena Miettinen
bde34f33db
Doc: Fix Language Client Inspector Memory Usage screenshot
...
Also fix the menu item name.
Task-number: QTCREATORBUG-27560
Change-Id: Iade8169b00c8f0e96ac7c1087035d84fd4453b96
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-07-01 10:20:29 +00:00
hjk
451da3e104
ProjectExplorer: De-noise kitinformation.cpp
...
Change-Id: I55d443e807dc0bcd737fb8edf0dac2301e00a6c3
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 10:13:10 +00:00
hjk
7cc06b85d0
Replace more used of PathChooser::pathChanged by filePathChanged
...
Change-Id: I0f92be6fcfd0a5319ad9f5d3681266966e40705e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 10:07:24 +00:00
hjk
5a75da8d1a
Utils: Avoid a use of PathChooser::pathChanged
...
Change-Id: If904cd81ac6e11a22872c2d97a39381499b16bec
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 09:44:23 +00:00
hjk
13d2516355
ModelEditor: Avoid a use of PathChooser::pathChanged
...
Change-Id: I3fa563d46c7dcd4d02b2452e0b233586b431282c
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 09:44:14 +00:00
hjk
e2c8866f2a
ProjectExplorer: Replace some uses of PathChoosers::pathChanged
...
Change-Id: I3b0cc4218d1b0222f49bf98bbff206a38fa0b571
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 09:44:07 +00:00
hjk
84a3529846
BareMetal: Avoid some uses of PathChooser::pathChanged
...
Plus some cosmetics.
Change-Id: I39924a0490b6f3a08a994388780628ebaf023b3a
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 09:30:28 +00:00
Tim Jenssen
56bcad81ad
Merge remote-tracking branch 'origin/7.0' into 8.0
...
Change-Id: I7cd5d3808007ef739212f4347ba9b16e7b298943
2022-07-01 09:22:10 +00:00
Tim Jenssen
a920bbf59f
qmldesigner tests: remove unnecessary defines
...
Change-Id: I1363e7e2ac174b51236644dd37fe184e711e96d3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2022-07-01 09:17:39 +00:00
Tim Jenssen
88080612bc
tst_qml_testcore: fix spelling
...
Change-Id: I76345be2a8837c4371abf2f4a4695d1edebf2770
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2022-07-01 09:17:32 +00:00
Christian Stenger
662cc3ca06
Squish: Adapt to changed UI text
...
Change-Id: I02d178646ef04893f8d839b2a30085798f1c5fa7
Reviewed-by: hjk <hjk@qt.io >
2022-07-01 09:14:53 +00:00
Jarek Kobus
c14f30a99b
McuSupport: Use allOutput()
...
Instead of self constructed mixture of output and error.
Change-Id: I3937a861f6e629f5613cd365486386e2a2db29b3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Piotr Mućko <piotr.mucko@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2022-07-01 08:52:57 +00:00
Jarek Kobus
46f751e61d
tst_QtcProcess: Test all waitFor...() methods
...
Test all waitFor...() methods when trying to run a non-existing
executable.
Change-Id: I958e1dd5ac1731788b6d0e94d9eb277c9e15c4e4
Reviewed-by: hjk <hjk@qt.io >
2022-07-01 08:39:22 +00:00
Jarek Kobus
a85fa172c2
DesignModeContext: Don't leak context on shutdown
...
Make passed widget a parent of the context.
Fixes: QTCREATORBUG-27570
Change-Id: Ifbc9db8d5b3fb95566e2c6b83df9c10d02f7c0e5
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-07-01 08:37:01 +00:00
Alessandro Portale
f27eb94669
Android: Deduplicate identical ABI conversion code
...
...and use Utils::transform instead of a loop.
Change-Id: Ie4127f5e1e8408a544bb7b44ceae3091a21d2644
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io >
2022-07-01 08:29:16 +00:00
hjk
212527ecd5
Debugger: Use FilePath for remote core files
...
Change-Id: Ie5782c18ecafcd9725c89da51b118560e668861d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-07-01 08:17:06 +00:00
Marcus Tillmanns
cd86b048cd
kitdetector: Fix detection on macOS
...
On macOS calling clang sometimes produces some output to stderr.
This would be captured by "runGcc" when detecting the triplet, which
would then show up in the preferences and had negative effects
on abi detection later on. To work around this, we only capture
the first line of output.
On macOS the auto detection code incorrectly assumed that if the
architecture is different it would not be able to run on the host.
This is not true if the Host is Arm, and the target is x86.
Change-Id: I3cd151dc6ad83142fb9643ba7b03a155e754c6d0
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-07-01 07:28:38 +00:00