Commit Graph

88653 Commits

Author SHA1 Message Date
Jarek Kobus
534c1c94b6 SdkManagerOutputParser: Limit code repetition
Introduce function template helper.

Change-Id: If29452ce3dc09ee1e63ac3b889341f573ae5af63
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-02 12:46:14 +00:00
Mahmoud Badri
85f32353a9 EffectComposer: Fix pan/zoom not working after adding a node
Also increase max zoom level to 3 instead of 2

Change-Id: Ia642bc65c0f902a0aff8fd81fc6f623981f2b249
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-02 12:26:42 +00:00
Miikka Heikkinen
f985b1b091 EffectComposer: Allow 'define' properties to specify control type
Control type is used to determine the control presented for the property
in UI. Currently only int and bool control types are supported.

Also fixed the issue that changing define wouldn't update preview.
This was because changing define requires rebaking shaders, which is
not normally triggered on property change.

Fixes: QDS-11770
Change-Id: I953d827195565f765df1a09550c4a49da9c93c29
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-02-02 12:15:18 +00:00
Leena Miettinen
d35e567c92 Doc: Edit docs about navigating in Edit mode
List code editing services in the Edit Mode topic.
Will remove the Writing Code topic when the reorg for
this part is ready.

Move info about locating files to the "Move between files"
topic.

Change-Id: I6c97d2778b74bba106a9d8e8b89376d5961e0a27
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-02 12:10:18 +00:00
Eike Ziller
d93e95c942 iOS: Fix missing include
Breaks the build with Qt 6.7

Change-Id: Ie3e940a26cbd982f7781cfe478b59fc44785efe2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-02-02 12:04:19 +00:00
Mahmoud Badri
7efab2c07e EffectComposer: Remove warnings and unused code from the model
Change-Id: I8171467e70d8d716b0598b0b533f216e5e0afc25
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-02 11:52:30 +00:00
Jarek Kobus
72bcc0f260 ProjectExplorer: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I3d76cf04f8b501417687f8111c88f4a1af451608
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-02 11:14:15 +00:00
Jarek Kobus
a2b3d4d302 ClangTools: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I359429d01bce9b28f9d284833f5be1828d3a880e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-02 11:14:06 +00:00
Mahmoud Badri
aaf1e193a7 EffectComposer: implement interactive preview
Add panning and pivotted zoom

Fixes: QDS-11718
Change-Id: I516474a2ae700b8d1d486e0be96df27b3308e79d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-02 11:12:01 +00:00
hjk
223767a94a CppEditor: Hide most of LineForNewIncludeDirective implementation
Change-Id: Ic70d28beb057359fcd028aca2ab49ecb66dd990d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-02 10:36:05 +00:00
Jarek Kobus
e2e0a9a718 SdkManagerOutputParser: Hide subclasses for package parsers
Change-Id: I05543aeb8b5f039cad349dad6fc3af557e487dfc
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-02 10:05:33 +00:00
hjk
5bddae2b62 Squish: Use MenuBuilder
Change-Id: Ic17f5d0a39c1329b87f678c080e3010ff77672e0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-02 09:55:22 +00:00
hjk
4d00dc5ef6 Squish: Dissolve plugin pimpl
Change-Id: I8e291e91c5d8c94274f39db40a625a796d8ad9b7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-02 09:55:01 +00:00
hjk
2667def8d2 Squish: Use setup function for remaining plugin pimpl items
Change-Id: I5d74b0b0c4b25d580566a1d8687279990d3e9675
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-02 09:54:51 +00:00
Brook Cronin
6c7af1b41b Qml Designer: Add start and end angle properties to dial
Change-Id: I15621fef552816a018aa5adf285ad9a1261a9294
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-02 09:11:29 +00:00
Leena Miettinen
24797179a7 Doc: Remove "Managing Projects"
This topic is not used anymore.

Task-number: QTCREATORBUG-29361
Change-Id: Ia4d54a77fb3aac2e98fc00d697b045aee798b1ae
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-02 08:19:29 +00:00
Eike Ziller
02ee8b183e Fix some compiler warnings
Unused lambda captures, unused private field, missing override.

Change-Id: I8b1d9d40af87fdfbd449841e9f112aad4682d8c5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2024-02-02 08:18:03 +00:00
Eike Ziller
acf7d30cbd iOS 17: Print messages for starting and stopping
In the application output, like we do when running elsewhere.

Change-Id: I842701162df20403e2b9757bc78bdd61176d581d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-02-02 08:16:55 +00:00
Eike Ziller
a7a06d6f79 iOS: Move launch result from devicectl to a function
And add a test to document what we expect from devicectl.

Change-Id: I1a7f03c50393b99eddb2bfd34b5857e15b28d0a7
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-02 08:13:27 +00:00
Eike Ziller
e32d3da321 iOS: Move process id gathering from devicectl to a function
And add a test to document what we expect from devicectl.

Change-Id: Ic69af99a472976a6c06801a646af59f8139d5624
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-02-02 08:13:15 +00:00
Jarek Kobus
a1039de35e DeviceProcessSignalOperation: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I606a490be4d6ba2611288cced82ba8c72d146eec
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-02-02 08:03:15 +00:00
Jarek Kobus
3433ee2d4d SdkManagerOutputParser: Hide some impl details in cpp
Change-Id: Ibeaee715f5b2d5f35ef68fe5c00f7982dea437f7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-02 08:02:53 +00:00
Christian Stenger
d26217e50c PE: Fix order of initialization
...to avoid nullptr connects.
Amends c20c2a8c86.

Change-Id: Idfb75903289f8ee2cbfc8ae49af008305342ea83
Reviewed-by: hjk <hjk@qt.io>
2024-02-02 07:22:05 +00:00
Christian Stenger
da4fbc8f06 PE: Fix windows build
Amends c6be4fd2d4.

Change-Id: I423f8ce2f729bd609c250afce1abd02964629e2b
Reviewed-by: hjk <hjk@qt.io>
2024-02-02 06:56:32 +00:00
hjk
e9673e7ea5 Squish: Use setup function for ObjectsMapEditor
Change-Id: I355567a863b718f7a058421d2fafb81837208254
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-02-02 06:41:24 +00:00
hjk
c20c2a8c86 ProjectExplorer: Use setup function for CurrentProjectFind
Change-Id: Ided76af53468a7dac9a6defd95585fb299670326
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-02 06:22:06 +00:00
hjk
4718dd5225 ProjectExplorer: Inline buildprogress.* into buildmanager.cpp
Change-Id: Id72467cb322110a20945adeaedd37ba4a510ae06
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-02 06:21:51 +00:00
hjk
c6be4fd2d4 ProjectExplorer: Delay-create TaskHub
Effectively only by a few lines.

Change-Id: Ieb548d0a2f5ced033881106c76adc9a5e3e16663
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-02 06:21:02 +00:00
Jarek Kobus
0bd3fafb0a CustomWizard: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I7b7a715c1e2b8092ce7cb5f3686c3a3a02e0ad9e
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 17:51:36 +00:00
hjk
d89bb4ef1e Android: Remove two now unneded lambda captures
Change-Id: I46647daf2a0edbb4cb1b062989631b83dd5b42c5
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-01 17:32:23 +00:00
Jarek Kobus
614b18e5d1 ImageViewer: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: If4e278a4ef7f183a1bcf6020fd515efa61d2b17f
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:59:27 +00:00
Jarek Kobus
de1d73216e Perforce: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I6b48189134c741e6d8ab6bb0c94d27d4504c14b5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-01 16:50:22 +00:00
Jarek Kobus
6b57dce7a5 Squish: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: Ife415b57ac7b32e4eeb5e39a9cfb4c820b3d3fde
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:41:34 +00:00
Jarek Kobus
9e966706dd QmakeProjectManager: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: Ia94370bef54b4c73984ab2d5caa3565c6dea54e3
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:31:35 +00:00
Jarek Kobus
f8e14c9fce GLSLEditor: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I4fe1d82d7aa610b4ee40864bec029bf0e68e5096
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:31:19 +00:00
Jarek Kobus
bffd6431e3 FakeVim: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I9caa1cd8aca07a58071d566a6b300c1577f72c28
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:31:13 +00:00
Jarek Kobus
3bf1dc1796 CodePaster: Remove unused includes
Change-Id: I6b8c6219e5f24b60002b2b8be1bc2634bd8298ca
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:31:06 +00:00
Jarek Kobus
00b69b5f90 TaskTree: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I3511e9d83f395f1f29584f35cafc59528c9edd37
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-01 16:28:10 +00:00
Jarek Kobus
05c6cffd6b TaskTree: Fix NestedParallelError test flakiness
Increase relevant timeouts.

Change-Id: I80fae036f41f3fef2c38345b86d160a2a9c62d6c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-01 16:28:01 +00:00
Jarek Kobus
8090f6ea60 ClearCase: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I002f09d968b61318e125c5af1e90a03e24a70082
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-01 16:09:34 +00:00
Jarek Kobus
3b5e64e8a3 ElfReader: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I2a4b1c31acdf2f05a952aba2b813d9f2dd8cb3c6
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:08:11 +00:00
Jarek Kobus
c22d6b501b ClassView: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I46a556c6ab558b4b86c7f9d767cac5b16302f326
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 16:07:51 +00:00
Dominik Holland
8f2d0dbcc9 Introduce a function to register all local run configs
Change-Id: I936fb4e970f04859ba19eb0ecf2dee1c1ce758d8
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 15:58:31 +00:00
Dominik Holland
2a6de890c7 Create RunConfiguration specific QmlPreviewWorkerFactories
Instead of relying on the QmlPreviewRunWorkerFactory to match for all
RunConfiguration, every plugin needs to create a WorkerFactory for
its own RunConfiguration.

Similar to the SimpleTargetRunnerFactory there is now a
SimpleQmlPreviewRunnerFactory which makes the setup easy.

Change-Id: I350e5a047033a259dae91045486d4f41e7f58994
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 15:58:16 +00:00
Jarek Kobus
243d063cb9 Gerrit: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I2954186d7e1df0f6e07fa840204f2a4b00fed73e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-01 15:20:24 +00:00
Thomas Hartmann
b894ae3d16 QmlDesigner: Disable exports not supported for MCU
Add helper function getStartupBuildSystem() to avoid code duplication.

Task-number: QDS-11544
Change-Id: Id8d752d63171838ac9ea6402ff9f2b179d0d8f53
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2024-02-01 15:13:07 +00:00
Jarek Kobus
2853237fd0 DiffEditor: Replace QSharedPointer with std::shared_ptr
According to https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews
QSharedPointer impl is poor and it's going to be removed from Qt 7.

Change-Id: I8364f20fddca43c22d47ba8df07a06a176950695
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-01 15:12:45 +00:00
Jarek Kobus
b1aec1b356 VcsBase: Remove unused include
Change-Id: I8f267b80503dd43c97f0420b6d0f97df476b51d4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-02-01 14:46:55 +00:00
Thomas Hartmann
df0125547d Fix typo in template
Change-Id: Ie3e82fd1f11e3e8349ccf2df2df256aacdc8dd0d
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
2024-02-01 14:31:54 +00:00
hjk
2288637668 Python: Use setup functions for run related items
Change-Id: Iefbeda433b0f7eaaf3c429dbc853e0c8578ceb3a
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-01 14:18:34 +00:00