Commit Graph

88532 Commits

Author SHA1 Message Date
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
David Schulz
f94ff4e524 ProjectExplorer: Remove now unused interpreter aspect
Change-Id: I1715ba1cadb1662dd9d598ff9f7ffd2126325683
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 13:58:44 +00:00
hjk
bc15dcd8fe TextEditor: Move access to smaller settings chunks
Change-Id: Id827edbd19dde54b66cb4349d9c832bc23110adc
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-01 13:50:53 +00:00
hjk
2a29acdbaf Python: Use setup function for build related factories
Change-Id: I3b1faad8a5f3ead1332941d31509c3efd3806f78
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-01 13:49:58 +00:00
Thomas Hartmann
6a910131c6 QmlDesigner: Support Qt 6.6 in wizards
Change-Id: Ie7baf06b9a8e7962bcd805df2ed9bf5c1066bdee
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-01 13:40:52 +00:00
hjk
e784b1e58b TextEditor: Start moving settings pieces to standard patterns
Aspects would be nice in the long run.

Change-Id: I6f44fdef6c3eedf6a480d550bdf2c7f4dc1c0c27
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-02-01 13:37:46 +00:00
Jarek Kobus
5cf639341e QrcParser: 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: I557804bf781b7fa58129242bd94e1566ed3ee304
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 13:25:00 +00:00
hjk
62aa35ee39 ProjectExplorer: Remove OutputFormatterFactory hierarchy
It never gained traction, was only used in thee places, and
the class(-hierarchy) is not really needed and only complicates
the code when the formatter creation is handled in free functions.

Also adapt the users.

Change-Id: Ieef7199f5a36f244b2f38cffef71a5fe0606065c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-01 13:23:35 +00:00
David Schulz
8499240544 Python: Remove now unused interpreter aspect
Change-Id: I107ca665cf2fa2b707dba46917ce45f240d15654
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 13:18:29 +00:00
Miikka Heikkinen
2a7c82c7ea EffectComposer: Make spinboxes HelperWidgets.DoubleSpinBoxes
This way we get proper press-and-drag behavior for them.

Fixes: QDS-11750
Change-Id: I039d72933b533e83ebebf0da36e5c0db81908689
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-02-01 12:51:44 +00:00
Artem Sokolovskii
5051a77c8b ClangFormat: Make Language Client dependency conditional
Amends e1f7469afb

Change-Id: Iea7dc6210ac7e1bf39e570cf58e6a5a1abd5cdb6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-02-01 12:13:50 +00:00
Mahmoud Badri
bcb231b37c EffectComposer: Don't reset view when switching files
Fixes: QDS-11713
Change-Id: Ic38d2fdf5105a5ecd623b8624fa028f6a45fe207
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-01 12:00:53 +00:00
Christian Stenger
4dc3fb05a7 Core: Explicitly provide image for minisplitter cursors
On Linux we fail to get the system cursor for resizing splitters
on several platforms which makes it hard to grab them to move
their position.
Provide a setting which enables the user to use some cursors
explicitly provided by QC instead.

Task-number: QTBUG-119875
Fixes: QTCREATORBUG-29980
Change-Id: I02f031883ddd5cfd33075868ae6766ff78ee6882
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-02-01 11:17:50 +00:00
Christian Stenger
293297269f Tests: Provide example tasks file
Change-Id: I529102dba9cd259de25d69a527e3ac2a0e1a9380
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 11:17:42 +00:00
Christian Stenger
218878150d Utils: Fix build before Qt6.4
Change-Id: I140aaa32950118f96b92a8644e76f4d5180e46f1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-02-01 11:17:21 +00:00
Leena Miettinen
cc03aff960 Doc: Split up the "Working in Edit Mode topic"
- Make topics shorter and easier to browse
- Move information around
- Delete duplicate how-to topics
- Add \sa links to how-to topics

Task-number: QTCREATORBUG-29361
Change-Id: Ie84a29993129d175bbd65143fcfc45aa8304d621
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-02-01 10:28:25 +00:00
Jarek Kobus
1eae66d558 EffectComposer: Fix a warning about unused arg
Amends 2122ff37f1

Change-Id: I71cd0227a6ad47b863de9546d6df59b3c67b31f0
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-02-01 10:02:28 +00:00
hjk
982eb0fbb6 ProjectExplorer: Use a setup function for the JsonWizardPageFactories
Change-Id: I98080e88bf5cc21861b2cdf85e93fe33d4858f4b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-02-01 09:46:52 +00:00
Jarek Kobus
0890ad05b2 Spinner: Add SpinnerWidget
Move it from spinner example and make it a reusable widget.

Change-Id: I3d74ec491f5d1cb7d012551f624cff2c618952ca
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 09:29:58 +00:00
Jarek Kobus
096a5aca0d TaskTree: Fix internal naming
Make it more consistent.

Change-Id: I00ced6c742be9e884b328f51e75db552f8c22115
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 09:29:48 +00:00
Jarek Kobus
f3b7d17aa3 TaskTree: Hide internal function in private section
Change-Id: I1f0a964f9bf6ab3e5207420d69fefc5ca3480553
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-02-01 09:29:38 +00:00
Shrief Gabr
6a4df2b6e6 QmlDesigner: Fix unresponsive RealSpinBox buttons in Number cells
Task-number: QDS-11755
Change-Id: I53a7422642202acbea043800bd91e913b7bd0779
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-02-01 09:17:45 +00:00