Commit Graph

8715 Commits

Author SHA1 Message Date
David Schulz
f68c7e1024 Debugger: remove unsupported type annotations from cdbbridge
Change-Id: I997a2df2b6352e022a955f2441f4e7f9d9fa02ae
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-25 13:36:45 +00:00
Christian Stenger
39695c3a17 Add lua-plugins to qbs build
Amends 1ab00ae5ec.

Change-Id: Ia87f2477a7fada63561b9dfb5b0de8f1a0cd81a2
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-21 09:27:12 +00:00
David Schulz
ca7fd2aaf3 Debugger: remove overwritten createValue in the cdbbridge
The function is nowadays generating values the exact same way as the
base implementation.

Change-Id: Ie1b167021d9d450959d9cf3c27b0ac8ec7d0d3af
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-21 07:45:34 +00:00
Eike Ziller
987d292414 Disambiguate "Executable:"
"the executable" versus "the file is executable"

Fix translations where both variants were available (i.e. that used the
adjective for the translation in Core, but the noun elsewhere).

Fixes: QTCREATORBUG-31059
Change-Id: Id140612f201cea1feca007557bbedf030cfdf504
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-06-20 10:58:20 +00:00
Christian Stenger
267f392977 Dumper: Fix dumping QLocale
Change-Id: Ib34970549c147c593f39023ec0aed53885af6ce0
Reviewed-by: hjk <hjk@qt.io>
2024-06-20 10:44:20 +00:00
Christian Stenger
b1b27d4a49 Dumper: Fix dumping QDir
Change-Id: I5b02e8b0a000efe1c3bbbc22f7e624ea218e1cfc
Reviewed-by: hjk <hjk@qt.io>
2024-06-20 10:44:13 +00:00
Eike Ziller
f5dde31558 Move the shipped Lua plugins to the resources directory
On macOS, files in Contents/PlugIns/ need to be codesigned individually.
Since Lua plugins are not really binaries, per Apple's documentation
that is to be avoided (and we currently only sign executables there).

Just move Lua plugins generally to the resources directory, like we do
for other scripts like the debugger Python scripts, and load them from
there.

Change-Id: Idabd6b7c0c7c6e842b1752488cb7073f00e7be49
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-20 07:40:46 +00:00
David Schulz
3f1906dc20 Debugger: add cdbext stub file
... and add some typing infos to the cdbbridge

Change-Id: If85bc75976c869332ef658c32615f6b110459048
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-20 06:45:48 +00:00
David Schulz
6b8a41b1ba Debugger: fix manual list template arguments
'res' is not part of the function anymore, the result of the split is
directly written into self.type_template_arguments_cache since
67072d3f5b

Change-Id: Ib76b1f82a4f807e54fbb3cec96b317c36011bf51
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-19 08:56:48 +00:00
David Schulz
745b32d10c Debugger: optimize QStandardItem dumper for cdb
Change-Id: I97f448da86f03edf82f0f1543e8c784d1f3a5f8b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-19 08:56:40 +00:00
David Schulz
66413dc06f Debugger: do not overwrite qtNamespace in the cdbbridge
Change-Id: I11a95710867fd0a6b5a2956a9f8f4a86932038dd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-19 08:56:29 +00:00
David Schulz
4ded08dd38 Debugger: defer type resolve again for the cdb debugger backend
Task-number: QTCREATORBUG-29833
Change-Id: I671359f84d3f4d78d051f6a087776ceab7d7460d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2024-06-19 08:55:20 +00:00
Cristian Adam
36e84b1c54 Doc/Wizards: Update minimum CMake version to 3.16
Qt Creator due to the usage of CMake File-API was already requiring
CMake 3.14.

Qt 6.7 now requires CMake version 3.16, thus the version requirement
bump.

Note that Qt SDK is shipping CMake version 3.27.

Fixes: QTCREATORBUG-31079
Change-Id: Ife26d178b80949941cb808a1fbd91389d6d723bc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-19 08:12:41 +00:00
David Schulz
c5caee8be2 Dumper: fix exception string
'...' % ... has 3 placeholder(s) but 2 substitution(s)

Change-Id: I8d0ac49a97d8ff1745240276fa4ef02f73991dbe
Reviewed-by: hjk <hjk@qt.io>
2024-06-19 07:16:51 +00:00
Marco Bubke
ba0f65937f Add changelog to appdata.xml release
Change-Id: I6f8472c5e36e808373d390ee23b05cba9d814c91
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-18 12:54:37 +00:00
Marco Bubke
fe67cd3956 Fix errors and warnings in appdata.xml
{
    "errors": [
        "appstream-missing-developer-name",
        "appstream-failed-validation"
    ],
    "warnings": [
        "appstream-summary-too-long",
        "appstream-screenshot-missing-caption"
    ],
    "appstream": [
        "W: io.qt.QtCreator:29: screenshot-default-missing",
        "E: io.qt.QtCreator:~: desktop-app-launchable-missing"
    ],
"message": "Please consult the documentation at
https://docs.flathub.org/docs/for-app-authors/linter"
}

Change-Id: Ief1cb6300c0976962bfbf436db9d69bc4a97850c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-06-18 12:54:29 +00:00
David Schulz
d22a95bc54 Debugger: fix some qtVersionAtLeast checks
Change-Id: I681927fe5e086738f7635f7e578238c448dca2a2
Reviewed-by: hjk <hjk@qt.io>
2024-06-17 13:04:41 +00:00
David Schulz
d30dda07a1 Debugger: fix PyType::resolved function call
Change-Id: I9301d7875bec68ccde5ccd480b12c0dc86b082f1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-17 13:04:28 +00:00
David Schulz
963e55f3db Debugger: remove unneeded size cache lookup
Change-Id: I1d16c4d8d1436fe252269439e4059c6cd9886d81
Reviewed-by: hjk <hjk@qt.io>
2024-06-17 04:27:39 +00:00
David Schulz
bb4c6d2bff Dumper: optimize cdb Qt version detection
... by not overwriting DumperBase.qtVersion. This function already
checks whether the Qt version was passed via the fetch variables
command.

amends 3aee50f5fd

Fixes: QTCREATORBUG-31049
Change-Id: Ifa67be5701fc7e5492e4c1fcb8943111b299c78d
Reviewed-by: hjk <hjk@qt.io>
2024-06-13 12:20:40 +00:00
David Schulz
804a890a00 Debugger: fix QStack and QDateTime dumper
amends 3aee50f5fd

Change-Id: Iaa6666eb6c59f88572add6ae79ef942643ba38d4
Reviewed-by: hjk <hjk@qt.io>
2024-06-12 07:42:12 +00:00
hjk
363e9b4c1a Debugger: Drop some Python 2 leftovers
Change-Id: Id120abaadb23af4139fc126b14a37932f6d630ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-11 16:11:08 +00:00
hjk
3aee50f5fd Debugger: Paddle back on the (non-)auto detection of Qt versions
It looks like there are Qt-using scenarios without easy way to have
the right Qt version in the kit,

Among the frequent cases where we need to distinguish Qt versions in
the dumpers are the Qt5/6 container layout differences which can in
some cases be detected from the currently dumped value. Use that now
as the primary distinction and fall back to the previous expensive
peeking only if that is needed. This also postpones any Qt version
related activity until a real Qt type is encountered, i.e. does not
impact non-Qt scenarios.

Task-number: QTCREATORBUG-31033
Change-Id: I67b6e34c42994ad9f6e8ec8698b430b55327cf0c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-06-11 11:46:11 +00:00
Christian Kandeler
f65c54fa3e Wizards: Remove remaining uses of classToHeaderGuard()
Amends 335c552bda.

Change-Id: I4f43e74f74cd42c4139e91b80abe89bf371411ef
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-10 14:08:15 +00:00
Christian Stenger
15056578eb Shared: Add json file to qbs build as well
Amends 32322801f5.

Change-Id: I1078f532598e98ce4f12f28cad1ef512f27be52b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-06 06:14:14 +00:00
Alessandro Portale
152307a758 Themes: Update Figma color tokens
This adds color tokens for gradients 01 and 02.

Change-Id: I05ae55ff4fd9f496ff1e465e6905398825078b52
Reviewed-by: hjk <hjk@qt.io>
2024-06-05 14:29:53 +00:00
Marcus Tillmanns
32322801f5 Shared: Add project.json schema for workspace projects
Change-Id: I16f2944316805ecbd3cd3dfc763c457e5ad6142f
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-06-05 11:05:47 +00:00
Eike Ziller
3d828123be Merge remote-tracking branch 'origin/13.0' into 14.0
Conflicts:
	tests/auto/debugger/tst_dumpers.cpp

Change-Id: I71bfee426a3e25ab7c7cd276ffe1e7d8fe550ffe
2024-06-03 12:23:06 +02:00
David Schulz
5c23ab8c2d Cdbbridge: report dumptime of fetchVariables
Change-Id: I866fd5dbf547a4d6ec1ab9806080419735131d19
Reviewed-by: hjk <hjk@qt.io>
2024-05-31 09:22:54 +00:00
Alessandro Portale
8aa273a350 Android: Recover translations
One message was split into two. Easy to fix for us, messy for
translators.

Change-Id: I833d6f12caee2602c165a3d97d808458818fd0c8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-05-29 09:00:06 +00:00
The Qt Project
e7cf251abe Merge "Merge remote-tracking branch 'origin/qds/dev'" 2024-05-29 08:10:42 +00:00
hjk
4bf55f3239 Debugger: Fix some internal code model related dumper
Type.unqualified() is gone.

Change-Id: Iea3378e0ff4172c197ae8ad025a6ebcd58a2cbbe
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-05-29 06:17:41 +00:00
Tim Jenssen
4515fba526 Merge remote-tracking branch 'origin/qds/dev'
Conflicts: src/plugins/qmldesigner/CMakeLists.txt

Change-Id: I250c8e5284ddb0f335c440999b8920762419c89b
2024-05-28 19:06:18 +02:00
Ali Kianian
ed771ace4a QmlDesigner: Enable docking a header in PropertyEditorPane
A header component is defined in PropertyEditorPane.
This header can be docked to the top.
A header is defined for MaterialEditorPane

Task-number: QDS-12851
Change-Id: Ie5393f917803241da1f286bd05c226fd055b1174
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-05-28 12:17:03 +00:00
Ali Kianian
934a15b16e QmlDesigner: Make material editor toolbar fixed on the view
Task-number: QDS-12850
Change-Id: I230478e175e58180fb462943b3eb936f883fcf52
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-05-28 12:16:52 +00:00
hjk
3697aac20e Debugger: Speed up QObject recognition
Change-Id: Ib9847725c1e97ad774173ecb95094791ff5d1bbc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-05-24 13:52:51 +00:00
Eike Ziller
8b5f5744dc Rename Qt Designer -> Qt Widgets Designer
Fixes: QTCREATORBUG-30756
Change-Id: Icb4a2513e230b71b5bb5033ead6a09ad3a8963ab
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-05-23 11:37:08 +00:00
Eike Ziller
3a60ab1c91 Fix capitalization of group box titles
Consistently use book case

Change-Id: Ia0e382255fe2f311a1bd9a380f4bf8af2320c215
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-23 10:47:20 +00:00
Marco Bubke
f296f9d77c QmlDesigner: Parse components recursively
Change-Id: I8fa892cce8e34b5e58cbdde04c57e30b9fc74866
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-05-23 10:42:43 +00:00
Ali Kianian
b5db9f8fb3 QmlDesigner: Remove Model Editor
Task-number: QDS-12808
Change-Id: I9d1a716cda8d4a972b335270961ee7b489ed07c3
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-05-22 11:50:12 +00:00
Ali Kianian
51a27f3a12 QmlDesigner: Close the color editor popup before adding
Fixes: QDS-12498
Change-Id: Id3c565ffb9fca7f186ebeb0cf8051194c7944d4d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-05-17 09:39:33 +00:00
Henning Gruendl
a7913d5430 QmlDesigner: Update EffectsSection tooltips
Change-Id: Ib0cf243f84d125ab488ff4f597bbc4dd1637c1d3
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-05-16 15:14:15 +00:00
hjk
6aab6f61b5 Debugger: Provider Qt version externally to bridges
Extracting within the bridges is expensive.

Change-Id: Icf69db4b112230cc23e331abc0b3eb0de1323f46
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-05-16 10:03:08 +00:00
Mahmoud Badri
16d9535c8d QmlDesigner: Hide content lib user when a warning message is shown
Fixes: QDS-12679
Change-Id: I5cc673eb24f6479a3cb8e876e0f31a4d2d5cb658
Reviewed-by: Shrief Gabr <shrief.gabr@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>
2024-05-16 08:44:29 +00:00
Mahmoud Badri
f462be8e80 QmlDesigner: Prevent adding component materials to the content lib
Also remove the experimental restriction on the content lib user section

Fixes: QDS-12637
Change-Id: Ice2ac3f32a934d7c65ea7f406a2b5f8c4b5fed0c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-05-14 14:02:28 +00:00
Eike Ziller
18e817ce3c Fix capitalization of refactoring actions
Consistently use book style for refactoring actions (which appear as
items in drop downs and menus).

Change-Id: I31cfd40dfc5d4d14a5949072168682a12cf566ac
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-05-14 13:52:12 +00:00
Mahmoud Badri
7ffd4805ca QmlDesigner: Handle content library user items empty state
- Make sure search is working
- Hide sections with no items
- Other tweaks

Fixes: QDS-12682
Fixes: QDS-12625
Change-Id: Ia304743323c0459dd314752dba0cf1dc5e4c4889
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-05-14 10:22:15 +00:00
Henning Gruendl
e86814c491 QmlDesigner: Fix Connection editor closing
Pick-to: qds/4.5
Task-number: QDS-12013
Change-Id: I8add3418bb43b87e45153c012353646833413664
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-05-13 14:10:33 +00:00
Henning Gruendl
c29f514543 QmlDesigner: Fix ColorEditor closing
Fix ColorEditorPopup closing when opening gradient dialog.

Pick-to: qds/4.5
Change-Id: I438bd41d2efff30b372c04bc17c85210811cd0ff
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-05-13 14:09:23 +00:00
Mahmoud Badri
4f23a553d1 QmlDesigner: Enable content lib user 3D context menu
Also some relevant tweaks.

Change-Id: I7bace9ce6bd7b45951cc18f7175b4646251196f0
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-05-13 09:25:18 +00:00