Commit Graph

88532 Commits

Author SHA1 Message Date
Shrief Gabr
beb9fc2fde QmlDesigner: Prevent data scramble after sorting
Task-number: QDS-12160
Change-Id: I3a90583a097b3074d9502668e4b3670fa81f34a2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-03-28 12:52:20 +00:00
Artem Sokolovskii
1d28b90037 Dap: Fix typo in python engine
Change-Id: I456b909a31be734acc4c7ec9f0eb2de94bb5b0e2
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-03-28 12:39:05 +00:00
Tim Jenssen
510c15083b QmlDesigner: optimize Model::generateNewId
Change-Id: I3b4949133b16a955678528dd8a139fde5c51edd2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-03-28 11:19:38 +00:00
hjk
272cfad5b4 Doc: Don't mention qmake in a docker context
While it kind of works in principle it is very slow and therefore
practically not usable for real world projects.

Task-number: QTCREATORBUG-29585
Change-Id: Ia6357904e1ecc3e97adc77b49aa8ab7392f902c8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-03-28 10:32:41 +00:00
Burak Hancerli
933958e174 ResourceGenerator: Increase the compression level
Change-Id: Ifa099590e4a0cdd8d07b1865ddc1d64eb7d32af1
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-03-28 09:43:45 +00:00
Thomas Hartmann
fd93290fbd QmlDesigner: Update branch of the components to qds-4.5.
Change-Id: I13e763c8a0941ee9af3f63c657dbccd71fb8f010
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-03-28 09:31:16 +00:00
Mahmoud Badri
c04eb4444d QmlDesigner: Use ExamplesModelV2
V2 adds minQDSVersion property for model items

Change-Id: I27d36428f73b27b1d52d429e23654d094d6ff86d
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-03-28 09:18:39 +00:00
Thomas Hartmann
ff4e33dc0a QmlDesigner: Enable rendering of DesignerEffects
* Effects are items and we have to use __effect/source and allEffects
  to idenfify them and get the correct bounding rectangle.
* For now we use a custom parser to work around issues when editig the model

Change-Id: I78690498c44f8285d3bb6ce78eafcafb9c26b2f1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-03-28 08:26:59 +00:00
Marco Bubke
385cf4d89c QmlDesigner: Fix taskqueue
The joinable thread was under the locked mutex. So the sleep notifier
could not arrive.

Change-Id: I548c89904b09f8dcc02cb7ae0486880f519915d2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-03-27 17:46:56 +00:00
Thomas Hartmann
0150302bbb QmlDesigner: Add Qt 6.7 to all wizards and make it the default
Change-Id: I67a1870486c4f87e86e135af7619843a36e591a6
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Tanja Remes <tanja.remes@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-03-27 16:51:40 +00:00
Thomas Hartmann
89af0ad08a QmlDesigner: Fix capitalisation
Change-Id: Iba1927368be4f06dea87132fe8a4e81db819a293
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-03-27 13:29:00 +00:00
Miikka Heikkinen
fd3047bac2 QmlDesigner: Join sleeping task queue thread
Threads are still considered joinable after their execution. So sleeping
thread have to be joinded first. Add test

Fixes: QDS-12308
Change-Id: Ie01588293e3b7ce9fe149d52a25ba03d174cca88
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-03-27 11:05:37 +00:00
Pranta Dastider
3bbe1c0452 QmlDesigner: Update Tooltips for Qt Quick Layout components
This patch update tooltips for Qt Quick Layout compoents.
It also update tooltips of the relative properties.

Fixes: QDS-12283
Change-Id: I6c4d76602668dc7258cce7ff4fab4b547d8f5d0f
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-03-27 10:02:42 +00:00
Pranta Dastider
3b1e3c56b0 QmlDesigner: Update the Qt runtime versions document
Qt Design Studio uses a specific Qt Runtime version to
run the projects. This update include the Qt runtime
versions used for QDS 4.5 releases in the document.

Fixes: QDS-12201
Change-Id: I90bf2c952bef70840af382f03bc0ae47b43e3a0d
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-03-27 10:02:10 +00:00
Thomas Hartmann
f63bd7f933 QmlDesigner: Crash fix
* Add QTC_CHECK for crash
* ActionAreas should not be "garbage" collected if they have no target.

* Initial ActionAreas do not have a target and ActionAreas without target make sense to a user. We do not want to delete them together with the target.

Task-number: QDS-12181
Change-Id: Ie520c47aad990a8ff07fc3346e6772226d334ce5
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-03-27 09:33:20 +00:00
Christian Stenger
830e09ccca QmlJSEditor: Fix hovering color properties
Color properties set with hex color values display a
color tool tip, but named colors failed for Qt6 while
it was still working with Qt5.

Change-Id: I6457bbdc86dd7f036bc48dc40cfa16cda570b95f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
2024-03-27 09:10:14 +00:00
Christian Stenger
718fdcc607 Axivion: Fix crash on close
Fixes disconnecting the correct connection.
Amends 99aed851ef.

Change-Id: I3175291086b08ad5434c4211aba51bd5eb439e24
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-27 09:09:46 +00:00
Mats Honkamaa
33ec9d9690 Doc: Add topic on camera follow function
- Added a topic on how to make a camera follow an object
- Some minor fixes to the Cameras topic

Fixes: QDS-11700
Change-Id: Ieafa9c57d5649d3de6f823cc907734ab6f24091d
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-03-27 07:27:54 +00:00
Leena Miettinen
1fdb2cbe53 Doc: Update screenshots to use the new numbers
Some writing style changes.

Change-Id: Ia0e0260b55693ef576491497fb6cbec23e37be97
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-27 03:46:44 +00:00
The Qt Project
cba5b0a841 Merge "Merge remote-tracking branch 'origin/13.0' into qds/dev" into qds/dev 2024-03-26 15:26:37 +00:00
Tim Jenssen
8a18423175 Merge remote-tracking branch 'origin/13.0' into qds/dev
Change-Id: I28e2e8cacf9a20c8b2f5073f4a492862d814fb99
2024-03-26 15:59:34 +01:00
Leena Miettinen
a59c93d20b Doc: Update info about resetting the QML code model
- Add the case where you cannot see your new QML module.
- Remove obsolete use case and message.

Task-number: QTCREATORBUG-29826
Change-Id: I29c2852d32007c64e343bcbe30a1d218f9ff89d3
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-03-26 14:03:38 +00:00
Alessandro Portale
44bf71169c Revert "Android: Speed up startup by using existing Qt6 Information"
This reverts commit 16c12f71ff.

Reason for revert: Introduces bugs.

AndroidQtVersion::addToEnvironment() set varying ANDROID_NDK_PLATFORM
values in successive calls. Only after a call of
QtVersion::ensureMkSpecParsed, a consistent value is set.

The symptom could be fixed by adding QtVersion::ensureMkSpecParsed calls
in strategic places (e.g. in the beginning of
AndroidQtVersion::addToEnvironment), but it does not make me confident
that this covers all potential code paths. The change that introduces
the issue is 16c12f71ff and will therefore
be reverted. It may be resurrected in QtC 14, but with much caution.

This issue seems to be specific to qmake. It hardens my impression, that
there are no easy gains to be made in the current state of the Android
plugin. An improvement for one use-case will break another use-case
which may be fixed only after two release cycles. It is Mikado code:
"Only touch if needed and safe".

Change-Id: I6ad860f6af8848a900d9421837a03929f9a57645
Fixes: QTCREATORBUG-30554
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-03-26 13:38:34 +00:00
David Schulz
fc8f1bc47d LanguageClient: pimpl DiagnosticManager
Change-Id: I4b5a2b0fe9818b676d08fd00f33b70366394539d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-26 12:40:35 +00:00
Leena Miettinen
36fdb81aef Doc: Move "Inspect QML and JavaScript" to "Move in QML code"
...from "Check code syntax".

Remove redundant text.

Change-Id: Ida75dae0f97881437d20a0d2167e1e4afde6ed2f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-26 12:28:57 +00:00
Teea Poldsam
01999a87dd Doc: Add fly mode to 3D doc
Added fly mode and organized information into subsections.

Fixes: QDS-12033
Change-Id: Ib4fefa6df8be15821e727c7a676bf7389fceac4e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-03-26 11:09:05 +00:00
Ali Kianian
aa64a62e2f QmlDesigner: Prevent rounding real numbers in Model Editor
Fixes: QDS-12021
Change-Id: I28215cc7a6ae9c388b3654799ef848a8002b0f13
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-03-26 10:52:42 +00:00
Dominik Holland
7561612b3a RunControl: Also check for a matching runConfig when creating a RunWorker
Change-Id: Ic26b41e878ed2b8b20099b62ed1c122966165665
Reviewed-by: hjk <hjk@qt.io>
2024-03-26 10:31:43 +00:00
Leena Miettinen
4bc12d6671 Doc: Update screenshots with new number or of the Welcome mode
Change-Id: I5685c9b42e31cdad79a7f6a6a90e4754a5f76cbc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-26 10:11:29 +00:00
Leena Miettinen
5f4a8d3130 Doc: Update the online sidebar TOC
- Fix a link
- Add Reference categories
- Move Version Control Systems up in the TOC

Change-Id: I6b6f9562c581ce8b78503d7e70ce132a0e9253a7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-26 10:11:03 +00:00
Ali Kianian
4e63bcb744 QmlDesigner: Fix the bad access for the listModel of the model editor
Change-Id: I9954e11135ab5913a82f12067291b04f22fbe5d2
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-03-26 08:56:21 +00:00
Eike Ziller
7821fbbf03 German translation: Core, ExtensionSystem, Utils, Welcome
Change-Id: Ibdfa530b7d32ad67e2bbcc10ee0d133ce48a57bf
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-26 07:17:22 +00:00
Christian Stenger
3b7d9178ae SquishTests: Fix default settings test
QC nowadays provides lldb on Windows which gets automatically
registered.
Beside this correct expectations for the compiler based on the
LLVM path that had been used for building the QC package and
might be the same on the machine the test runs on.

Change-Id: Ie9553b79bb0eb0012386bd71422005c184638046
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-03-26 07:06:43 +00:00
Marco Bubke
41f3eaa3a9 Sqlite: Fix prepare tracing
Change-Id: I2b0c36789886d0924ac8130a4d46f3c13fc7518b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-03-25 16:15:20 +00:00
Marco Bubke
c76c90b601 QmlDesigner: Add tracing for project storage updater
Change-Id: I4579a256e4402a045d906a36940582b8e0ff196b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-03-25 16:12:21 +00:00
Marco Bubke
12785d4eee QmlDesigner: Fix syntax error by removing function
It is not needed anymore and can be removed.

Change-Id: I610529e8e02797813d2cf76c047b89525505178f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-03-25 16:10:24 +00:00
Ali Kianian
2894cea520 QmlDesigner: Improve Model editor dialogs
* Dialogs will be closed after model changes
* Some menus and dialogs moved for improving the performance issues

Fixes: QDS-12057
Change-Id: Ie298732ec1d3c9e4623663cd539abfa1b119ff98
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-03-25 13:48:29 +00:00
Shrief Gabr
b008794156 QmlDesigner: Change cell text color for better legibility
- Cell text color now matches that of the column name.

Task-number: QDS-12168
Change-Id: Ia3e53a448c57e2f76347e83076271944936f6c05
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-03-25 13:28:06 +00:00
Thomas Hartmann
96cd6bd738 QmlDesigner: Allow any QtQuick version
Change-Id: Iec353fb6103ae39a1c75ed2695692541a42265df
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-03-25 13:14:50 +00:00
Leena Miettinen
b97225ae64 Doc: Fix typo "speficy" > "specify"
Change-Id: I96bc2874eef6edfac3548d79b2bef6b9a687809a
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-25 12:54:01 +00:00
Robert Löhning
e32d6c482f SquishTests: Update tst_HELP06 once more
The tree of help contents changed again.

Change-Id: I9e40d8c2e248abb5b631b27f5013d1ef4cf9212c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-25 11:35:43 +00:00
Leena Miettinen
5e7ba23ed6 Doc: Update more screenshots with numbers and some of the numbers
The outlines of the numbers from 8 through 10 were blurry when
copy-pasted.

Task-number: QTCREATORBUG-30209
Change-Id: I2db64931fb8f16567a8890b1aa6d91f80defc573
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-25 09:57:52 +00:00
Leena Miettinen
45f8245dd1 Doc: Describe running as root user on macOS
It was only described for Linux.

Fixes: QTCREATORBUG-30517
Change-Id: Ice1f1d227c5576775a460243ab2b126fcae7d14c
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-03-25 09:54:41 +00:00
Thomas Hartmann
ef1f4793e2 QmlDesigner: Make Qt 6.7 the default for 3D
Change-Id: I8ef47e3457d0c55ef47a4a98389da4aa2b015634
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-03-25 09:37:33 +00:00
Sami Shalayel
1d0246a89a qmljshoverhandler: do not show tooltips when qmlls is enabled
Check if qmlls is enabled before showing tooltips from the QtC's code
model. This way, other hoverhandlers, like the one used for language
servers, have the possibility to show their tooltip.

Task-number: QTCREATORBUG-29826
Change-Id: I5d879c7d4c04a27bc668e8900f54984788b02727
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2024-03-25 09:18:55 +00:00
David Schulz
d4e775ebc6 TextEditor: handle syntax highlight in batches
Use an elapsed timer in the syntax highlighter to periodically return
from the highlight and push a continue highlight to the end of the event
loop.
This allows the user to interact with the editor in between those
batches. If the user modifies the document in between highlighting
batches, the area that still needs a rehighlight is increased if needed.

This also reverts 62ea85ee6a and the
related changes.

Task-number: QTCREATORBUG-28727
Change-Id: I7c394dbdff658330bb72f3b68b9928980947db75
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-03-25 08:57:37 +00:00
Shrief Gabr
536e787891 EffectComposer: Fix "Save comp with new name" button behavior
Task-number: QDS-12023
Change-Id: Icc941c8c31738b06e6f898562236eca50fc82180
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-03-22 22:17:34 +00:00
Ali Kianian
130d7c69ec QmlDesigner: Improve selecting and viewing the added rows/columns
Fixes: QDS-11762
Fixes: QDS-12058
Fixes: QDS-12066
Fixes: QDS-12159
Change-Id: I81efce31fd6f6e48d4109cb397435972f562ae14
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-03-22 21:17:51 +00:00
Christian Stenger
99aed851ef Axivion: Improve path mapping
If the linked project is not the top level project our
path mappings did not work.
Try to get the correct file path by using QC internal
find functionality.
This helps for opening files by activating issues inside
the issues table or when clicking links of the issue
details.
Unfortunately this does not help for the inline
annotations or respective marks.

Change-Id: Ie34e1b20ff8b1b2b37e9f04c1d41bc2a4c33f260
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-22 15:05:45 +00:00
Christian Stenger
34eeda4b05 Axivion: Ensure buttons are exclusive
Avoid having none of the buttons selected which looks
confusing.

Change-Id: I445c4da970c4dfbd8a35228e31092c788d0b5d37
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-22 15:05:33 +00:00