Commit Graph

88653 Commits

Author SHA1 Message Date
Jarek Kobus
e2612705b1 Android: Hide AndroidSdkManagerDialog
Provide executeAndroidSdkManagerDialog() function instead.

Change-Id: If7033ce797710f4dfbb7df0630962316b20c8a12
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-05 19:59:17 +00:00
Jarek Kobus
1de932437a Android: Hide QDialogButtonBox inside cpp
Change-Id: I0f10933884d3a95e774defe9b1f5125a5b1eee39
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-05 19:58:55 +00:00
Jarek Kobus
f5511bcd26 Android: Hide OptionsDialog inside cpp file
Change-Id: I26cacdd743b51d57e154cb0dd454b8cdf07cb153
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-05 19:58:47 +00:00
Jarek Kobus
c66e7556cf Android: Rename AndroidSdkManager{Widget -> Dialog}
Do some small cleanups.

Change-Id: Iec6c77cb0a33ebdfcd72c3751cb1fd44ab3ea078
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-05 19:58:38 +00:00
Jarek Kobus
679a51d12b Android: Create and execute AndroidSdkManagerWidget on demand
There is no need to always instantiate it inside
AndroidSettingsWidget.

Force data refresh on model construction.

Change-Id: I1adcd933e8684df9819d3dbd9cef2d615cff84a8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-05 19:58:29 +00:00
Aleksei German
09dcb1d730 QmlDesigner: Enable MCU Gradients in ColorEditor
Specifics using ColorEditor should be able to use new MCUs-specific property

Task-number: QDS-12691
Change-Id: If4d6b1241744ccbc7a9df8b7752ce4ab40502d43
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-05-03 16:15:56 +00:00
Aleksei German
77827660e1 QmlDesigner: Bump MCUs metadata
Task-number: QDS-11588
Change-Id: Ib1e5212406a856f32611d0a43d603e7c31a605c0
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-03 16:15:10 +00:00
Jarek Kobus
f62dea66f6 Android: Simplify parsing argument details
No need to call split() for the output - instead,
just look for the index of "Common Arguments:" and the
following newline.

Change-Id: I008adeb1a8c39b0e3c0dd2364566396bf0235511
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 15:52:20 +00:00
Alessandro Portale
edde770676 Android: Use less Grid features in AndroidSdkManagerWidget
Grid is only needed for the empty space in the upper right. Remove usage
of Spans.

Change-Id: Ib612589f3d19ee659af63926a13adc1e9ddbde7d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-05-03 15:49:44 +00:00
Alessandro Portale
18e12d4fe6 Android: Use LayoutBuilder for JLSSettingsWidget
Change-Id: Ied43a275d142da44fedb31e52bb1b441b21df3d5
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-05-03 15:48:46 +00:00
Alessandro Portale
00654cd4bd Android: Log the actual Process CommandLine in sdkManagerCommand
No need for the temporary one.

Change-Id: I810e795907f4a10e8ea1041bbbd89591dae3d3ca
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-05-03 15:48:34 +00:00
Jarek Kobus
8b87f8f0b7 Android: Pass const reference instead of a copy
Change-Id: I5058478c99b6316c836003239490c606ca0efb4b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 15:37:07 +00:00
Jarek Kobus
d356257bd6 Android: Run Process asynchronously from the main thread
Instead of running it blocking from a separate thread.

Change-Id: Ia971395faf7d34062ab4bcfa91082c0bf77cdccf
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 15:29:29 +00:00
Jarek Kobus
5af69018f6 Android: Make parseCommonArguments() static
Change-Id: If1d840ac589131e58302eb1073b37a0feac99448
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 15:07:17 +00:00
Jarek Kobus
bb5cdfeb4c Android: Do some cleanup
Cleanup after employing task tree...

Change-Id: I79ffa385886b0a635a5fdfdbc496dcf6b042aa71
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 15:06:55 +00:00
Leena Miettinen
74994b435d Doc: Turn "Connecting Bare Metal Devices" into how-tos and reference
Task-number: QTCREATORBUG-29361
Change-Id: Ia0d93029367ae0d24278323d6c36030d1b167177
Reviewed-by: hjk <hjk@qt.io>
2024-05-03 14:25:16 +00:00
Christian Kandeler
732f37685c Update qbs submodule to HEAD of 2.3 branch
Change-Id: Ib3182e394222e4323982983b557cabbc60e1c0d8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
v13.0.1
2024-05-03 14:11:14 +00:00
Jarek Kobus
5b7dbf129d Android: Reuse recipes
Change-Id: I9b4a0fdc793a5eb2ea80be38f1a48b51a6bdeeb1
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 14:03:05 +00:00
Leena Miettinen
f0ea3a0db5 Doc: Update the Android docs
- Turn "Connecting Android Devices" into how-to and reference
  topics.
- Update info on Qt for Android requirements.
- Update screenshots.
- Remove the "Mobile Platforms" topic and move some info to
  the overview.

Task-number: QTCREATORBUG-29361
Change-Id: Idd4dd64dc869cdb6b42efe3c969029684832ea5e
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-05-03 13:43:33 +00:00
Leena Miettinen
2f5057579e Doc: Turn "Connecting iOS Devices" into how-to and reference topics
Task-number: QTCREATORBUG-29361
Change-Id: I68fd249e702e2c262182b12c032a0e8325781eff
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-05-03 13:43:23 +00:00
Pranta Dastider
c985be4516 QmlDesigner: Update the supported image list in the QDS doc
This patch update the list of supported image formats
in the documentation of Qt Design Studio.

Fixes: QDS-12688
Change-Id: I9280eeb5e8d37e1d51ef5c6bcb2917d81bdede80
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-05-03 13:37:21 +00:00
Pranta Dastider
1b5ef0420b QmlDesigner: Update the supported image list in the QDS doc
This patch update the list of supported image formats
in the documentation of Qt Design Studio.

Fixes: QDS-12688
Change-Id: I5628b4d378447f0caa074e7264a3a4e5ee99b73c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-05-03 13:14:09 +00:00
Thomas Hartmann
0f2d15f16c QmlProject: Also add support for gif
Change-Id: I46400e8bd605142401ab941e45baba1fa4b27fc0
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-05-03 13:04:15 +00:00
Miikka Heikkinen
df20f8924a EffectComposer: Fix slider value precision
Effects with slider controlled real values now properly cut the values
to two decimals.

Fixes: QDS-11773
Change-Id: I056a295e5a126536d3003490c938361e4ce382b3
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-05-03 12:59:49 +00:00
Jarek Kobus
7039c06f82 Android: Add updateRecipe
Change-Id: Id934f238cff579208f85af6f8b716871ba0c9321
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 12:44:08 +00:00
Marcus Tillmanns
adcea41617 Lua: Make FilePath:dirEntries async
Change-Id: I0d1a918a34ca1fefe1dffdf4c5d766e6bb7aaf77
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-05-03 12:44:02 +00:00
Marcus Tillmanns
218f07bdef Lua: Bind lifetime of LuaEngine
We want to make sure that the LuaEngine is deleted when the plugin
is removed.

We also derive LuaEngine from QObject so we can use it as a guard in
QObject::connect calls.

Change-Id: I6b0568f11bee283f880ede9432b2a9fe83014758
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-05-03 12:43:55 +00:00
Miikka Heikkinen
3f48d2bb7e QmlDesigner: Use SceneEnvironment background by default
"Use Scene Environment" is not default option for 3D view background.

Fixes: QDS-12414
Change-Id: I5981b5d77a044c5f2d250c5c1ccdf307a7764108
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-05-03 12:43:16 +00:00
Cristian Adam
a13aa8d3de PE: Add tooltip mentioning QTC_DEFAULT_BUILD_DIRECTORY_TEMPLATE
The tooltip mentions QTC_DEFAULT_BUILD_DIRECTORY_TEMPLATE so that the
users know about this environment variable.

Task-number: QTCREATORBUG-30557
Change-Id: Ife221b7cfe88f9a6015bd5fb61270d335f65cb79
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-05-03 12:37:06 +00:00
Leena Miettinen
5b94de6308 Doc: Turn QML preview topics in to how-to topics in Qt Creator docs
- Move qt-quick-live-preview.qdoc to QDS sources
- Copy qt-quick-live-preview-desktop.qdoc to QDS sources as
  how-to\qtdesignstudio-live-preview-desktop.qdoc and remove
  Qt Creator-specific information from it
- Remove the "Running on Devices" and "Using SCXML State Machines"
  topics, which are not used any more
- Edit for style

Task-number: QTCREATORBUG-29361
Change-Id: I1646505aff8659605b09735da515e5d21070d39e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
2024-05-03 12:31:41 +00:00
Mahmoud Badri
4366ed9aa2 QmlDesigner: Add missing bundle types to GeneratedComponentUtils
Also small refactoring.

Change-Id: I54f1309aa69daf1d61b931063bb4b86612642cc1
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-05-03 12:16:49 +00:00
Jarek Kobus
5984e0f073 Android: Add installationRecipe
Change-Id: Icfbb4feadd62aa922e2e1956a64485e9f7139aa9
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 12:07:40 +00:00
Jarek Kobus
15e3d26c86 Android: Add licensesRecipe
Change-Id: I19fcd9ac354d1ea0100126c8c3640a19256b2a9e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-03 11:43:55 +00:00
Miikka Heikkinen
d9e4a205d2 QmlDesigner: Fix IconGizmo multiselection
Clicked signal was directly connected to handleObjectClicked function,
but it had different number of parameters, leading to multiselection
parameter to always being undefined.

Fixes: QDS-8137
Change-Id: If065531878df9ad7e6584c89dce19b6b7d71a676
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-05-03 10:53:16 +00:00
Thomas Hartmann
96bfa8e29f QmlDesigner: Support for ExtendedSceneEnvironment.GlowBlendMode
This is the first nested enum scope. Therefore we have to add support
for nested enum scopes.

In a subsequent patch, Enumeration has to be adjusted. This patch is
minimizing the risk for QDS 4.5.

Task-number: QDS-12645
Change-Id: I6ddfa89f3a3038eac8a7ce73c8c593191fa05b84
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-05-03 09:43:36 +00:00
Miikka Heikkinen
6cec311c5d QmlDesigner: Fix url property path resolving
Converting file:// urls to relative paths assumed that the file://
url would always point to a file that is in same or child folder of
the qml document, which broke for urls that pointed under generated
components folder.

Fixes: QDS-12029
Change-Id: I352ba01650ebf6c1c5fedef9323bf27b44491736
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-05-03 09:31:47 +00:00
Teea Poldsam
854319bd7d Doc: Add the new fly mode spacebar shortcut to 3D doc
Fixes: QDS-12339
Change-Id: I885fd118a5349adb4907d0dbf518101498daa5ea
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-05-03 08:56:22 +00:00
Miikka Heikkinen
39fed3759c QmlDesigner: Show crosshair only after there is a move in fly mode
Fixes: QDS-12596
Change-Id: Id34ad1b0745814a5b3dee8b6c3001d19ca7f4118
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-03 08:38:58 +00:00
Miikka Heikkinen
cb0e28d2e6 QmlDesigner: Start requested timer when it's created in 3D view
Fixes: QDS-12659
Change-Id: I78f5854185e4efebc00ea63c5dd290dc851e21eb
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-03 08:38:50 +00:00
Henning Gruendl
fe461b85e6 QmlDesigner: Add DesignEffects plugin to template
Add DesignEffects plugin to qmlcomponents template for CMake based
project usage.

Change-Id: Ie2a0ac4cf47719c4a2e49532acaa9a092a6dc372
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-05-03 08:05:22 +00:00
Cristian Adam
ba4d9b8134 Core,PE,TE: Add "build" to find in files exclusion list
Now that we have the "build" directory in the source directory we need
to exclude it from the find in files search list.

Change-Id: I74b20f828ffed51b5d7be98efa662bcc4b420523
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-05-03 07:52:00 +00:00
Jarek Kobus
ef85a983c0 Android: Introduce QuestionProgressDialog
It's going to replace AndroidSdkManagerWidget's m_outputStack.

Change-Id: I1307c8413a772d574715db90ddb8fecc05038070
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-03 07:26:28 +00:00
David Schulz
546f25c3de Python: offer to install python-lsp-server updates
Change-Id: I4068da0783b0a8e2becfcd04d480c6ad2e2f5b7c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-05-03 06:14:18 +00:00
Marcus Tillmanns
8fa9a25d08 Lua: Fix lua Qt type registration
Change-Id: I542ce8561e61cd0753525347b42711f804b208ff
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-05-03 06:01:39 +00:00
Marcus Tillmanns
30901b86a4 Lua: Add more error output
We were missing error message when the error occurred
during a.sync(...) calls.

This adds error output in those cases.

Change-Id: If66772b4a71bb909aff7129243824fc5343c66a1
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-05-03 05:59:38 +00:00
David Schulz
c005274649 Haskell: remove unused function declaration
Change-Id: I6fb1ede8bb02fa22894200c49b8232631b726134
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-05-03 04:28:22 +00:00
Robert Löhning
b000978278 SquishTests: Remove dead code
The Qt Quick Application template doesn't allow changing
the build system. skipBuildsystemChooser is True above.

Change-Id: I413fa6c3b4d97e1f1212dbab96d2a39458ce3751
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-02 20:22:35 +00:00
Björn Schäpers
cc9ffdb685 ClangFormat: Fix compiliation with LLVM19
Change-Id: I4b166da2e477ffd101a5c4b9aa07c710f7698da9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-05-02 19:14:36 +00:00
Alessandro Portale
a0b19d9fba Welcome: Restore legibility
After the release of Qt Creator 13.0.0, a couple of bug reports and
comments regarding reduced legibility appeared.

They boil down to:

 1) Text appears blurry
 2) Text is too small
 3) Text contrast is too low

This change fixes the blurryness by setting less custom font weights for
non-HighDpi systems in StyleHelper::uiFont().

Bigger texts are used for the "Session" and "Recent Project" delegates.

The text contrast is being increased by making Token_Text_Accent darker
for light themes and brighter for dark themes.
Token_Background_Muted, which is used as background color is made a bit
brighter for light themes.

Fixes: QTCREATORBUG-30579
Fixes: QTCREATORBUG-30637
Fixes: QTCREATORBUG-30650
Change-Id: I8eeb9db6854a19b0de0bcee14b10e2ef66234e06
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: hjk <hjk@qt.io>
2024-05-02 15:52:11 +00:00
Marco Bubke
3f0ac381b4 QmlDesigner: Guard for missing qml backend
Change-Id: I3ced324b4bde1feadbd71434cbb6ce54a531dbbc
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-05-02 15:47:10 +00:00