Commit Graph

88653 Commits

Author SHA1 Message Date
Miikka Heikkinen
2cd9efee63 QmlDesigner: Fix changing dynamic properties on root material object
Changing dynamic properties on a CustomMaterial root object didn't
trigger rendering. Also there were duplicate of the property generated
when it was changed, which made quick3d side ignore the property change.

Fixes: QDS-12469
Change-Id: Ia83eaa76fd4f43428a01baea9a3491a8917aa30d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-19 10:12:32 +00:00
Leena Miettinen
b27be7e2bf Doc: Move deployment info to Reference
Task-number: QTCREATORBUG-29361
Change-Id: Ibabac3192c3f2c1aa7ae5594ed6f5f3a915d774c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Jarno Lämsä <jarno.lamsa@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tommi Mänttäri <tommi.manttari@qt.io>
2024-04-19 08:28:09 +00:00
Jarek Kobus
e012488ac8 Android: Get rid of missingEssentials field
Change-Id: I8e89266ed8e0ad56f00bb3ad769314d48084cd6d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 23:25:20 +00:00
Alessandro Portale
251fcdf38a Android: Avoid duplicate entries in SDK manager tree
Change-Id: Ic8b641b76c9be8a4410d4b7b8a9972050c29b467
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 16:30:18 +00:00
Thomas Hartmann
f84070f634 QmlDesigner: Latest effects do not require a custom parser
This also fixes the double rendering issue.

Change-Id: I8562fb0c4f3c0a57373e117f7a3deb44c71a37de
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2024-04-18 15:24:51 +00:00
Thomas Hartmann
cf05fa6846 QmlDesgner: Fix whitespace
Change-Id: Iaa0fd96bd553d1f0d081d30b2e8772e3db878b1e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-18 15:24:43 +00:00
Thomas Hartmann
2618d1b544 QmlDesigner: Create the import for the first node created
Change-Id: Id0c251857a69844318fecd40923fcd6a7e1ef33a
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-18 15:22:39 +00:00
Jarek Kobus
caf2ad3a67 Android: Get rid of forceReload arg
Split arg-rich reloadPackages() into refreshPackages() and
arg-less reloadPackages().

Change-Id: Icf9ee6c9a805732d9015a49c862d9ba411786c13
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 15:18:57 +00:00
Robert Löhning
20f01b351c SquishTests: Replace wait condition strings with lambdas
Squish allows passing wait conditions as strings containing python code.
The only advantage I see is that the notation is a little shorter than
using a lambda. On the other hand, the strings can't get proper syntax
highlighting and cause false positive warnings about unused variables.

Change-Id: I226840fa26dc75d07d89f20647d069e2e866bbc9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 15:07:56 +00:00
Leena Miettinen
87fb3358d1 Doc: Update info about previewing on Boot2Qt devices
- macOS is supported since Qt 6.5, so just link to the
  Boot2Qt docs.
- Some writing style changes.
- Change the product name macro back to \QC, as the info
  applies to both products.
- Move the link targets for Boot2Qt docs to external-resources.qdoc,
  so that they can be maintained in one place.

Change-Id: Id749dbd58465106108a542db9822080942e12f1b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-18 13:52:51 +00:00
Alessandro Portale
bfbbd7226b Themes: Reinstate DerivePaletteFromTheme for "Flat" theme
The Flat theme did not enforce the application palette, anymore, if run
on a system in dark mode. But it should, otherwise the system palette is
applied to parts of the application and might alter the appearance.

This reinstates the mechanism.

Fixes: QTCREATORBUG-30709
Change-Id: I2698cb09c8f299bd8f733214f2b0d8236aaa4660
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-18 13:50:13 +00:00
Miikka Heikkinen
a95ee86ad2 QmlDesigner: Reset zoom when aligning view to camera
Resetting the zoom after aligning edit camera to scene camera avoids
confusing behavior in some cases, primarily when the alignment is
triggered from outside 3D view.

Fixes: QDS-12348
Fixes: QDS-12350
Change-Id: Ic0c076ea3dff3f1be5f57e20c0dbbe6069867b51
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-18 13:38:57 +00:00
Mahmoud Badri
ad408553af QmlDesigner: Enable expanding content library user categories
Change-Id: Id3b49773b02e4922a06b71e6ed7a7098ed4d4062
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-18 13:20:15 +00:00
Cristian Adam
c0dfb3ce57 CMakePM: Hide QML clutter project files
Hide some of the QML files that we not marked as generated by the Qt QML
CMake code

Fixes: QTCREATORBUG-29631
Change-Id: I01fb571c0c3ff7d8a3861ddaaf7c6d6817c8cc51
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-18 13:14:17 +00:00
David Schulz
68492d9dcc Debugger: Fix crash on update debugger run configuration details
The old details widget gets deleted and a new one is created after a kit
emits the updated signal. So we need to guard the connect with this
detail widget instead of the aspect container.

Fixes: QTCREATORBUG-30706
Change-Id: I632213cd7d95c2f61b35679867d706b6c587da5a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 12:31:54 +00:00
David Schulz
c3c37b1062 LanguageClient: Allow to define Clients that cannot be added by the user
Used for programmatically created client types which should not be
addable by the user.

Change-Id: I38ba4f17d5e92415c1e167ecee5780f951818263
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit 5b9344e469)
2024-04-18 10:49:42 +00:00
Marcus Tillmanns
4b3abbf669 Revert "LanguageClient: Allow to define Clients that cannot be added by the user"
This reverts commit 5b9344e469.

Reason for revert: It was meant to go into master

Change-Id: If3bf55380ef58e3866e0d552167d4f1c063cc219
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-18 10:47:02 +00:00
David Schulz
5b9344e469 LanguageClient: Allow to define Clients that cannot be added by the user
Used for programmatically created client types which should not be
addable by the user.

Change-Id: I38ba4f17d5e92415c1e167ecee5780f951818263
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-18 10:28:50 +00:00
Alessandro Portale
6324d530f3 Themes: Make Classic theme work on dark systems
Amends: 89e9597365

Fixes: QTCREATORBUG-20889
Change-Id: I800b4c32f123bf0eef4b4d26ea4359573dfdca8a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-18 10:22:51 +00:00
Cristian Adam
01538332da CMakePM: Treat all default CMake source groups as …
… "Header|Sources Files" groups
Amends f76e0de7bc

Change-Id: I5e19427a481e87fb4d9761e3fad1727df52ca28b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-18 10:16:24 +00:00
Christian Stenger
f720835680 Tests: Fix build
Change-Id: I6d9475bf2d95a1075d7a761f49d8edff89a30f78
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-18 09:52:28 +00:00
Robert Löhning
db492c461c SquishTests: Log found shortcut in tst_HELP02
Change-Id: I144dc9961d97968d3b0355487714d287d22abb71
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 09:32:52 +00:00
Marcus Tillmanns
9019520d62 CompilerExplorer: Fix Undo/Redo actions
Change-Id: Ib3f55467764600d0b1e4ef25b53874a4d37a7ba7
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-04-18 09:31:40 +00:00
Thomas Hartmann
c709e6d555 QmlJS: Improve/simplify error message
Task-number: QDS-12149
Change-Id: Idaa9bb2624aa3591cafd3ea6c8b62b9dea7cb61a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
2024-04-18 09:17:01 +00:00
Marcus Tillmanns
c9299cad64 LanguageClient: Fix storing settings
Amends: 6294379a1e

Change-Id: I9888ffa39d525edc0e5bf96a7f0a9e1eaad7168b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-18 08:55:36 +00:00
David Schulz
beff48609c Debugger: add symbolgroup dumper to cdbbridge
Change-Id: I70f9831873cd17f0ee6a59c4345f2a28921c41bf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 08:17:26 +00:00
Jarek Kobus
5201af6574 Android: Get rid of forceUpdate arg from allPackages()
Change-Id: Ife9b04fc7314ac89447176fed0543949e621979b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 07:05:00 +00:00
Jarek Kobus
400088fa3c Android: Get rid of forceUpdates arg from filteredPackages()
Inline this function.
Fix const correctness.

Change-Id: I4ff3f9c03e5bc23c0e71ca6635718c89b883308b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 07:04:48 +00:00
Tim Jenssen
90c4826c29 QmlDesigner: remove annoying output
Change-Id: I7f74ece071923208764b767a70436145888fbb54
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-18 06:20:46 +00:00
Eike Ziller
77d7106b3a Update recent projects asynchronously
Avoid blocking Qt Creator whenever it gets active or projects change, if
some kind of network mapped path is in the list of recent projects. We
check for existence of recent projects, and that can take a long time in
that case, especially if the target is not connected. We already avoid
checking on explicit IDevices, but that doesn't help for other kinds of
mounted directories.

Maintain an "exists" state for each item and update that
asynchronously, informing all interested parties of changes with the
recentProjectsChanged signal. The state is saved in the settings,
meaning that projects that were not found previously start out hidden,
under the assumption that the existence check is fast for them if they
become available again.

Fixes: QTCREATORBUG-30681
Change-Id: Ic39a88b6b5128c3ae4582a6c66fc16be4b297e56
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 06:07:23 +00:00
Eike Ziller
28b14de384 Tr: Some "JSON" fixes
Change-Id: I20dd41a4a979fa35fe8696b00586096ca5c33d4b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 06:06:58 +00:00
Eike Ziller
7f8adab0d0 Translations: Fix various \n, full stops, spaces
Add missing full stops, remove space at beginning and end, remove end
lines at end

Change-Id: I4ce28f578e13e100dcfbd8ef70630462faf407fc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-04-18 06:06:45 +00:00
Eike Ziller
168136b9e6 German translation: Consistently use "verwenden"
instead of "benutzen"

Task-number: QTCREATORBUG-29370
Change-Id: Id6f894189962152df6d71ba845b7f8cee7a1ef9b
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 06:06:30 +00:00
Eike Ziller
e1e4afa403 German translation: Some less '-'
We already used "Stackframe" and "Analysewerkzeug", remove the '-'
variants.

Change-Id: I2e64a7db05d531254f599e3da08f03af19a412f6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-18 06:04:23 +00:00
Eike Ziller
fe50d1cce1 German translation: Consistently use "fehlschlagen", not "scheitern"
Change-Id: Id27cb829245d1b9b76ab90efc818d081d391b5f5
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 06:03:57 +00:00
Eike Ziller
d4e85eff6f Themes: Set default theme depending on dark/light on Linux too
By checking if the system palette's text is lighter than window
background.

Change-Id: I450976546f949331136cb94f4f07d09b3340a432
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 06:03:31 +00:00
Christian Stenger
55a312b909 Lua: Silence warning
Change-Id: Iec6511b7fca648115f8a350b8de3962c325abf6c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-18 04:45:36 +00:00
Alessandro Portale
c10005e274 ModelEditor: Improve selection and layout of elements
Change-Id: I199e2c4402519479cb098ae2c6665cd7f0ea12a1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-18 01:44:03 +00:00
Robert Löhning
6e44fd29f1 SquishTests: Tests wizard of Qt Quick 2 Extension Plugin again
Change-Id: Icfae5823d2b4f273350388d772a929b054879bd2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-17 14:55:40 +00:00
Eike Ziller
89e9597365 Set palette also for light/mixed (flat) themes if needed
We cannot assume that the default palette on the platform
and its theme fits the Qt Creator theme. If the system is dark, but Qt
Creator's theme is light, we need to set the theme palette on the
application.

Some themes already enforce the theme palette unconditionally (design-
light, and the dark themes). We don't want to set the palette
unconditionally for our flat default themes though, because for example
on macOS the light and dark colors that we get from the system are
always good and match the Qt Creator theme (because we tell the system
that our application is light/dark explicitly). Add a new
DerivePaletteFromThemeIfNeeded flag as an alternative to
DerivePaletteFromTheme for this.

Fixes: QTCREATORBUG-18281
Task-number: QTCREATORBUG-23187
Fixes: QTCREATORBUG-26817
Fixes: QTCREATORBUG-28589
Fixes: QTCREATORBUG-30138
Change-Id: Id0042980807fa2efd663b856a45255bb453227fd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 14:03:10 +00:00
Jarek Kobus
79f488bc47 Android: Remove unused signals
Change-Id: I89116e51ffdbbb326241cf8250c7d11ec30839da
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 13:40:31 +00:00
Jarek Kobus
bd282f1ada Android: Get rid of onLicenseStdOut()
Make code more readable.

Change-Id: Icc01a90d7f1469bb58fba325bca728e002c79512
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 13:35:41 +00:00
Christian Kandeler
d6ae6ce5e6 ProjectExplorer: Fix copy/paste error in settings key
Amends e1b3c3e357.

Fixes: QTCREATORBUG-30696
Change-Id: Ifc0625c5ba7dadb59dfcf8af58bc190f25955746
Reviewed-by: hjk <hjk@qt.io>
2024-04-17 13:30:32 +00:00
Jarek Kobus
b8e1b33455 Android: Unconvolute onLicenseStdOut()
Drop notify arg and dispatch it on the caller side.
Return std::optional<QString> and pass the cached output
in case of assertion.

Change-Id: I4e738148ef248bd85a3a9260c07af30bf1586805
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 12:45:52 +00:00
Jarek Kobus
3ea0a90720 Android: Make onLicenseStdOut() static
Get rid of private m_licenseTextCache field of AndroidSdkManagerPrivate
and make it temporary variable inside
AndroidSdkManagerPrivate::getPendingLicense() instead.

Change-Id: I20a09f04a90cf1054e01d7c4fc4169493f9750ce
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 12:45:11 +00:00
Ali Kianian
f006cfb233 QmlDesigner: Warn the user if the project is not imported
When the project is not importd in the design document, DataStore cannot
be found by the project manager. User should add it to make the Model
Editor work. So we will warn the user in the Model Editor view.

Task-number: QDS-12119
Change-Id: I313e5553e8b0a0ef3b97c50d61db80c0a8d382f8
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-17 12:02:35 +00:00
The Qt Project
8910d0bda1 Merge "Merge remote-tracking branch 'origin/13.0'" 2024-04-17 11:29:24 +00:00
Eike Ziller
0fe7350368 Merge remote-tracking branch 'origin/13.0'
Change-Id: I0892d8e54930bb5a65dc51117b8ca7d70ce300a3
2024-04-17 13:29:02 +02:00
Eike Ziller
62896a1dd6 Fix Lua plugin installation
- remove stray ;
- add check for wrong arguments
- use qtc_copy_to_builddir which fixes the location and incremental builds

Change-Id: I57fcac03bc9572caf506472ad92046332367e70a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-17 11:21:48 +00:00
Christian Stenger
4fcc003668 Lua: Add Lua plugin to qbs build
Change-Id: I1c1f0408f0e0af3dd3b2ec9275a0d3cd8794918f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-04-17 11:11:38 +00:00