Commit Graph

9008 Commits

Author SHA1 Message Date
Alessandro Portale
27103de07e Translations: Fix spelling of "axivion"
Change-Id: I203dbd2982d6df3f2a43f63edbc8aa22efbfd9e3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2025-01-06 09:32:54 +00:00
Alessandro Portale
e7586024ff Android: Don't show version of selected NDK in status summary
When opening the options page, the first entry in the NDK list widget got automatically selected. The version of that NDK entry was displayed in the status summary, and the status summary got updated when the
selection changed.

That gave the impression that the selection of an NDK entry has an
influence on the configuration of kits. That is not the case, though.
The NDK list widget is there to explore and manage available NDKs, and
the kit generation mechanism has its own criteria to determine which of
those NDKs to use for which kit.

This change removes the automatic selection of the first NDK entry, as-
well as the displaying of the NDK version in the status summary. The
translations of the status summary string are also adapted.

Fixes: QTCREATORBUG-31900
Change-Id: Ia5e8d8401bf4e3e76093dc7341198cc8c8678214
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-12-18 16:42:34 +00:00
Alessandro Portale
6981f54f36 QtSupport: Make product name in linkingPurposeText dynamic
Change-Id: I76f2bed36e7a169ccbea3843f6eddd0433b3db4f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-12-18 14:44:26 +00:00
Alessandro Portale
a39f8398ba Themes: Update color tokens
Primitive color palette has updated color values and some changed color
names. Light and dark tokens have updated mappings to primitive colors.

Change-Id: I764a57241bf310e0e0225eb9c750b0bef9adc31b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-12-18 13:25:17 +00:00
Eike Ziller
425b949324 Merge remote-tracking branch 'origin/15.0'
Conflicts:
	src/plugins/clangcodemodel/clangdclient.cpp

Change-Id: Ibcfdf6d940d4d0e60f990c77c79cf3ed4438971b
2024-12-10 14:41:48 +01:00
Marcus Tillmanns
a29c17e2c3 Wizards: Bump install-dev-package to v1.6
We were having issues with the download of the Qt Creator packages
failing. The new version of the install-dev-package script has more
error output that might help with tracking down the issue as it
is intermittent.

Change-Id: I677bbf893215a056bea96feecef9bcd241cf85d6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-12-09 09:29:40 +00:00
Eike Ziller
976b539f57 German translation: TextEditor, Utils, Vcs, WebAssembly
Change-Id: I0692c6772bdc2a2ed1257b169591261414481b07
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-12-06 08:58:25 +00:00
Eike Ziller
98548ee384 QtC plugin wizard: Improve downloading Qt further
Utilize the information from the downloaded Updates.xml more.

- Separate the package sections for "parsing", throw away "debug" ones
  and limit to the right compiler spec
- When downloading a module, find the right package section, and
  construct the URL via the Name and DownloadableArchives information

This way we no longer depend on hardcoded archive postfixes and hardcoded
archive URL structures.

Task-number: QTCREATORBUG-31184
Change-Id: I98912677f1618fe281cf2b8aaf989c5c6e0f3c51
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-12-06 08:42:52 +00:00
Eike Ziller
e6bf4f77ed Merge remote-tracking branch 'origin/15.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/plugins/languageclient/languageclientmanager.cpp
	src/plugins/languageclient/languageclientmanager.h

Change-Id: I5d705abb1dd6b67e7c51c4f9151bf4fe3213004f
2024-12-05 15:06:28 +01:00
Eike Ziller
9e35457b59 QtC plugin wizard: Fix downloading Qt with GitHub action
The layout of the installer components and the layout within the
archives changed.

Fixes: QTCREATORBUG-32090
Change-Id: I4218d426f06c022d1ee0f5eee6cd9fbf6cf881cb
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-12-05 12:00:07 +00:00
Andrii Semkiv
31023a7a4e Debugger: Dumper test GCC version determination
When determining the GCC version we did not use the same environment
that the tests actually use.

As a bonus: an attempt to narrow down UnboundLocalError that occurs
in the QXmlAttributes test in the Win 10 + MinGW + Qt5 test plan
and which I cannot reproduce locally.

Change-Id: Ib12b66091eed7b27871c0bed59d8de019ee2285b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-12-03 11:26:21 +00:00
Andrii Semkiv
b9c75a5e87 Debugger: More fixes to the dumper test
With any luck at least the Win11 test plan should not fail anymore.

Change-Id: I9df98cef912ae4f5ab6ed07e62dfac0fe0a48190
Reviewed-by: hjk <hjk@qt.io>
2024-12-02 08:09:42 +00:00
Eike Ziller
c3af57a29b Merge remote-tracking branch 'origin/15.0'
Change-Id: Ief149bffb53651a539480327552f10f0e20b22a0
2024-11-26 10:36:30 +01:00
hjk
06772004a2 Debugger: Allow gdb inferior calls for symbol address finding
Amends a9e8b106a4, otherwise Qt version discovery breaks.

Change-Id: I2b682935e4e5783328fc43840681b988306c6cc5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-26 09:01:26 +00:00
Alessandro Portale
b8f8f8bfd8 QmlDesigner: Fix application output color
Only relevant for QmlDesigner running in Qt Creator (not QDS), and for
non-QDS themes.

Fixes: QTCREATORBUG-31830
Change-Id: I075f5df41edb0ea7c4a76681c7ca1ec7c2d55389
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-25 14:33:54 +00:00
Andrii Semkiv
6be39b39e6 Debugger: fix pmr containers test
The initial version of the pmr containers dumper test
had a couple of shortcomings:
  * there was an inclusion of `<memory_resource>` missing
    in the test program body
  * some test setups use compilers that do not use C++17 by default
    so the correct profile must be specified for the test

Disabled a bunch of checks that did not work with libcxx
due to incorrect reported size of
`std::pmr::polymorphic_allocator<std::pair<const int, int>>`.

Fixed the libcxx dumper for `std::map` (the ordinary, non-pmr, one).
As turned out, it was broken due to an incorrect padding calculation
for `std::pair<const int, int>`.
This has been worked around by using pair's inner types explicitly.

Amends: cb23332ae5

Task number: QTCREATORBUG-30224

Change-Id: I937295f88083ee9521a35ac7dbe22303ef52bd53
Reviewed-by: hjk <hjk@qt.io>
2024-11-25 08:07:18 +00:00
Alessandro Portale
46856f4869 "2024" themes: Use more Token_* colors
...and less custom #rgb colors

Change-Id: I38d4117755cfeb33d0e7e01f3044c3b5ef6a23ce
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-11-22 13:42:06 +00:00
hjk
e726a768be Android: Explicit report failed run if connection fails
This used to be implicit in the following attach attempt but
apparently isn't anymore.

Change-Id: I0d8ff3db9c38fc24aed55f1f3b6514cd6315bd4c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-11-22 12:43:29 +00:00
Eike Ziller
df4ab488ff German translation: CppEditor, Debugger, Docker, Extension*
Change-Id: If393943fdb443bef63939911d07e493f301c5aa9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-22 08:02:27 +00:00
Eike Ziller
c65e9a944a German translation: Qbs, Qmake, Qml*, QtSupport, RemoteLinux, Subversion
Change-Id: Idefb87f839f7d5f7d9e4656929233c1a8d553a76
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-22 08:02:13 +00:00
Andrii Semkiv
cb23332ae5 Debugger: pmr containers
Added support for visualization of for `std::pmr` containers
(and more broadly containers with custom non-empty allocators).
The gotcha with pmr allocators in particular is that
unlike most allocators these are non-empty classes:
they contain a pointer to a memory resource.

Tested locally with CDB and GDB (MinGW).

Task number: QTCREATORBUG-30224

Change-Id: If0ceb8a46905151a98f27d3e3ff11386406a9737
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-11-20 16:52:24 +00:00
Eike Ziller
f4e75e1acb Merge remote-tracking branch 'origin/15.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: I86367f62de8f6ac6529799850deb96428f66009f
2024-11-20 09:30:58 +01:00
David Schulz
c231639a35 LanguageClient: render hint and info diagnostics differently
Currently hint and information diagnostics are rendered as warnings. Add
and use a new color for those type of diagnostics.

Fixes: QTCREATORBUG-31878
Change-Id: I2fdd01213b32bd5dc433b925a1a44c0db480f422
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-11-20 06:00:04 +00:00
Alessandro Portale
1c40dfd419 Plugins: Improve display names of plugins
This introduces a field "DisplayName" to PluginSpec and the plugin spec
json files. If present in the spec, PluginSpec::displayName returns it,
or otherways falls back to more established fields.

Fixes: QTCREATORBUG-31761
Change-Id: I4f4c4f3e33b17dfb2ec63644b1f50b3b9c6c024a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-11-19 13:48:21 +00:00
Alessandro Portale
a61e732ba0 Themes: Introduce primitive color palette
In the Figma-based design system, the "2024" light and dark theme color
tokens reference colors from a primitives layer. Qt Creator was so far
missing this indirection.

This change adds the primitive layer as .ini file and replaces the  #rgb
values in the themes with references to the new layer.

Fixes: DSGNSYSTM-9
Change-Id: I9ef358dee1f2e4c0e54f9f3ad97c6f3ae4618475
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-11-19 07:06:44 +00:00
Alexandre Laurent
eb005b7453 French translations for Qt Creator 15
Change-Id: I501c87c4da633e7dbf53dcb3e7e349f21e970bf2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Olivier Delaune <olivier+qt@delaune.info>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2024-11-18 20:31:52 +00:00
Eike Ziller
ddd8aa3341 German translation: Core
Change-Id: I66060939b27c561a43cc7642521de44f785b9fef
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-18 07:57:44 +00:00
Eike Ziller
67b3e69516 German translation: Axivion
Change-Id: I184fb153b1d1976fb6259b4ecaa8ac9f8dae1710
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-15 10:14:41 +00:00
Eike Ziller
35c618c765 German translation: Android
Change-Id: If16d3b025c9ded3fa9c6fc854c24984f96d1778c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-15 10:14:31 +00:00
Eike Ziller
fff877a38e German translation: CommandBridge
Change-Id: Ibb1e0f9e49980670d706973fbbd2b2b3cb970241
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-15 10:14:22 +00:00
Eike Ziller
2f2a13ade9 German translation: ClangFormat, ClangTools, CompilerExplorer, CMake
Change-Id: I8d312b2108e0f5b77391dd6624fc232042de6105
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-15 09:55:18 +00:00
Eike Ziller
d61fb04163 German translation: ProjectExplorer
Change-Id: I6545f2070720a215ea74c850737b697948e7a541
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-15 09:55:01 +00:00
Eike Ziller
af57af08e4 German translation: Git, LanguageClient, Lua, AutoTest, AppManager
Change-Id: I85d3d20f6d4d0cd29e929fd9f6721ccdc363d000
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-15 09:52:16 +00:00
Eike Ziller
b97a40fe61 Merge remote-tracking branch 'origin/15.0'
Conflicts:
	src/plugins/android/androiddeployqtstep.cpp
	src/plugins/debugger/debuggerdialogs.cpp
	src/plugins/projectexplorer/kitaspect.cpp

Change-Id: Iebc1d7a38db4c228282c04c63d7f11ee76072a06
2024-11-14 11:47:32 +01:00
Marcus Tillmanns
affdb9463a TextEditor: Add shouldClose signal to embedded Widget
Change-Id: Ib168d5b3dcefef67d90dd1091b6a7db143607f96
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-11-08 12:19:25 +00:00
Christian Kandeler
bbb5693b7d qbs build: Add lupdate support
Task-number: QBS-486
Change-Id: I1d095a298de1eb806ed977531cdf3d96da68e654
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-08 09:08:30 +00:00
hjk
9788af2a1f Debugger: Add a name to the connected state message
Makes it easier to reason what 'False' and 'True' in the message means.

Change-Id: I0e8fc1c9d2db7837a8334dc1400fa4d3b54abf06
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-07 14:12:30 +00:00
hjk
f705370e95 Debugger: Fix Utils::FilePath dumper for "remote" windows paths
A path was considered relative (only) when it started with a slash,
not e.g. "C:/...". This led to display of the "./" "relative path
marker" in these cases. "remote" windows paths regularly occur
for baremetal executables on a Windows host.

Change-Id: I082ae1cfb473ce2009d830fa98759d65a45735b5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-11-07 11:47:03 +00:00
Orgad Shaneh
5299b4f374 Merge remote-tracking branch 'origin/15.0'
Change-Id: Icd59b4850b51b6cef1753e0ba638ac25d07e6e99
2024-11-07 11:44:49 +02:00
Marcus Tillmanns
6451d42ed3 TextEditor: Add insertWidget function
Allows to embed a widget into a line that will do its best
to stay in position.

Change-Id: I72590814057eb92bd17978a63bb4f7132410212f
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-11-05 15:22:58 +00:00
Eike Ziller
90b85026d9 German translation: lupdate for 15.0
Check out with submodules (`git submodule update --init --recursive`).

Configure Qt Creator:

    cmake "-DCMAKE_PREFIX_PATH=<qt_path>;<llvm_path>"
          -DCMAKE_BUILD_TYPE=Debug -G Ninja <src>

Generate ts file:

    cmake --build . --target ts_de_cleaned

Change-Id: I52fb83828bed1f19a0a1211230f6e6327ecea5f3
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-11-05 10:36:17 +00:00
Eike Ziller
f31275f12b Merge remote-tracking branch 'origin/15.0'
Change-Id: I08c3c503ca73f0a1953fae37b979b98eaf380264
2024-11-01 15:15:04 +01:00
Alessandro Portale
5d56d10b23 Themes: Reorganize display names of themes
This change reorganizes the display names of the themes.
The new themes and related files are renamed.

Task-number: QTCREATORBUG-31747
Change-Id: I5b52e640b5590cc263a68b68c7a8538fc84c9926
Reviewed-by: hjk <hjk@qt.io>
2024-11-01 13:11:07 +00:00
Andrii Semkiv
dedc6556d4 Debugger: Fix dumping with _GLIBCXX_DEBUG
Fixed dumping of the standard library iterator types
in case the binary is compiled with _GLIBCXX_DEBUG switch.

Some non-stdlib tests that also used to fail
after enabling _GLIBCXX_DEBUG due to a crash in
`QCborMap::fromVariantMap` were adjusted as well.

Full list of affected tests:
    * StdMap - fix
    * StdSet - fix
    * QC41700 - indirect fix (this test uses map iterators internally)
    * QCbor - workaround (QCborMap::fromVariantMap is simply avoided)
    * QJson - workaround (same as above)

All in all, enabling _GLIBCXX_DEBUG in the test should not produce
more failures compared to running without it.
*Note: tested locally with mingw 13.10.*

Fixes: QTCREATORBUG-31876
Change-Id: Ie55a40dc9a1aadb20795ad43abd0597047c429e4
Reviewed-by: hjk <hjk@qt.io>
2024-11-01 09:03:08 +00:00
Eike Ziller
96ab235126 Merge remote-tracking branch 'origin/15.0'
Change-Id: I3498229608bca8d3674a77b66fd7c0d26163b53f
2024-10-31 10:20:57 +01:00
Alessandro Portale
7b4bc51dca Wizards: Use is[Any]PluginRunning
This replaces all occurrences of
  value('Plugins').indexOf('MyPlugin') >= 0
with
  isPluginRunning('myplugin')
And combines OR'ed sequences with AnyPluginRunning.

Tests for (Boot2Qt || Boot2QtQdb) are reduced to just boot2qt, since the
other one is history.

Change-Id: I21206116e2263579349c77ba3914f8ebfe1f089e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-10-30 12:37:45 +00:00
Christian Kandeler
00f4da3950 Update qbs.qmltypes
Change-Id: I04fc0807b9e77e86a5e58f8a1b41ae68510b36c3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-10-29 08:40:21 +00:00
Eike Ziller
b889efc83d Merge remote-tracking branch 'origin/15.0'
Change-Id: If7914dda9d1cac52ea307310cba5d72faeaf58b6
2024-10-28 15:22:45 +01:00
Leena Miettinen
12666eda12 Content library: Fix UI text
Remove the second you.

Change-Id: Ibc03a72c9b60881b12da0efbfdad2b640f711880
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-10-25 13:37:49 +00:00
Alessandro Portale
2f67ec63eb New themes: Use more token colors
Fixes the dock widget splitter color in Debugger.
Uses more toke colors.

Change-Id: I38a52f48a049d36898eeffaaa32033c343ec2c05
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-10-24 14:31:16 +00:00