Commit Graph

2612 Commits

Author SHA1 Message Date
Tim Jenssen
b3b6794dc8 qmlpuppet: fix missing return
Change-Id: Ib92ab8e5b2787db125a317e6eae38e2602777fa4
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-01-26 16:35:08 +00:00
Alessandro Portale
d501cb3ad4 Axivion: Put icons into SVG
Change-Id: If666ce24c664dbff8c46e75bd6ac5de79e38c939
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-01-24 09:21:24 +00:00
Jarek Kobus
665beaead9 Process: Change signature of setReaperTimeout()
Change the arg to std::chrono::milliseconds type.

Change-Id: I7b79fc318e2fd06971148038a31fecd4c1805a79
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-01-22 20:42:36 +00:00
Eike Ziller
1a84ae038d Build nanotrace profiling by default
And enable its availability for startup performance measurement.
Makes it possible to run with `-trace <filepath>`, creating a CTF for
startup performance, without requiring a special QtC build.

Usage in QmlDesigner/DesignStudio is guarded by an additional
DESIGNSTUDIO_USE_NANOTRACE CMake option (default off), since that adds a
menu item that should usually not be shown.

Change-Id: I87200745cc32f256bcaaba21f139b4104459e49a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
2024-01-22 13:50:39 +00:00
Jarek Kobus
719d0f8335 Process: Rename processutils.{cpp,h} into processhelper.{cpp,h}
Make room for processutils.h which is going to contain
the exported stuff.

Change-Id: I87498c3a1d0708210aa970e2d45adaa0adb6e76a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2024-01-17 08:42:59 +00:00
Alessandro Portale
8a4b3c0891 Icons Svg: Bump Inkscape version from 1.1.1 to 1.3.2
Let it have its way of partially rewriting the document.

Change-Id: I4ea3d6a5ae271356fe111bd5f5e9591d0f75b532
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-01-12 23:29:15 +00:00
Eike Ziller
150441bf88 iOS: Avoid iostool for info gathering if possible
Previously we had a small workaround for retrieving the state of
developer mode for iOS 17 devices integrated into our own iostool.

Instead use devicectl for gathering device information for devices that
it can handle, and only fall back to iostool for the devices that it
cannot handle.

Since iostool cannot handle deployment, running, and debugging for
iOS 17 devices anyway, the end goal would be to only use devicectl
for these.

Also add a TaskTree wrapper for IosToolHandler for convenience.

Change-Id: I5bcd09eb354c2dce9b21e62e140de16f2e740d6e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-11 07:38:11 +00:00
Tim Jenssen
435761fd0a Merge remote-tracking branch 'origin/qds/dev'
Change-Id: Ieb14c6311dbfe828a94981854b9ec8c18182b6cd
2024-01-05 14:18:18 +00:00
Miikka Heikkinen
c046dc42c1 QmlDesigner: Always render items with effects
Items with effects may lose their cached layers if they are not
rendered every frame, so make sure we always render items with effects
if anything else is rendered.

Fixes: QDS-11561
Change-Id: I7aa6542fc619e634fa06fe7c8d59fd485a150296
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-12-21 12:03:07 +00:00
Alessandro Portale
42c1b15874 QmlPreview: Add QML Preview button to QML editor toolbar
This adds the action from "Build->QML Preview" into the QML
editor toolbar.

Fixes: QTCREATORBUG-30078
Change-Id: I848b33f006b51866dde2565bd7f76c1eac0f3d28
Reviewed-by: hjk <hjk@qt.io>
2023-12-20 13:53:25 +00:00
The Qt Project
96f5e56125 Merge "Merge remote-tracking branch 'origin/qds/dev'" 2023-12-15 09:53:53 +00:00
Eike Ziller
2ce9f9d97d Move most acknowledgments to qt_attributions.json
Create a qt_attributions.json and generate a documentation file from it
automatically when building documentation. The result is included as a
table in the acknowledgments page in the documentation.

Some attributions cannot (yet) move to qt_attributions.json, because
that requires the sources to be available in the project's source tree,
which is not the case for LLVM, Clazy, etc.

Remove the attributions from the README and instead point to the
documentation from there, so we get rid of that duplication.

Change-Id: I22623fe7495593ffce2e2c6c26255c27c5a8cb71
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-12-15 09:02:23 +00:00
Tim Jenssen
06bfa66ed7 Merge remote-tracking branch 'origin/qds/dev'
Change-Id: I6c657f5b8c0602ca76e9b17b10f1ff7a38b1b8be
2023-12-14 19:50:03 +01:00
Eike Ziller
64f0e10a4e Merge remote-tracking branch 'origin/12.0'
Conflicts:
	src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
	src/plugins/remotelinux/killappstep.cpp

Change-Id: Ife961ca4eb14271c48bd0dbc08e0a0a816935682
2023-12-14 18:03:59 +01:00
Jarek Kobus
d6bc19e54d Qt5InformationNodeInstanceServer: Avoid using sender()
Get rid of some unused includes.

Change-Id: Ib8dd5f9672c446c5c571e79ed1f26f3f4af2b65d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-12-14 09:55:28 +00:00
Jarek Kobus
2f4fa0b62d Qt5NodeInstanceServer: Avoid using sender()
Amends b4db8a2d84

Change-Id: I9dc446d376bce9d91eb9d7a753003e0d92e10889
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-12-14 09:45:14 +00:00
Tim Jenssen
d186d9df6a Merge remote-tracking branch 'origin/12.0' into qds/dev
Change-Id: I0a598ba1b4d57be361a7a203d0c39e99b5cd5fba
2023-12-13 14:53:17 +00:00
Eike Ziller
a374588604 QmlDesigner/editor3d: Fix build with Qt 6.7
rendercontextcore is now a public header

(qtquick3d 89ca37fb914c6539334df62b38ea8cee80dade9d)

Fixes: QTCREATORBUG-30052
Change-Id: I58ac699ed81e958c0a0fccd14385b3359be1fb08
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-12-12 11:52:45 +00:00
hjk
016936a450 Clean up some lambdas
Change-Id: Id947c0935b1aa4579e1c64d3e510db41103fbe27
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-12-12 10:55:32 +00:00
hjk
f97fd83fc9 Plugins: Add skeleton for new ExtensionManager plugin
This initial commit is merely a mockup of a ExtensionManager concept.

Change-Id: I19b2285667678a86097c043cc27a554545559eff
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-12-11 12:10:36 +00:00
Alessandro Portale
5745145f5a recolordocsicons.py: Remove misleading comment
The comment was a copy-paste remainder from export.py

Change-Id: I5209060e5edf8072940f1542c547baf54766f425
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-12-10 16:18:20 +00:00
Eike Ziller
c77128e698 Merge remote-tracking branch 'origin/12.0'
Change-Id: I7971dd83798e975d4e10b77a352c9d7ef7b14ec0
2023-11-23 10:43:00 +01:00
Tim Jenssen
cdb6a5f291 Merge remote-tracking branch 'origin/12.0' into qds/dev
Change-Id: I6adb244f39b7d13377cdf377e95d11415603f8ac
2023-11-21 15:58:17 +00:00
Christian Stenger
7125862212 Add some include guards
Change-Id: If306f95f206e2b1cba48df806c822b8e2d27cf72
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-21 13:58:36 +00:00
Eike Ziller
c75a3bcd5d Merge remote-tracking branch 'origin/12.0'
Change-Id: I0ee9c73d7a7e12f98f88b161c35d00ada069cc9d
2023-11-21 14:46:01 +01:00
Tor Arne Vestbø
4f9cf826d6 Detect iOS 17 device development status via devicectl
iOS 17 devices no longer report the development status via
the com.apple.xcode.developerdomain domain.

Task-number: QTCREATORBUG-29682
Change-Id: I9de3c88425b71906f51d0f0e8b6a4ece0e08eb3a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-21 09:55:55 +00:00
Leena Miettinen
3f9f249c0d Doc: Add a readme.md for using recolordocsicons.py
In preparation of moving the instructions for taking screenshots
from the Extending Qt Creator Manual to a QUIP.

Change-Id: I034185e7ab4878cf36766db1e9a6b8de5d2b3fed
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-20 08:58:50 +00:00
Miikka Heikkinen
4a9424445a QmlDesigner: Update 3D viewport shading menu and split highlight
Change-Id: Ided78b5e88485ab2bc5500885344cb4fb34c51a5
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-06 13:57:18 +00:00
Thomas Hartmann
f36597e1a1 QmlDesigner: Load fonts in qml runtime
Ensure all fonts in the project are always loaded,
even if e.g. the project singleton is not created.
We search for the .qmlproject file and then load all
fonts.

Task-number: QDS-11108
Change-Id: I1117fa6ba9677c75fe8fce96bb349b5e825af7f3
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-06 12:37:41 +00:00
Miikka Heikkinen
23f12f7b42 QmlDesigner: Add shader overrides for materials and models in 3D view
It is now possible to override all materials and models used in the
scene with options available in QtQuick3D.DebugSettings. The overrides
are assigned per-split.

Fixes: QDS-11068
Change-Id: I3a3bc372e860d7f61942eb40166464c9c86efd8e
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2023-11-03 10:41:54 +00:00
Tim Jenssen
b5c60597dc Merge remote-tracking branch 'origin/12.0' into qds/dev
Change-Id: Iefea658312bba6675eadce23fb8dc92f9207ea0e
2023-11-01 16:40:26 +01:00
Miikka Heikkinen
354da91222 QmlDesigner: Show currently active split when toggling off split view
The active split is preserved even when split view is not enabled,
so the content of the split that was active when split was toggled off
is shown in full view.

Fixes: QDS-11041
Change-Id: I764f6afb10271947443aa31e92df1778ddac4e03
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-30 11:23:26 +00:00
Miikka Heikkinen
26e13e57bd QmlDesigner: Fix 3D view active split highlight color
Change-Id: I9062f4ebd67ddd849daf436b903ca471703953f9
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 13:45:58 +00:00
Miikka Heikkinen
e7daa748a6 QmlDesigner: Change active split when clicking on OriginGizmo in 3D view
Fixes: QDS-11042
Change-Id: Id816f24a0a3f3116da00ff0a0c3ccfdc0f312c58
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 11:35:49 +00:00
Miikka Heikkinen
c021ad3b61 QmlDesigner: Make OriginGizmo nicer looking
Reduce the size of the gizmo and adjust gizmo components accordingly.
Colors were also adjusted.

Fixes: QDS-11038
Change-Id: Ia1a01bf6e705cabf875dd5145d93af2a46196f0e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 11:20:09 +00:00
Miikka Heikkinen
fbaaa6ddb7 QmlDesigner: Highlight active split in 3D view
Active split gets hightlight border. Same color used as for
selection boxes.

Fixes: QDS-11039
Change-Id: Ic63807d58649c441f0d44173e4cd9d981582b3e5
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-27 07:24:16 +00:00
Miikka Heikkinen
a983679e43 QmlDesigner: Show negative axis label when axis is pointing at camera
Fixes: QDS-11016
Change-Id: Iea1db2413aabbb2f4a5e166533e4436273fc775b
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-26 06:26:14 +00:00
Miikka Heikkinen
8e033db46f QmlDesigner: Fix getNodeAtPos for 3D view when the view is split
Fixes: QDS-11019
Change-Id: If18404204f9fd550c79cfa1f22d7adec5fac2595
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-24 13:41:56 +00:00
Miikka Heikkinen
3caac7bc67 QmlDesigner: Update icon gizmo positions on split toggle
Fixes: QDS-11021
Change-Id: I40472bd7c5766e5cf12782b760618371fddc3cc8
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-24 09:53:12 +00:00
Miikka Heikkinen
ea7aca28c7 QmlDesigner: Store 3D split view camera angles per split
Splits 1-3 default to axis oriented views.

Fixes: QDS-10996
Change-Id: I111c9b76ae335f8630eeae5e51bbefb2e702f6df
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-23 12:18:33 +00:00
Miikka Heikkinen
3d53bd6b80 QmlDesigner: Fix quaternion compare in OriginGizmo in 3D view
Change-Id: Icefb7fb75e8dfd229a9b13028fa8f00f774be68b
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-20 10:20:18 +00:00
Miikka Heikkinen
3991561fd8 QmlDesigner: Split 3D edit view into four separate views
3D edit view can now be split into four separately controllable
views. Each view has its own edit camera. Only one split can
be 'active' at a time. Split is activated by mouse press or
wheel event when the cursor is above the split.
Transform gizmos are visible only in the active split.

Task-number: QDS-10921
Change-Id: I59772f64bab9bcbe469daee3a717c0e1a382f01b
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-19 10:45:50 +00:00
Miikka Heikkinen
87695e368b QmlDesigner: Add toggle button for 3D split view
The button and puppet communication is added for split view toggle.

Task-number: QDS-10921
Change-Id: I4322dfff6772eec493a2f3ce1722cdefb69bc490
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-10-19 10:45:40 +00:00
Eike Ziller
3363d71888 Build: Fix handling of (s)ccache support
So it also works when building individual projects like cdbext

Change-Id: Ibb9cac77146a9f19cbbe22f2c7257b951f38f3fc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-10-17 07:30:51 +00:00
Cristian Adam
9f0068a4e1 Perfparser: Update submodule
... contains a test fix for MSVC.

Change-Id: I5127075bd32e52ad205324728f05bc288b04a8be
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-10-13 07:52:47 +00:00
Samuli Piippo
e5d0bab0ea sdktool: add line break after clangd option
Amend d79c69918f and add line break.

Change-Id: I5082f0e6339cd161fa9c9030ad257e4246ff051f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-10-12 06:01:20 +00:00
Eike Ziller
b14e7d0cb7 Fix the name of Win/ARM/64 wininterrupt executable
Just differentiating between 32 and 64 bits isn't enough anymore. Do the
same as for the cdbextension.

Change-Id: Ic5acc256641b5b63568d1ef4df825aea0724d756
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-10-10 14:37:53 +00:00
Miikka Heikkinen
9712d4ca04 QmlDesigner: Replace AxisHelper with OriginGizmo
The new gizmo is more intuitive.

Fixes: QDS-10880
Change-Id: I8d3f1723ae0fb748d1b96c31b10e6753e0e2c709
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-10-10 08:25:27 +00:00
Miikka Heikkinen
32b68b296a QmlDesigner: Add enter and leave event support to 3D view
Fixes: QDS-10917
Change-Id: Iefcf92bd4a747d35f44e47c438548338fccfc4a2
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-10-10 08:25:17 +00:00
Jarek Kobus
42bda582d5 GridGeometry: Remove unused variable
Amends 1c76217a70

Change-Id: I625df52dc6c18304598f95e921c3d3dea7bf74c6
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-10-05 15:00:06 +00:00