Commit Graph

88653 Commits

Author SHA1 Message Date
Marcus Tillmanns
89da353746 Debugger: Don't copy unnecessarily
Coverity-Id: 1525663
Change-Id: Ic6abd81fbf3255700aac8e08592a5a59f08ea4ab
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-02 14:42:59 +00:00
Marcus Tillmanns
4593089bdc Debugger: Check return value
Coverity complains about not checking the return value of f.open()

Coverity-Id: 1359453
Change-Id: I9e6b7f5d3ab6ec58e99131e8a0d84d8f17863fed
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-02 14:42:52 +00:00
Thomas Hartmann
f466ac7ce2 QmlDesigner: Add real as number type
Task-number: QDS-11098
Change-Id: I2825215f0ce9c57f2f88318bcdf1ecc11defa793
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
2023-11-02 14:12:40 +00:00
Marcus Tillmanns
5becefbe72 Debugger: Fix QImage dumper
Change-Id: I423d139a16a8a08d9135a1d489c4d38ebac9c0f6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-02 13:58:01 +00:00
Thomas Hartmann
4d55d6be18 QmlProject: Fix crash
If no replacment kit is created we have to return.

Task-number: QTCREATORBUG-29717
Change-Id: I7c91eeb5a3710640adfa0a561aaac4fefc8f1431
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-11-02 12:46:44 +00:00
Pranta Dastider
b44008f15a QmlDesigner: Update the Animated State Transitions doc
This patch updates the Animated State Transitions document.
Removes an old image and adds a new image to support
the current connection view update. Also, changes some texts
to keep the process relevant.

Fixes: QDS-11055
Change-Id: I4ea3face56df6cec05adfd8244d32dc20d7e6e16
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-11-02 12:39:26 +00:00
Thomas Hartmann
fc1c720aec QmlDesigner: Move the functions to handle assets drops
Moving those functions to ModelNodeOperations allows reuse in
other views like e.g. the TextEditor.

Change-Id: I7eee1c6080b4208ffaab6637f0debf78ec648c8e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-11-02 12:34:09 +00:00
Amr Essam
94e55865f7 QmlDesigner: Fix cmake issues for effect maker
Also some cleanups to cmake removing ShaderTools

Change-Id: I9ae35a808943f2e4ad7f2b395854b1a245221246
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-02 10:56:45 +00:00
Mahmoud Badri
eabebac670 EffectMaker: Enable the enable node feature
Also corrected an include

Change-Id: I2c1c2385f30edbd6e5f53e81fc4794a0cc3e56d9
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-11-02 10:51:43 +00:00
Amr Essam
3789277328 QmlDesigner: Sync compilation with add/remove composition nodes
Now when there are no effects, default state is restored
Also some cleanups

Task-number: QDS-11064
Change-Id: Iad25adf2c0f855cb709c494d9f3eb47ef6207d36
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-11-02 10:42:54 +00:00
Mahmoud Badri
6a5e7920ce EffectMaker: Enable using project assets as effect textures
Also fixed few warnings by adding dummy needed context properties.

Change-Id: Ieed0f9d409302ba9ff1409b9081cda942e46d2e9
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-11-02 10:25:17 +00:00
Johanna Vanhatapio
b46d9de784 Doc: Remove outdated videos
Task-number: QDS-10565
Change-Id: I91d8bf4f6fb8f0b5b756fa4a3bf94753ab16adfb
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2023-11-02 10:17:30 +00:00
Aleksei German
32c0aa2dbf QmlDesigner: Fix AnimatedSprite loops
Change-Id: I0943fee49e32d4ceb257563f7ace618d97d768c1
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-11-02 10:09:09 +00:00
Leena Miettinen
aa9206ca81 Doc: Describe CMake profiling
Task-number: QTCREATORBUG-29392
Change-Id: I661d6d39148a53daf328b4895d8cd7cabf163d7a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-11-02 10:00:19 +00:00
Aleksei German
fa3fcfe4c4 QmlDesigner: Add AnimatedSprite mcu metadata
Task-number: QDS-11054
Change-Id: I22dbb9521700b620e272248d2fd7bdcf8445f710
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-11-02 09:55:46 +00:00
David Schulz
b2cb87f06e Python: add a python kit aspect
Change-Id: If7aaa52025ec5834a44e9196548fbcc7456c89a8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-02 09:18:19 +00:00
David Schulz
28b70672b4 Python: generate Python kits for new interpreter
Change-Id: Ie4b23aae296f66900fba85a9e243bbf656e49ed4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-11-02 09:08:14 +00:00
David Schulz
20d355e235 ProjectExplorer: add relevant kit aspects filter
Change-Id: I1a2d940c31a3e9f687f2c9d45d68ca9c1f9e1f61
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-11-02 06:09:45 +00:00
Yuri Vilmanis
1acf00d3e1 Avoid unnecessary string and list copies
Change-Id: I78bc4d307be69ce3bbfaa3ca3dd7c85e654af8d6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-11-01 23:40:53 +00:00
Thomas Hartmann
aca600385a QmlDesigner: Add custom/dynamic properties to QtObject
Change-Id: I0d42692bbc9fe9c376da447862c26272fe4296d2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-11-01 17:30:09 +00:00
Thomas Hartmann
57ebcd2c4f QmlDesigner: Use simplifiedTypeName in variantTypeId
The optional <cpp> prefix has to be stripped.

Task-number: QDS-11060
Change-Id: I65c9203e54179f58aa8512ce43efbb5530753e16
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-01 17:29:36 +00:00
The Qt Project
61ef22b172 Merge "Merge remote-tracking branch 'origin/12.0' into qds/dev" into qds/dev 2023-11-01 16:09:23 +00:00
Ali Kianian
6eb522f0ca QmlDesigner: Apply collection renames to the sources
Task-number: QDS-11071
Change-Id: Ia03c11d3f61e12c1f71aba147d7686787dffb4a1
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2023-11-01 16:02:07 +00:00
Tim Jenssen
b5c60597dc Merge remote-tracking branch 'origin/12.0' into qds/dev
Change-Id: Iefea658312bba6675eadce23fb8dc92f9207ea0e
2023-11-01 16:40:26 +01:00
Christian Stenger
9893768461 Debugger: Fix dumping std::unique_ptr on macOS
Change-Id: If718201d0f32f1eb210bd0f786f62182225b94c8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-01 14:19:37 +00:00
David Schulz
7f1eaff398 Debugger: improve std::unique_ptr dumper for cdb
Fixes: QTCREATORBUG-29739
Change-Id: Ia8808c54137c762c54ad28f576c9d3be921d7d9c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-01 14:16:44 +00:00
Amr Essam
4f2a062977 QmlDesigner: Create the composition stack with multiple effects
Task-number: QDS-11064
Change-Id: I55fab43e572a989b450d4411f1208b959c4dd9c4
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-01 13:49:02 +00:00
Leena Miettinen
372d19f9f4 Doc: Describe CMake changes
- Divide the "Setting Up CMake" into several how-to topics.
- Rename it as "CMake" and link to all the new topics.
- Update related topics accordingly.

Task-number: QTCREATORBUG-29361
Task-number: QTCREATORBUG-29392
Change-Id: Ib8f4a1951b5ffd7eaa25a4e5cf40e7bb252f9cf4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-11-01 13:26:19 +00:00
Tasuku Suzuki
0a3bfc9323 ProjectExplorer: Auto-focus on name field when adding a Kit
This eliminates one redundant click for users every time they add a Kit.

Change-Id: Ia0c994d0569466182a92ab591d6d2ee344d7cf63
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-11-01 11:03:13 +00:00
Cristian Adam
62198d1a4d Autotest: Enable ANSI colors for ctest
Qt Creator can interpret ANSI color and we make sure that ctest will
print colored output.

Change-Id: I723917b8ca604d6a51fc7c46a6a9918bd421594e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-11-01 10:17:00 +00:00
Marcus Tillmanns
165db819c0 Core: Fix analyzer warnings
Change-Id: I37be348b954f5fd1ba3942fb976b23aa3d7ed869
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-11-01 09:27:17 +00:00
Marcus Tillmanns
145a0c7538 ScreenRecorder: Add additional search paths
Adds a function FileUtils::usefullExtraSearchPaths() that returns
OS specific paths that often are not in PATH by default, but contain
useful apps we want to find.

Change-Id: Ideb7c45b241c69c9f2db8f75726bb63249000a5f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-01 09:19:36 +00:00
Ali Kianian
673cf2605f QmlDesigner: Replace StudioModels with the QtQuick.Studio.Utils
Task-number: QDS-11010
Change-Id: I8d7c33d2d88ed28f67bc9acdd909bbfba700b318
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-01 08:36:55 +00:00
Christian Stenger
b39476dd47 Python: Avoid warning in QFutureWatcher
Re-using a watcher will trigger the warning as the future had been
set on the "old" watcher even though it may have finished or
disconnected.

Change-Id: I32d937b1d73d8bba9ec5639c62393da84638099e
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-11-01 07:07:52 +00:00
Christian Stenger
02230db8e3 Axivion: Fix build for Qt6.2 on Windows
Change-Id: Ia371db59ba19278a8df306b9f79331bef49fc7bb
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Andreas Loth <andreas.loth@qt.io>
2023-11-01 06:37:09 +00:00
David Schulz
f32ea12f2e ProjectExplorer: Allow removing non sdk kits
Change-Id: If3d9862d617cf8a207285da9e4cf75362c4a0c79
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-11-01 05:43:14 +00:00
Jarek Kobus
7bec91c53e GitClient: Some minor corrections
Use GroupItem instead of ProcessTask inside topRevision().
Replace some [=] captures with more explicit ones.

Change-Id: I2e321f7121f80fd2689ecf57cd9735ba56a7962e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-10-31 19:49:08 +00:00
Yasser Grimes
f5ec01a1e8 QmlDesigner: Add the QtQuickUltralite profiling module for QtMCUs 2.6
Task-number: QDS-10392
Change-Id: If67466e151f2c57d1c04233346c455fb96fa0feb
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Kwangsub Kim <kwangsub.kim@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-10-31 16:21:56 +00:00
Cristian Adam
bcc45d8bb9 CMakePM: Allow navigation to ${PROJECT_NAME}
Task-number: QTCREATORBUG-27211
Change-Id: I23e2c6f39ff3d4c89ef78a66c10e619e3df3245f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-10-31 15:52:41 +00:00
Cristian Adam
973e9dcf90 CMakePM: Treat all sourceGroups as sourcesOrHeaders project nodes
Previously only "Source Files" and "Header Files" were treated as
sourceOrHeaders project nodes.

But source_group can introduce a new source group which needs to be also
treated as sourcesOrHeaders project node.

Fixes: QTCREATORBUG-29799
Change-Id: I833d80155fba3fb0269aeab149ea74b0d2edd271
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-10-31 15:52:31 +00:00
Ali Kianian
eae92fd247 QmlDesigner: Consider responsive size for the CollectionView
Task-number: QDS-11037
Change-Id: Ida49ccf67e6aeb943087b2f51a168f98053c838e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-31 15:44:48 +00:00
Cristian Adam
4a220ab20a CMakePM: Fix coverity PASS_BY_VALUE warnings
Coverity-Id: 1569153 Performance inefficiencies  (PASS_BY_VALUE)
Change-Id: I03663b09ac3cbbaf3dec87dc9389c2015c16fafd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-10-31 14:38:43 +00:00
Alessandro Portale
76a8f81ea7 Welcome: Fix initial welcome screen layout for small window
The visibility of some Welcome screen elements depends on the size of
the Welcome screen.

When starting Qt Creator with a small initial window size, the hiding
of the side bar did not work.

This change removes the check for visibility as the main fix for
QTCREATORBUG-29800. The QTimer::singleShot is replaced with immediate
layout calculation in order to avoid another initial layout issue which
is only visible during startup.

Amends: 1c24ef6406

Fixes: QTCREATORBUG-29800
Change-Id: I4b058791f2ed2e85b9cbca932585b71a985445f9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-10-31 14:32:59 +00:00
Yuri Vilmanis
3d0832cd4a Reserve space for m_scratchBuffer
Change-Id: I2ecddb9af2c75c8e8a4d7b87995d4d0831b0481e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-31 13:18:19 +00:00
Marcus Tillmanns
141cf78b2d CompilerExplorer: Fix adding text marks to ASM
Change-Id: I99d5090f770ad74c0e0c0317186d436ced492280
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-31 12:43:09 +00:00
Leena Miettinen
edea408026 Doc: Describe new Terminal features
Task-number: QTCREATORBUG-29392
Change-Id: I00aaf4cad1ec521e42f5c55bb236d0c3cb04a4d6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-10-31 12:10:34 +00:00
Leena Miettinen
1341a75c78 Doc: Add new groups for creating projects and files
...and configuring projects.

Task-number: QTCREATORBUG-29361
Change-Id: Icaaa9271b43efe4bba6a4ea436fe0dc6b76bb614
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-31 12:06:16 +00:00
Leena Miettinen
7621b9f0f1 Doc: Update screenshots of Examples tab and kit selector
In the Building and Running an Example tutorial.

Task-number: QTCREATORBUG-29392
Change-Id: I7fa0bfe0917e54f6706f555879015501e81ef525
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-31 12:03:13 +00:00
Alessandro Portale
bc250d9cf0 QtSupport: Don't show semi laid out examples while updating
This hides the examples SectionedGridView while the examples.xml files
are loaded. When shown, they are directly in the full size.

An additional benefit lies in the initial loading of less thumbnail
images because with QTCREATORBUG-29811, many more thumbnails were
visible in the initial view than now.

Fixes: QTCREATORBUG-29811
Change-Id: I42f362497859b0b98dc48ef0f1b6399d91c0db28
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-31 11:39:03 +00:00
Leena Miettinen
8762af4912 Doc: Describe the "Stage for installation" option
...in Projects > Build & Run > Build Settings.

Updated screenshots.

Task-number: QTCREATORBUG-29392
Change-Id: Ieb44b593452e4999c9603ae51148075cb23b6e86
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-10-31 11:05:51 +00:00