Our wizard infrastructure makes it hard to dynamically remove
or add wizard pages on the fly while using the wizard.
So, instead of removing pages and re-adding them on need
just provide a way to skip pages.
Skipping pages is provided with this patch limited to
wizards which are known to be sub projects.
For now this is just a preparation as no wizard actively
sets the property for being a sub project or makes use
of this mechanism.
Change-Id: I3efd079ccb5be2203d2b17b3765d9f178998d5f4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
- start Qt Creator without any meson or ninja tools registered
(also not auto-detected)
- add meson and ninja in the settings and apply
- open kit settings and select a kit
This would crash, because the constructor of the meson
ToolKitAspectWidget saw that there was no tool registered and triggered
setting the default tool. Doing that in the widget constructor results
in an endless loop because changing the tool triggers an update of the
kit which triggers an update of the ToolKitAspectWidget which doesn't
exist yet (because the constructor didn't finish yet), so it would be
created again which results in the same situation and endless recursion.
Do not change the selected value in the widget constructor. This is the
same logic as for the CMakeKitAspect(Impl).
Fixes: QTCREATORBUG-30698
Change-Id: I35d56018d8f02a2716dfac763fa86d4426393172
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
When moving or deleting pieces of code, we are normally interested in
the actual content of the file in the respective locations, not in what
any macros present there will expand to.
This supersedes commit 76ae5780c4.
Fixes: QTCREATORBUG-10279
Change-Id: I0fb547b23244cd5875e80c019a3595f3f9c33d52
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Preparation for being able to hide the VCS UI elements for
sub projects as they derive anything related from the parent
project.
Change-Id: Id0cc951f313335d022b3370b24f10abfd6f7532a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Also update the PRECHECK to use Qt 6.7 provisioning, so we get a
job that tests the Qt Creator build with tests disabled too
(on Windows).
And remove the 32bit Windows sdktool+cdbextension+wininterrupt-only
build, which is no longer done for 14.0
Change-Id: I49e5348c83e4cdd22797df559c448f962e005f15
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
The use of "package" in AndroidManifest.xml has been deprecated
since AGP 7.4, and has been moved to build.gradle file instead,
set as "namespace". Qt Creator has been relying on the package
name being present in the manifest and projects not having that
will fail to deploy. This change adds support of that to Creator.
Task-number: QTBUG-106907
Change-Id: I04850a11c5840d5167f7a3d09ae76cd51dbe72ca
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The short-cut to reopen the last closed editor is not set by default
to allow users to set by themselves.
Change-Id: I1f57e34c3b1a30873fd550f5cb008e5640e6a1c5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Do not update the path chooser from the same slot where the path
chooser gets validated or we end up inside a soft assert of the
path chooser's (locked) guard.
Currently no harm as the project chooser is not used actively
and no page is declared as a sub project on this page yet.
Change-Id: I641bb7da55de5919c772b1fa29693f4fa75d4a7c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Before, indentation applies in the middle of the line if an electric
character is typed.
Now it happens only if the character is typed at the line's end or start
and if new line character was typed. It should reduce jumping while typing.
Fixes: QTCREATORBUG-30731
Change-Id: I018cb4a03af5e6450be2cd423cb29bd384048871
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This adds "Debugger" as a dependency for the CMake Project Manager.
The "vendor" field of a configurePreset can look like:
```
"vendor": {
"qt.io/QtCreator/1.0": {
"debugger": "C:/Qt/Tools/mingw1120_64/bin/gdb.exe"
}
}
}
```
or with all the DebugItem details as:
```
"vendor": {
"qt.io/QtCreator/1.0": {
"debugger": {
"DisplayName": "GNU gdb 11.2.0 for MinGW 11.2.0 64-bit",
"Abis": ["x86-windows-msys-pe-64bit"],
"Binary": "C:/Qt/Tools/mingw1120_64/bin/gdb.exe",
"EngineType": 1,
"Version": "11.2.0"
}
}
}
```
Fixes: QTCREATORBUG-30836
Change-Id: Ia89ff29ce5fad713ee8617477ec798bd86f2f811
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Indentation was incorrect when closing parenthesis
was typed in the function and empty function is below.
Now it indents as expected, test case was added.
Fixes: QTCREATORBUG-29911
Change-Id: Ic1ccf8cecb0d5723e6ab1a77177d8161119f6a54
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Preparation for later to make sub projects aware of the projects
they may be added to.
Change-Id: I95630adca6f756377d939b6c3169ada2c5a93236
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The path chooser may be invalid while initializing the page
and shortly display the empty message before becoming valid.
At the moment no harm, as the path chooser is not used actively.
Change-Id: I0c0701c05262e35f550b40dcb03329b6e2308587
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The CMake parameter is CMAKE_PROJECT_INCLUDE_BEFORE used in the "Initial
Configuration".
This commit will add or remove the above parameter in the "Initial
Configuration" list.
Previously, the parameter would have been added only on the first time.
Now with project CMake settings this is needed also for already
configured projects.
Change-Id: I7293032ef3e7e6e0ad0b51c68ef5fbe0cab48919
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Remove the requirements and link to Qt for WebAssembly docs.
Task-number: QTCREATORBUG-29361
Change-Id: I73b708953834fa0b239805c0ea10232c3fa440f5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
One message was split into two. Easy to fix for us, messy for
translators.
Change-Id: I833d6f12caee2602c165a3d97d808458818fd0c8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Allows to use Span {...} or Span(...) syntax.
* Same for Tab {...} or Tab(...).
* Fixes some documentation issues.
* Adds "withFormAlignment()" and "spacing()"
Change-Id: I05ec0823617e99384e309f34a4861e29045eff94
Reviewed-by: hjk <hjk@qt.io>
Avoid the redirect that is inevitable nowerdays.
Also, change necessitas.kde.org to www.qt.io, since the orgininal page
is offline.
Change-Id: Ib1823f0df97d2df87822fd2bb7552e2f2c7e971e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Android SDK Tools version 25.2.5 has been released years ago,
and recent versions in at least the last 5+ years don't fit the
note, so no need to carry it around anymore.
Change-Id: Ieadbed612415863f5bc2dc13e274281c617e3a55
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This note has no details on what the bug is about, and in
any case, I'm not aware of such a bug in any recent version
affected by such a bug.
Change-Id: I32bb2a6ffa873630d3f884da3d8e2dbeb0a35648
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This is useful if projects do not to have "Auto Run" CMake or want to
have Junctions enabled.
Change-Id: I4a636e7bf64fe2d29d15d39fe9aa46807684c716
Reviewed-by: hjk <hjk@qt.io>