Commit Graph

85691 Commits

Author SHA1 Message Date
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
Leena Miettinen
52a6d2ab6b Doc: Describe the Preferences > "Sort categories" option
Task-number: QTCREATORBUG-29392
Change-Id: Icfe9caa387fdf809be136b813de6b9ffe4a05718
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-31 10:37:49 +00:00
Brook Cronin
dca7f6121c QmlDesigner: Make toolbutton include label
Task-number: QDS-9220
Change-Id: I91b30b0f1d8b94662492c0480ec216b2eaff3339
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-10-31 10:35:33 +00:00
Thomas Hartmann
857b4a67bb QmlDesigner: Add missing qualifier
Most of the time the QML runtime seems to ignore this, but
there is race condition and it can fail.

Change-Id: I6330b5b70bb15a9886349020c976213d66c8e481
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-10-31 10:05:03 +00:00
Ali Kianian
1641035388 QmlDesigner: Prevent clipping the CollectionDetailsView delegates
Task-number: QDS-11011
Change-Id: I7e7997df09c8c62c72a911a3f51a9b9fe492010b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-31 09:26:10 +00:00
Ali Kianian
afef8afc39 QmlDesigner: Add a new collection to the collection editor
Task-number: QDS-11059
Change-Id: Iad622098ac7a95cbaf543d88f714e79cd5b3c153
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-31 09:11:37 +00:00
Eike Ziller
7c64f1d4dc Examples: Avoid warning about scaling null image
Change-Id: I16f75c2c6d05017b99596ca0855e0d86f4a74a6f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-10-31 07:23:44 +00:00
Jarek Kobus
7faec2f469 ProcessReaper: Simplify takeReaperSetupList()
Change-Id: I1904a8e94ebee608e2fdffd888799a45399ac4a2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-10-30 15:20:57 +00:00
Cristian Adam
3581d1c5dd CMakePM: Fix C/C++ code model preparation
Only set the compiler flags for the active language.
Select source and header files accordingly to the active language.

Fixes: QTCREATORBUG-29707
Change-Id: Ieeaa56f85ccc937f31253ac047538fa19ae4166f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-10-30 12:26:17 +00:00
Eike Ziller
a724bd40f5 Merge remote-tracking branch 'origin/12.0'
Change-Id: I17c37a6fd474c3441343e91a67817c8179d0c7cc
2023-10-30 13:20:46 +01:00
Christian Stenger
55082abed0 AutoTest: Remove dead entities
Mostly unused functions which where planned to be used or
which have become obsolete due to numerous refactorings.

Change-Id: I1c951ad7902c3180c5cc8d8d6ec2d9fa58693701
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-10-30 12:12:48 +00:00
Leena Miettinen
dc4703e5c0 Doc: Describe Preferences > Testing > General > Scan threads
Task-number: QTCREATORBUG-29392
Change-Id: I71f253b0ffd6df615525da0c4c31e72245970bec
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-10-30 12:02:26 +00:00
Mahmoud Badri
30941d228e EffectMaker: Remove anchor backend warning from color editor
Change-Id: I2709e42337f026f69b0535fc40a2a91cda745ebd
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-10-30 11:55:52 +00:00