Commit Graph

88653 Commits

Author SHA1 Message Date
Ali Kianian
e6b542079f QmlDesigner: Set the default column type of the model to string
Change-Id: Id4daa8e802bcc7b40e212e7fc0e30b3c4f63ba4e
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-04 08:29:52 +00:00
Ali Kianian
22a5e4948b QmlDesigner: Deselect the model by editing a cell or clicking out
Fixes: QDS-11760
Change-Id: I6a63b2f9589c69859beff79ad04502974c5d18af
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-04 08:28:26 +00:00
Marcus Tillmanns
0e30918955 CMake: Add hint about additional error messages
Change-Id: I1eaeacb1fe67d534209ecef5a01fe6d41caddb62
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-04 05:37:23 +00:00
Marcus Tillmanns
cb29aeff50 CMake: Don't ignore writable test
Change-Id: I49ba7a14f26eca0575b38a634124be5e53c0134f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-04 05:37:18 +00:00
Marcus Tillmanns
24511d755f CMake: Add hint about missing docker mounts
Change-Id: Id046496b1c9907dfdfedb36c6bec1b121428f37a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-04-04 05:37:11 +00:00
Robert Löhning
0cca4b283b Debugger: Fix calls to calloc
Change-Id: Id1ba0c4656eb611b6ac4269ebf9d141feb08d632
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 14:38:44 +00:00
The Qt Project
2f32461d32 Merge "Merge remote-tracking branch 'origin/13.0'" 2024-04-03 11:57:29 +00:00
Eike Ziller
847e9b7bcb Merge remote-tracking branch 'origin/13.0'
Change-Id: I0717b18ca7561dbc69a59699d4b014741aa98e37
2024-04-03 13:56:13 +02:00
Eike Ziller
c811fe08f8 German translation: ProjectExplorer and related
Android, AutoTest, CMake, Qbs, QtSupport, RemoteLinux,
Terminal, Squish

Change-Id: I74d34a581ff1be54b750698807713dcf85f6cefa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 07:28:46 +00:00
Eike Ziller
738a3bf76d Update README to match the new requirements for building
Amends ff04dc53ef

Change-Id: I3ec6dbdea4e9cfc5df6d94fbf37408b3d7e4145a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 07:27:33 +00:00
Marcus Tillmanns
043abe69a7 Docker: Remove temporary mounts
Temporary mounts are more problem than solution.
We want the user to specifically mount paths himself
instead of trying to guess which ones should be mounted.

Change-Id: I635ac2555e11979a4eb8cd60c1a22b02a377a5ba
Reviewed-by: hjk <hjk@qt.io>
2024-04-03 06:45:10 +00:00
Eike Ziller
309a01337f Merge remote-tracking branch 'origin/13.0'
Change-Id: I12578a55fb61a3a9620c749c0b3bbbae6dcb4493
2024-04-02 14:54:30 +02:00
Shrief Gabr
1376139ec6 EffectComposer: Check if effect name is duplicate before saving
Task-number: QDS-12280
Change-Id: I42532ef8330ae518073a559edf7a41de834d98c9
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-02 11:14:20 +00:00
Shrief Gabr
a60ae6a32c QmlDesigner: Add "Unsaved Changes" indicator to Save button
Task-number: QDS-12237
Change-Id: Ib210ca06e061e82824ff4398604a569af44c2f6d
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>
2024-04-02 10:12:00 +00:00
Robert Löhning
b887825661 SquishTests: Make sure that *UnderCursor() return a str
Without this, "line in lineUnderCursor(w)" can be False
although "line == lineUnderCursor(w)" is True.

Change-Id: I7fa6be7d237957706bf1ad93d7303c55b81f24ec
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
v13.0.0
2024-04-02 09:36:34 +00:00
Marcus Tillmanns
a8b7f6c291 QmlDesignerLite: Add condition target check
Change-Id: I0f1c1136adf99684f5a57a18d21ccd9245de53b4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-04-02 05:40:32 +00:00
Orgad Shaneh
5ea09e424d TextEditor: Fix initial loading of behavior settings
Fixes: QTCREATORBUG-30606
Change-Id: I1b4d8fd47e528d0868969cf883401037c0cfe9ee
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-02 04:53:11 +00:00
Sergey Silin
340f1d7b42 Add a README section for xcb plugin problem
Linux users may encounter a problem of missing
xcb plugin while using Qt6 built from sources.
Missing plugin prevents QtCreator from starting
with default settings. The new section provides
solution gathered from Qt forum

Change-Id: I2917965c99fa6a05feac0d1506c7e60ff63796b1
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-03-30 08:54:32 +00:00
Christian Kandeler
3ca0deef53 CppEditor: Move ClangdSettings into a dedicated set of files
They were originally put alongside the CppCodeModelSettings for
simplicity, but there is no coupling (anymore?) between these two
classes.

Change-Id: Ic24df109b74a5b5c39de073c938c6de12f4aa319
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-03-28 19:06:08 +00:00
Thomas Hartmann
35524ec21b QmlDesigner: Do not allow import for QtQuick3D.MaterialEditor
Change-Id: I81ad86ff0584e05bd5132077ac3416ab2eae7d62
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-03-28 13:55:02 +00:00
Knud Dollereder
3721620799 QmlProjectManager: New project structure support for CMakeGenerator
- Add writer interface in order to support the current and the new
  project structure in parallel. Using the new one if
  qdsVersion is >= 4.5
- Separated templates for the new generator from the old one
- Add file name validity check
- Generate files in the folder src and cmake if they do not exist yet.
  Only re-generate files in src/autogen.
- Add action to enable or disable the cmake-generator
- Add function that checks if a resource file is within the
  project folder but not part of the project

Change-Id: I3d75dbee1043ed28e6126cf0b2c83994cb70ed45
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-03-28 13:52:32 +00:00
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