Commit Graph

85691 Commits

Author SHA1 Message Date
Miikka Heikkinen
6276658e52 EffectMaker: Update QSB tool parameters
With updated parameters, same shader versions will be generated as
with the standalone effect maker tool.

Task-number: QDS-11194
Change-Id: Id7c0b36e7526a8e285d02b9102a65aac954b3d98
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-14 10:52:27 +00:00
Eike Ziller
031b2162ee Use Tr::tr in HelloWorld plugin
The header was already there

Change-Id: I767bcc671cb05579de83f3d8e753f887230745ec
Reviewed-by: hjk <hjk@qt.io>
2023-11-14 10:36:10 +00:00
Eike Ziller
e3856289fe ClangCodeModel: Fix capitalization of menu item
Amends d0203a39fa

Change-Id: Ie7d63927907027dfddc579f66e6e9b1c51a10bd9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-11-14 10:35:36 +00:00
Karim Abdelrahman
2dae80de93 McuSupport: detect if a project is QtForMcu
Update the way we used to check for mcus
project in McuSupport plugin. The old way
relied on the deployment step which is only
available when the user has already added a
valid QtForMcus package to "Devices->MCU".

The addition of "isQtForMcusProject" in
externaldependenciesinterface.h will be
used in a follow-up patch in
qt-creator/tqtc-plugin-qtquickdesigner
which adds a warning when using .qtbridge
for Mcu project.

Task-number: QDS-10599
Change-Id: Ibf46477a4f0cb4a82a10ac848acec75458bf6c03
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
2023-11-14 10:27:59 +00:00
Miikka Heikkinen
d581c80fe6 Use OpenGL core profile for macOS
Some of the shader features we use in Effect Maker plugin require newer
OpenGL than the macOS default.

Task-number: QDS-11194
Change-Id: Iad166a9f99b2a8fc37b0f9912947cf63ef4b3328
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-14 10:16:14 +00:00
Eike Ziller
bb27b3b02a ExtensionSystem: Use dependency order when loading plugins at runtime
And also run IPlugin::delayedInitialize when loading plugins at runtime

Amends 32914fe66b

Change-Id: Ib2a6c4c6122dd1ac915f7755b0d7ea232fa635e8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-14 08:19:00 +00:00
Eike Ziller
9e00e1d6a0 Plugin wizard: Use Tr::tr
Create plugins that use the Tr::tr pattern for translations.

Change-Id: I9b6e6222951936c614c5ac45248e3d0bb58104ec
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-14 08:07:12 +00:00
Christian Stenger
45858f739a McuSupport: Fix building tests
Change-Id: I9473805663ea2d33ddf600ae06c455b139bac89b
Reviewed-by: hjk <hjk@qt.io>
2023-11-14 07:52:42 +00:00
Thomas Hartmann
dd2a290963 QmlDesigner: Adjust display strings for connections in context menu
Change-Id: I2f89413cfe86aad2f365acf9aaba378047e54cca
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-14 07:49:25 +00:00
Shrief Gabr
0bcd0b915e QmlDesigner: Detect data types for CSV models
Task-number: QDS-11081
Change-Id: I88418e31f0fd033d7d5ec3c03fea26ae1e4e2362
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-14 07:25:56 +00:00
Aleksei German
baf0fc9598 QmlDesigner: Fix the wrong environment list
Change-Id: I3dbab618d9af457f0c9a442b94e84ad6a9220f4e
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-13 19:49:54 +00:00
Yasser Grimes
8f47454b6e McuSupport: Show only the MCU tag for QtMCUs projects
As older QtMCUs projects supports only Qt5 and newer ones supoprt only
Qt6 This change disable showing QtX tag for QtMCUs projects.

Fixes: QDS-10333
Change-Id: I379a84948efe2f8cad21245859dc53f7f26ff9d3
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-11-13 17:00:46 +00:00
Thomas Hartmann
850e6d3ecc QmlDesigner: Add tracking of time to new effect maker
Change-Id: I3182b059efacbddc4be2d63a4096ab8f1326abfb
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-13 16:46:38 +00:00
Thomas Hartmann
eef9508b35 QmlDesigner: Remove states from property order list
Having the property hear leads to peoperties be added after states.
Since states is an array property we do not want this.

Change-Id: I4688c5cdbadffd4072a575a43ca3753f5db378c8
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-11-13 16:46:29 +00:00
Thomas Hartmann
2ef1cd51b9 QmlDesigner: Add tracking of usage to model editor
Change-Id: Icb1de1537ac7a43741cbe2563322919978d91928
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-13 16:46:19 +00:00
Miikka Heikkinen
5831368fab EffectMaker: Don't show plain preview image when there is an effect
Plain preview image shows through transparent parts of the final
effect image, so hide the original image when there is an effect.

This fixes opacity mask effect preview.

Fixes: QDS-11219
Change-Id: Ib726a6136182090fba7a3680680e998c039a497b
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-13 15:34:24 +00:00
Alessandro Portale
78c38ab9bf Core: Inform about active UI scaling related environment variables
There are a couple of environment variables which can influence the UI
scaling behavior. If any of those is set, now show an info label next to
the policy combo box in the Environment/Interface settings.

Change-Id: I91619d73bf53761f9cd4d7ae8bbf9b49b2010012
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-11-13 15:32:28 +00:00
Shrief Gabr
41b7e727a8 QmlDesigner: Prevent Csv import dialog from importing unsupported files
Task-number: QDS-11179
Change-Id: I31b947066571864c97b7604970d5b7ef7921a441
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-13 14:50:01 +00:00
Eike Ziller
ab549936f8 Core: Remove commented code that adds About Qt action
This is better handled via the `System Information` action nowadays

Change-Id: I220ba9e7db433f0c644dd3a04cc1cc6bf13aa56d
Reviewed-by: hjk <hjk@qt.io>
2023-11-13 13:51:55 +00:00
Xavier BESSON
223deb5968 Shortcut to enable/disable shortcuts routing to terminal
Fixes: QTCREATORBUG-29876
Change-Id: I8b04c09ce1de7dab968499773179f663c1c6fe7d
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-13 13:41:04 +00:00
hjk
afeae79cae CppEditor: Move CppOutlineWidgetFactory implenentation details to .cpp
And remove a few Q_OBJECT

Change-Id: Ifbde77b435a2285fd7849a9780b125e385fe5b20
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 13:24:52 +00:00
hjk
62f1cfdba2 Macros: Use ActionBuilder
Change-Id: Iea9d79e97b503122830e281c2997289ab5862803
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 13:14:07 +00:00
Jarek Kobus
e7088c391c TaskTree: Remove errorOccurred signal
Amends fbe359308d

Change-Id: If1a8fbc0a98bc8128e375749a45e5761c7486cd4
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-11-13 12:42:47 +00:00
Alessandro Portale
218f346fcc Utils: Prevent temporary duplicated display of InfoBar items
The delayed deletion of InfoBar items can cause short lived but visible
duplication of InfoBar entries. This change hides the obsoloete items
immediately to prevent that effect.

Fixes: QTCREATORBUG-29877
Change-Id: I6ed428185849f22f8d87f68cf1a5fac610e9dddf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 12:20:55 +00:00
Leena Miettinen
1541a486c1 Doc: Fix double "the"
Change-Id: Ibffeb5da3dd7dda3b8886bf909ecd97bf3b06d83
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-13 11:08:51 +00:00
Leena Miettinen
0ae211586e UI text: Fix "the the" in visible UI text, comments, and docs
Change-Id: I9b126ffa15b808fdb6f900a36453a9864248d35e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 11:08:11 +00:00
Leena Miettinen
35f8f069ad Doc: Fix "the the"
Change-Id: Ib39bc4dddc75a10dedff6006283d1258415d679b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 11:07:49 +00:00
Eike Ziller
48843d3f6b Mimedatabase: Remove warning for registering MIME types late
Since it is now possible to load some plugins during runtime,
registering MIME types during runtime is valid.

Change-Id: I08aba2c40934f7b8de85172a46e8a123bd7b4ef0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-13 11:03:49 +00:00
Christian Stenger
bb7b6d55d2 ExtensionSystem: Fix qbs build
Amends 32914fe66b.

Change-Id: I0bf7f94ae128109f44f4dedc71c418b36c34911e
Reviewed-by: hjk <hjk@qt.io>
2023-11-13 10:36:52 +00:00
Marcus Tillmanns
79f7eaab9c CompilerExplorer: Allow softload
Change-Id: If907e7a846ce7d87a5a2ac7b09ef70174410da01
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 10:19:48 +00:00
hjk
fc9b2b0b2b LanguageClient: Use Core::ActionBuilder
Change-Id: Ie66ac478c35658fe82393143dc3dece41ddf591b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 10:07:52 +00:00
Marcus Tillmanns
e799bcae6c Core: Register mimetype of softload plugin
Change-Id: I81713d951caaf4e2d97fa1a58c4f512a280af351
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:44:49 +00:00
The Qt Project
bbfbfec4e6 Merge "Merge remote-tracking branch 'gerrit/12.0'" 2023-11-13 09:33:54 +00:00
hjk
32914fe66b ExtensionSystem: Allow opt-in plugin loading without restart
Change-Id: I682e51d047c43ff5bf4647ef7e015222707f3204
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:30:38 +00:00
Eike Ziller
104959f7f7 Merge remote-tracking branch 'gerrit/12.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: Ide00b6dd5b44d637b18892c663035e736de03485
2023-11-13 10:22:12 +01:00
Leena Miettinen
eb9c2da726 Doc: Turn Managing Sessions into a how-to topic
Task-number: QTCREATORBUG-29361
Change-Id: If15556fdcb5d365b65f1f56a77ab9c21739d0854
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:05:07 +00:00
Jarek Kobus
845337436c Async tests: Add tests taking static function
Change-Id: Id10b40c7d50c36b8e9406f1ae7ab8915c908212c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:02:17 +00:00
Eike Ziller
702f4393f9 Bump version to 12.0.0
Change-Id: I47191ac3dcbfbde7f39bf2d322f8db488648aa35
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-11-13 08:40:38 +00:00
hjk
9e556d1142 CoPilot: Use ActionBuilder
Change-Id: I4a7dcce271a40038c8518be58e8fa626789ade61
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 08:34:15 +00:00
Jarek Kobus
aef4c32809 CppFileSettingsWidget: Add missing Tr::tr()
Change-Id: I1feea8db0597d48f7fb966c786103393d0d91487
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 08:22:00 +00:00
hjk
50679424dc Beautifier: Use ActionBuilder to create actions
Change-Id: Ibdaa87ec16dce4f532fd9bfd61914f08220a2f4c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:52:35 +00:00
hjk
65bb9e3505 Macros: Move plugin class definition to .cpp
Change-Id: I7ac41e64dd4b3b52876aaafd77218c330e220f67
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:48:43 +00:00
hjk
d74a85bbac Macro: Inline SaveDialog
Not worth the file pair.

Also modernize MacroManager a bit.

Change-Id: I88f6add3147390e3900beebacc4a3f5255eac7ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:33:02 +00:00
hjk
82c77b1304 AutoTest: Use ActionBuilder
Change-Id: If109c8b6916bb59ec5c7d58b50dc9a61ca1b4a96
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:28:20 +00:00
Ali Kianian
1914b12317 QmlDesigner: Polish the Collection Editor ui
Task-number: QDS-10621
Change-Id: I0d9655888538bee8c759b6bf2c93eb5dc2455856
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-10 17:45:25 +00:00
Thomas Hartmann
5c830613e8 QmlDesigner: Fix reflection in states editor
We block reflection, therefore the model has to be
explicitly reset. Blocking reflection also in propertiesRemoved.

Change-Id: I0de1172c0b066fa71494c7b07331fa19f7fa502c
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-11-10 16:42:06 +00:00
Thomas Hartmann
cf13950b7b QmlDesigner: Add missing () to function call
This does silently fail.

Change-Id: Ie80e8400dd555f40875580d8ea054842b9bf6086
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-11-10 16:09:35 +00:00
hjk
812b3e2ee5 Macros: Remove Q_OBJECT macro from some classes that don't need it
Plus some code cosmetics.

Change-Id: Ifa9c4e7322ae7a2d5c1480f7afc58f020efcbc1c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-10 14:49:18 +00:00
Thomas Hartmann
2d07c94d35 QmlDesigner: Show warning if collection editor cannot be created
Change-Id: Ia0aea335f58c6e206dd23e004c081a43a96abf4c
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-10 14:45:11 +00:00
hjk
ab8ba7f264 Core: Replace new "Action" by an "ActionBuilder"
This needs not be stored somewhere but does its work latest
at destruction automatically.

Change-Id: If929f5a5ccc15b085f110d8d9db8f72ff2a5fac5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-11-10 14:33:15 +00:00