Commit Graph

91404 Commits

Author SHA1 Message Date
Ali Kianian
5f3a1d9475 EffectComposer: Add a footer to the code editor
The footer contains:
* Live update button
* Close button
* Apply button

Fixes: QDS-14233
Change-Id: I25070356d5357141be5701ee701d938376bfc141
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-11-28 17:44:53 +00:00
Ali Kianian
3bacff48ea EffectComposer: Move code editor tabs to Qml side
Task-number: QDS-14141
Change-Id: I8edb70f7773723e4f87cbed7ed0e766362917a7d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-11-28 17:44:40 +00:00
Ali Kianian
76a99f5a66 EffectComposer: Add a button for inserting uniform id to code editor
Task-number: QDS-14140
Change-Id: Ic4505a25ed46aee8e58fc1a9fd1af6e47c5172d2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-11-28 17:44:22 +00:00
Thomas Hartmann
f3d4f18590 QmlDesigner: Add extra call to setupContextProperties()
This is required because we rely on the anchorBackend to change,
when the selection is changed, because this is used in the gradient model.
We need to cleanup how the selected model node is propergated through QML.

Change-Id: I6bb59a1606c87203a166f4e0cd410560b4ecc666
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-28 17:28:06 +00:00
Thomas Hartmann
45d0753f0b QmlDesigner: Fix deprication warnings
Change-Id: I98ca6791317763a5a148f1fd3138f573667666ab
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-11-28 17:04:03 +00:00
Thomas Hartmann
7ade402c98 QmlDesigner: Fix deprication warnings
I looked at the implementation of the deprecated constructor
and this seems to what it is doing.

Change-Id: I98ca6791317763a56668f1fd3138f573667666ab
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-11-28 13:08:35 +00:00
Ali Kianian
479826158e EffectComposer: Add nodes combobox to the code editor
Task-number: QDS-14138
Change-Id: I8a12f26d6b453128acfad67de08134c17e83b6fc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-11-28 12:58:42 +00:00
Ali Kianian
91f76efd40 EffectComposer: Use a single EffectsShaderCodeEditor for all nodes
* Composition nodes use ShaderEditorData to share data with the editor
* ShaderEditorData contains a table model for unions, shader documents
and also a private instance of the editors.

Task-number: QDS-14220
Change-Id: I63ca943d4abcbde273b6b3b64dffcf24f8f28f48
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-11-28 12:58:28 +00:00
Thomas Hartmann
2e18a94ebc QmlDesigner: Fix deprication warnings
Change-Id: I98ca6791317763a5a148f1fd3138f573600666ab
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-11-28 12:51:11 +00:00
Thomas Hartmann
0eab8c88b6 QmlDesigner.PropertyEditor: Remove workarounds and unnecessary code
The workaround and optimizations do not seem to be required anymore.
The property editor is now fast enough and no delay using a timer
is required anymore. We also do not have to setup the Item pane upfront.

Change-Id: Ieb64fcf5e37b74f1e755bc06674deede66a6f666
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-11-28 12:50:00 +00:00
Tim Jenßen
4bdb0fb968 Merge remote-tracking branch 'origin/15.0' into qds/dev
Change-Id: I3efa0431a428c7c0736f3f6ac67e84c3eeac3247
2024-11-28 10:56:08 +00:00
Miikka Heikkinen
01b8a26fa5 EffectComposer: Move open code button
Fixes: QDS-14218
Change-Id: I3f622ef649438475f85bd902d3b2547d64dffdde
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-11-28 09:00:45 +00:00
Miikka Heikkinen
f3815c815b EffectComposer: Show warning icon if uniform is not in use
This gives visual feedback to user that the newly created properties
need to also be used in shader code. Clicking on warning icon
opens the node code editor.

Fixes: QDS-14205
Change-Id: If7758cc2db2a47dcffb02a01d97e58231605d27d
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-11-28 09:00:28 +00:00
Thomas Hartmann
4756496436 QmlDesigner: Fix Windows build
If DESIGNSYSTEM_EXPORT is missing the symbols/functions will be duplicated
which leads to a linking error.

Exporting DSStore leads to stricter requirment
for std::map<QString, DSThemeManager>

DSThemeManager has to be copiable.

Change-Id: I54bc953856acafde6eb66b906b49da6c7c77c666
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-27 17:51:25 +00:00
Burak Hancerli
359f039d16 DeviceShare: Use proper settings path and fix alias index issue
Change-Id: I28b176892465ec19f6c58bc2271c29231e1f847d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-27 16:07:51 +00:00
David Schulz
2aba646a5c qmlls client: append builtin quickfixes to qmlls quickfixes
Fixes: QTCREATORBUG-31977
Change-Id: I6bb59a1606c87203a1c8f4e0cd410560b4ecc835
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-11-27 11:36:41 +00:00
Johanna Vanhatapio
4db95e26aa Doc: Convert example docs to sentence case
-\titles, \section1, \section2 etc.
- some minor grammar fixes etc.

Task-number: QDS-14097
Change-Id: I54bc953856acafde6ebb4b906b49da6c7c77c08c
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-11-27 11:27:06 +00:00
Shrief Gabr
3051338202 QmlDesigner: Show correct file structure in AssetsLibrary when empty
Fixes: QDS-14099
Change-Id: I4e5962efa7e934913d339e914e1f41013f6614ee
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-11-27 09:59:28 +00:00
hjk
083db7c5cf ProjectExplorer: Assert a build config when retrieving install step
Some safety net for the future, triggered by the referenced task
which was already properly fixed by 01cc0e7499.

Task-number: QTCREATORBUG-32064
Change-Id: If1d79a2ad6fa7dc208952528ed674523d1aaceb8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-11-27 09:56:56 +00:00
Vikas Pachdha
b7265a6ca3 Fix deprecated QVariant::Type usage
Change-Id: Id435abca4d4e923e6ffa916b8a649ec876512298
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-11-27 09:54:08 +00:00
Vikas Pachdha
c3c7cb653d DesignSystem: Enable design system data model editable
Task-number: QDS-13881
Change-Id: Icead4959b098a7b4cf1a440e69ff462d0645be8f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-27 09:22:20 +00:00
Vikas Pachdha
8d7da1f7c2 DesignSystem: Theme manager controls unique id and type names
Change-Id: I22d7c31f58c24231615feb86cf43817c6be7b2f0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-27 09:22:11 +00:00
Vikas Pachdha
a2d8ca3966 DesignSystem: Add design system data models
Task-number: QDS-13595
Change-Id: Ic853d193585036baeef3eeea8e0f58f46aaba502
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-27 09:21:54 +00:00
Vikas Pachdha
4c85a371ae Add creating unique QML type names
Change-Id: I27be01683b3dec69b62195faa96900f8277b2425
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-27 09:19:15 +00:00
Burak Hancerli
cb44f1d766 DeviceShare: Set the default logging level as QtCriticalMsg
Change-Id: I7a621ae2b5dae24de5f9d0b632d4fa1b6c4b0257
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-27 09:10:18 +00:00
Jarek Kobus
3ac6a5956d StringUtils: Don't issue warning on '*' port
Amends d91d402853

Change-Id: I750d09b770bd71ae97705e02b3dc25566af7bb66
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
v15.0.0
2024-11-27 07:43:59 +00:00
hjk
b1bf4594ba Debugger: Fix Run in Terminal and output retrieval for RL/Boot2Qt/QNX
Amends 265491e408.

Replacing the DebuggerServerRunner by a simple Process lost the
SimpleTargetRunner's ability to run in terminal and to display output.
Re-add this.

Fixes: QTCREATORBUG-32072
Fixes: QTCREATORBUG-32074
Change-Id: I6439eeacbb2561f08b93cba140836919afe56efb
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-27 07:38:02 +00:00
Leena Miettinen
c980a97db6 Doc: Do not instruct users to make .dmp files public
...as they might contain private information.

Task-number: QTCREATORBUG-32061
Change-Id: I8ba3e4f26755d16f13b04f9d91504126a86c26d9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-11-27 07:32:17 +00:00
Eike Ziller
767b41f80f Tooltips: Fix widget tool tip positioning on macOS
There is a weird behavior of Qt on macOS, that widget tooltips are moved
up by 20 pixels when calling show().
This is pretty annoying, because the tooltip gets under the mouse
pointer and interrupts user interaction.

This only happens if all of

- the widget has multiple subwidgets
- the layout has size constraint QLayout::SetFixedSize
- adjustSize is called

are true.

Remove the explicit adjustSize, that doesn't seem to make any
difference, except for avoiding the issue with show().

Task-number: QTBUG-131479
Change-Id: I2285bf77b0980940b48ac22f931a45b6a73ad06e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-11-27 07:31:39 +00:00
Teea Poldsam
c26cb94de9 Doc: Add info about effect composer opacity masks
Fixes: QDS-13896
Change-Id: Ieecc3cc221250de2e55d9a0cce2f7cb8cab98b8a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-11-27 07:28:59 +00:00
Christian Kandeler
01cc0e7499 Autotools: Make the BuildSystem per BuildConfiguration
The per-target variant is intended for project managers without build
configurations.

Fixes: QTCREATORBUG-32064
Change-Id: I908627dbe11a68ee7ac4cca3a10f956630008f08
Reviewed-by: hjk <hjk@qt.io>
2024-11-26 17:04:40 +00:00
Thomas Hartmann
b15f646b37 QmlDesigner: Fix deprication warning
Also fixes CI macOS builds.

Change-Id: Ieb64fcf5e37b74f1e755bc0fe74deede66a6f4f0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-11-26 16:21:43 +00:00
Thomas Hartmann
8e0283bd56 QmlDesigner: Use OpenGL as the default RHI
Change-Id: I7acf0ab0a40f309354156b3c35170a38dce243a8
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-26 16:02:32 +00:00
Thomas Hartmann
67eec92b4b Add option for RHI backend
There are still some issues with DirectX on Windows.
This way the option is only supported in install settings.

Change-Id: I0d8c52a5cd0f7a62348ff6332264412e6c935a9f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-11-26 16:02:08 +00:00
Lukasz Papierkowski
9a2c52d57b Fix: DidOpen msg sometimes not sent after client restart by settings
Change-Id: I8410e29fc66202dc1aca17f223bdb6ffb7e73ec8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-11-26 15:27:21 +00:00
Eike Ziller
79ead53397 Autotools: Re-add Makefile.* as patterns for x-makefile
Re-add the globs that went missing in the transition to Tika,
so the Autotools project manager plugin can still open Makefile.am files.

Change-Id: Ibd43eccf694efa276a1fff8bb0b77e6f68fc609b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-11-26 14:39:02 +00:00
Burak Hancerli
b7f74fe81f DeviceShare: Initialize Output Pane after clearing
Change-Id: I98ca6791317763a5a148f1fd3138f573600208ab
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
2024-11-26 12:57:49 +00:00
Miikka Heikkinen
c2efc4abb4 EffectComposer: Hide error details until user explicitly wants them
Fixes: QDS-14206
Change-Id: I9d1bcfb311398d8214c4a2b3cc43d11b762095a6
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-11-26 12:45:12 +00:00
Marcus Tillmanns
2b7b8ef5a9 Terminal: Fix "flicker" while searching
Previously the search results would be removed every
time the terminal updates before the new hits were
resolved.

This patch fixed that by keeping the old hits until the
new hits are found.

To not keep old hits around when the terminal is cleared
a signal is introduced that the SearchableTerminal can connect
to and clear its Hits immediately.

Fixes: QTCREATORBUG-32066
Change-Id: If0bcf133098f06df53b52aae9b1036f0bc58870d
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-11-26 11:29:28 +00:00
Leena Miettinen
66e465420f Doc: Add info about automatic crash reporting
- Sentry sets a file size limit for crash reports
- Users are not notified about sending reports or whether
  it succeeds or fails
- Describe the location of the reports
- Add a note encouraging users to still report crashes in JIRA

Fixes: QTCREATORBUG-32061
Change-Id: I1a5ca5f24463cbad846d55f279f4bd02ec1d61ad
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-11-26 09:52:55 +00:00
hjk
06772004a2 Debugger: Allow gdb inferior calls for symbol address finding
Amends a9e8b106a4, otherwise Qt version discovery breaks.

Change-Id: I2b682935e4e5783328fc43840681b988306c6cc5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-11-26 09:01:26 +00:00
Eike Ziller
791445159a Update change log for 15.0.0
Change-Id: I851be3a1aba511c7417bcabf136f82897d3be252
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-11-26 08:47:35 +00:00
Leena Miettinen
1075f4f8c4 Doc: Describe creating kits for building on Docker devices
- Use the same topic as for remote Linux devices, with variables.
- Update information and screenshots of adding compilers.

Change-Id: I0b1695ec649e9780b68e57cff989b96ada92f0da
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-11-26 08:35:04 +00:00
Teea Poldsam
48eb428a4b Doc: Get rid of abbreviations
Fixes: QDS-14118
Change-Id: Ia60fd03b100a1fb7d308d9cfba3edd6c42cb3d9e
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-11-26 07:18:20 +00:00
Eike Ziller
8b34ccf7e8 Crashpad: Fix missing include
Amends 58af141dfc

Change-Id: Ibb9e1b37246633282c7f8c74bfc93fb7f1a31263
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-11-25 16:36:13 +00:00
Eike Ziller
c263ce8cc6 Crashpad: Fix missing include
Amends 58af141dfc

Change-Id: Ibb9e1b37246633282c7f8c74bfc93fb7f1a31263
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-11-25 16:28:43 +00:00
The Qt Project
c388443737 Merge "Merge remote-tracking branch 'origin/15.0' into qds/dev" into qds/dev 2024-11-25 15:39:07 +00:00
Tim Jenßen
8bb7627d4f Merge remote-tracking branch 'origin/15.0' into qds/dev
Conflicts:
	share/qtcreator/templates/wizards/projects/qtquickapplication/wizard.json
	share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json
	src/plugins/qmldesigner/components/contentlibrary/contentlibraryview.cpp
	src/plugins/qmldesigner/components/materialbrowser/materialbrowserview.cpp
	src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
	src/plugins/qmldesigner/libs/designercore/rewriter/texttomodelmerger.cpp
	src/plugins/texteditor/texteditor.cpp

Change-Id: I88519e366a153375e0d2aae2798d05828816657d
2024-11-25 16:32:07 +01:00
Burak Hancerli
872a072ac9 DeviceShare: Include local loopback interface for UDP discovery
Change-Id: I2bcf7efea49c1f774b7694c98c19c90eadebc272
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-25 15:26:20 +00:00
Knud Dollereder
d5e57b84f7 Initialize Output Pane after clearing
The output pane needs at least one valid run
in order to show output for a session.

Fixes: QDS-14167
Change-Id: Ic23440e07c8d6e754898f2e5fc876a14f54c2ce1
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-11-25 15:09:51 +00:00