Commit Graph

68765 Commits

Author SHA1 Message Date
Christian Stenger
9f7f175124 Sqlite: Disable before Qt6.4.3
Does not build before Qt6.4 and cmake build only builds
it from Qt6.4.3 onwards.

Change-Id: Ie3ffa37eb1c164b4fd151e2cf73918cfd4740175
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-09-20 10:22:08 +00:00
David Schulz
871162bd1c ProjectExplorer: remove unused functions
Change-Id: I4a860d5e2e24a4e5de84e2186a3b4ac6dca3bfd4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-09-20 10:21:26 +00:00
Eike Ziller
13c12f33e5 Merge remote-tracking branch 'origin/11.0'
Change-Id: I397dde2f95f62eb4843c39dd861522ae63d7f2c9
2023-09-20 10:43:54 +02:00
Marcus Tillmanns
189cf8054f Docker: Add network option to settings
Change-Id: Idb18435aa668f9219ae0eb2db6bd55d040ba5243
Reviewed-by: hjk <hjk@qt.io>
2023-09-20 08:02:04 +00:00
Jussi Witick
881c48fbe7 Add Qt Saferenderer 2.1 application wizard
Qt Saferenderer 2.1 application requires some changes compared to the
previous wizard template application. Mark the old wizard for 2.0 only
and create a new wizard template for QSR 2.1 (and newer). Additionally
CMake support is added for the new wizard, as QSR 2.0 did not support
CMake yet.

Task-number: QSR-1990
Change-Id: Iddac903374cf3e044d8a8804b9a935077de1e88a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-09-20 07:45:22 +00:00
Ali Kianian
ff02efe541 QmlDesigner: Fix the crash on visiting callExpression
Fixed the bug for visiting a callExpression outside of the statement.

Task-number: QDS-10708
Change-Id: Iebe8c1c8d73f1d601e1fba6adaca1ce89d89d0ff
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-09-20 05:38:50 +00:00
Christian Stenger
d83c740784 Utils: Add files to qbs build
Change-Id: Ica376eb4361ea8de480f3b38aec640a2e73f067f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-09-20 04:37:59 +00:00
Alessandro Portale
afc424cd23 ScreenRecorder: Make Selection not movable if fully selected
Change-Id: I0f2737fdaef44a649a3e1576554f0abcd304c272
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-19 18:47:38 +00:00
Cristian Adam
d3dcb894e8 Git: Use a hyperlink for the git sha1
This way it's clear how you should get to the commit.

Change-Id: I6131ffab1855d686828137fb608d3edc57846cf5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-19 17:52:13 +00:00
Alessandro Portale
e4d2046145 ScreenRecorder: Use better icon for "copy image"
The same icon is used in other places to copy an image tnto the
clipboard.

Change-Id: I094bd885f1efac3d35c57bbd4c5905e26b8f0c40
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-09-19 17:48:22 +00:00
Alessandro Portale
a2c44e5512 Utils: Introduce non-toolbar "Snapshot" icon
Change-Id: I07b66f128c5eea91768aeef54bbc03ec89b8014a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-09-19 17:48:12 +00:00
Cristian Adam
957fa89315 Core: Set the SH_Slider_AbsoluteSetButtons style for QSlider
This way when the user clicks on the slider with the mouse the slider
jumps under the mouse and not left and right according to the slider
page.

Change-Id: If36f9d8ea82f5b200e2322758f4fc25aef5e1a04
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-19 17:11:44 +00:00
Aleksei German
949612c23e QmlJsEditor: Fix crash on mode switch after save
Task-number: QDS-10709
Change-Id: I0eceef3815b6358d88329828d199d5918a273edf
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-09-19 17:00:46 +00:00
Alessandro Portale
3f4ed3e890 ScreenRecorder: Make crop selection movable
Change-Id: I95a6227c268bfeb7e0ea57a02c6cfd86fe99361b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-09-19 17:00:42 +00:00
Thomas Hartmann
f2343b417e QmlDesigner: Close the popup when model is detached
This happens when leaving the edit mode or the document
is changed.

Task-number: QDS-10707
Change-Id: I4b4e2511674d38c2d733db29070c01252c27c386
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-09-19 16:35:20 +00:00
Cristian Adam
52e3ab5272 CMakePM: code completion changes for cmake_print_variables|properties
They are CMake module functions and need only certain parameters.

Change-Id: I6e49359470cd228fec985fca2297a50d44c76ded
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-19 16:35:18 +00:00
Tim Jenssen
9ab6c7186d fix transientscroll.cpp compile against older Qt (tested 6.2.9)
Change-Id: I417aa1e0ef7c00181e85d8250e04b12ff6a24512
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 14:15:11 +00:00
Christian Kandeler
a217fa0c22 qbs build: Clean up testing infrastructure
- Rename ambiguously named "testsEnabled" property to "withPluginTests"
  and fix the wrong uses.
- Move AutotestRunner out of main project file and into tests.qbs.
- Move "withAutotests" property into qtc module. We cannot remove it
  from the main project file just yet, because some manual tests do not
  make use of QtcManualTest at the moment.
- Do not remove the autotests from the project tree if autotests are
  disabled. Instead, just disable the products.

Change-Id: I74a4cc717d9adbe53d37536b2565111e1617115b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 13:16:28 +00:00
Christian Kandeler
ef00a7e28b ProjectExplorer: Allow more entries in the MiniProjectTargetSelector
Make the maximum height dependent on the total window height, rather
than the height of the action bar.

Fixes: QTCREATORBUG-29580
Change-Id: Id2bd568febbb3e16cea05d9d54834a9c0b309ea1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-09-19 13:15:09 +00:00
Eike Ziller
ea47e6cbd7 OutputPane: Show "manage" menu as context menu for the buttons too
Simply makes sense.

Change-Id: I2f68b0bfdea66185c0c70d8e888fe0965276a7ab
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-09-19 13:12:38 +00:00
Eike Ziller
8a72318c97 OutputPane: Fix wrongly checked button with "Reset to Default"
We only want to set the button "checked" if the Output panes are
visible.

Amends b72f9dc8ef

Change-Id: Ia6fd461338086e141dac09ebf47de09c0635b28b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-09-19 13:12:22 +00:00
Marcus Tillmanns
768f12e033 Expected: Add upstream changes
Change-Id: I4fcf728200f50775c631c8a1399cd17643e3d519
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-09-19 12:47:50 +00:00
Christian Kandeler
2f80ef7f23 qtc-askpass: Quit after retrieving the password
Task-number: QTCREATORBUG-29619
Change-Id: Ib279ec43b7f67b8eac593d9e2f9800a65db024b7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-09-19 12:44:12 +00:00
Brook Cronin
37c4937d6d QmlDesigner: Add new icons
* Add new icons
* Change position code editor button
* Add eliding to the code preview

Change-Id: Ib47b0e28ae9b4deebc7bace942f43d8249f46299
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-09-19 12:43:04 +00:00
Thomas Hartmann
0ef6c184c1 QmlProject: Add new options to cmakefiles.txt template
If the template was regernated (which is not the default), it
was missing features.

Change-Id: I446dd454127795e0e7edcb6669dc7025ce37be01
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>
2023-09-19 12:26:30 +00:00
Thomas Hartmann
096c825084 QmlJSCheck: Do not warn about visual properties in Connections
Change-Id: I1b8d9374021d337d87025290fd025dd600fc3967
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-09-19 12:25:44 +00:00
Marcus Tillmanns
5da1f14903 Core: Revert unintended change
Amends: e34762c844

Change-Id: I024b6ae5b65dffe45bacc1f44bba5e8ce41fe49d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-19 11:39:24 +00:00
Miikka Heikkinen
5d7808f95b QmlDesigner: Don't show context on 2D view when editing 3D component
Fixes: QDS-10664
Change-Id: Ia4436b942ce79e0abe622adbba914903ab6a72bc
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>
2023-09-19 10:31:59 +00:00
Thomas Hartmann
f227dbf041 QmlDesigner: Fix appearance main toolbar
Using _q_custom_style_disabled had slight unwanted impact on appearance.
Introducing _q_custom_style_skipolish instead in studio style.
Using studio style whenever we are Qt Design Studio for all themes.

Change-Id: Iee460cfc0a62122b1aeb6d97746808658c4f3ebf
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-09-19 10:31:52 +00:00
Christian Kandeler
621902d485 qbs build: Remove left-over "dev package" functionality
This is no longer relevant.

Change-Id: Ib9d851d69c5fc33d4808d883f6bec24fb3d1c4a7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 09:56:26 +00:00
Christian Kandeler
4def80e1bf qbs build: Fix wrong usages of base.concat()
Change-Id: I806c6beb35eb5765b5da97e356a13c3dcb1ddda3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-09-19 09:55:40 +00:00
David Schulz
0a7eebc9c4 Python: add build target infos for .pyw files
Change-Id: I7f36fb14f79edf69f043b0ac566c9493e043c6f1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 09:03:40 +00:00
David Schulz
9a0f61b7e2 TextEditor: reduce size of line ending chooser
Change-Id: I3be0890ee78e2e3159e1494f8b5e972e04f11f67
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-09-19 08:58:41 +00:00
Marcus Tillmanns
f1907836fa Expected: Fix operator==(void, void)
Change-Id: I883f05155f0710fc3a9f92a2e33d4f8722159016
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-09-19 08:57:17 +00:00
Thomas Hartmann
1b9ed62028 QmlDesigner: Close dialog if target is removed
If the target is removed also the connection is removed and
we close the dialog.

Change-Id: I361e89ef64484e39bc0068e103f542cbc9dcbf78
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-09-18 15:54:39 +00:00
Thomas Hartmann
ffa4aba2c8 QmlDesigner: Adjust priorities
Change-Id: I9e455b40eca108aee869a24606300f38d14b5326
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-09-18 15:53:03 +00:00
Cristian Adam
bc1c24eb84 CMakePM: Revamp the CMake code completion
By using KSyntaxHighlighting's metadata from the cmake.xml file.

With this information the code completion has localized arguments for
functions.

Added support for Generator Expressions $< and function ${ completions.

The project functions/macros and options are also taken into
consideration.

The file completion is using FilePaths and should work remotely.

Change-Id: I79d1360c1249c65c9db65349f326be5d41f0f734
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-18 15:22:39 +00:00
Thomas Hartmann
e0441a9aec QmlDesigner: Choose new target from filtered targets
Task-number: QDS-10137
Change-Id: Ic74262862996c73ab5119793b92575035d590f60
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-09-18 14:40:07 +00:00
Miikka Heikkinen
461340d245 QmlDesigner: Tie 3D helper grid to snap interval
Helper grid minimum step now changes to match set snap interval.

Fixes: QDS-10624
Change-Id: I82b8206774b3769bee19be5eb0f38930f3b49c12
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-09-18 13:52:55 +00:00
Christian Kandeler
88ddecd281 qbs build: Fix wrong uses of qbs.toolchainType
qbs.toolchainType is a convenience property to *set* the toolchain in a
profile or on the command line. It must not be used to check for the
toolchain.

Change-Id: I97e3a2baceca4233db97f33b9fa8f2bc61abbcf3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-18 13:31:37 +00:00
Amr Essam
7b183a774c QmlDesigner: Move effect maker to an independent plugin
Task-number: QDS-10656
Change-Id: I1c1e67d3461650bfaec46ccc10b832effce76ad9
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-09-18 13:23:06 +00:00
Thomas Hartmann
6dc4243995 QmlDesigner: Choose proper default signal
Change-Id: I2a9493d0cc2a49afd624d58b53df54686d827422
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-09-18 12:56:09 +00:00
Thomas Hartmann
c693bd06b3 QmlDesigner: Fix toolbar height for non QDS styles
Task-number: QDS-10687
Task-number: QDS-10596
Change-Id: Ia4a7e958c6719cafa3a3fe2fea588cbd20c5b703
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-09-18 12:47:16 +00:00
Aleksei German
106bb82d73 QmlDesigner: Remove Connections Editor action
Task-number: QDS-10606
Change-Id: I0b0d4364e6c80eddee3bb1d8b8491c8c00542593
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>
2023-09-18 12:42:51 +00:00
Aleksei German
4949c1911e QmlDesigner: Add code preview indentation
Task-number: QDS-10680
Change-Id: I61528f517ed4baef2115fbddf1b014b9f7f966d2
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-09-18 12:42:46 +00:00
Alessandro Portale
eec022ac85 WebAssembly: Cache emsdk_env and toolchain --dumpversion results
Stores the results of emsdk_env and --dumpversion in the settings
database. Also stores the modification time of the ".emscripten" file in
the sdk root folder in order to validate the cached entries.

Change-Id: Iacb907ee6d8cd9f4c14d33a6ad425ec684c66238
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-09-18 12:27:58 +00:00
David Schulz
09b347d0d3 ProjectExplorer: fix gcc toolchain detection on windows
Change-Id: Ibf23eeca79389562bc38a01ca9ec7799e22787fe
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-09-18 12:12:02 +00:00
Christian Kandeler
bdded29b33 qbs build: Improve some base items
Clean-up, simplification and modernization.
Also fix the bugs uncovered by this.

Change-Id: Ia3a77557f10faf9a901540a55fd6c07a2e986bf5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-18 11:50:09 +00:00
Eike Ziller
b72f9dc8ef OutputPane: Add Reset to Default to menu
Resetting the visibility of the buttons to the default.

Change-Id: I0f8bf1cd9c33ac0a318e992526657c564f51f170
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-09-18 11:10:26 +00:00
Jarek Kobus
9d3fca4edc BuildManager: Disconnect instead of connect
Amends a140a93067

Change-Id: I88a3d62adf80f213b9772fd190c21052596829a0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-09-18 11:04:19 +00:00