Commit Graph

85691 Commits

Author SHA1 Message Date
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
Thomas Hartmann
83c7c0d31b QmlDesigner: Add missing qualification
This was leading to random errors.

Change-Id: I51ec0c71ac1bd3ea7bd966eeb4d3a2b9cfeb0159
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
(cherry picked from commit 5ff6fe0eba)
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-19 17:50:56 +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
Cristian Adam
7de97c7a7f CMakePM: Add CMake snippets
Added four CMake snippets.

Change-Id: I5f6f16ff8fd1a7ddd9647431f2f72529b882d603
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-09-19 17:11:38 +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
Mahmoud Badri
ffe3670d90 QmlDesigner: Implement changing effect maker preview image
Fixes: QDS-10625
Change-Id: I48ef68fd4b64a37de3dc60f5decfcda1b43496dc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-09-19 14:17:12 +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
7e43895e81 qbs build: Remove the group enumerating the qmake project files
The qmake build is gone.

Change-Id: If2c9948ab08201efb1696dc9ea6eea0e59e31412
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 12:44:33 +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
Henning Gruendl
da92e16a92 QmlDesigner: Add tooltip on elided pills
Change-Id: I4a40070b958a46e46009ba8f141fd5c286858ab7
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-09-19 12:43:34 +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
Thomas Hartmann
e156854fc3 QmlDesigner: One more missing qualification
Change-Id: I394e58b2cccdfbfcacd13ff2c5cefba8d4719ef4
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-09-19 12:24:47 +00:00
Cristian Adam
263b1e70ef Clang/LLVM: Update to version 17.0.0-rc4
Change-Id: Ica6c5db764db8c3b8105c168f9001d7de3c6c5c1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-09-19 11:41:22 +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
Brook Cronin
f5e01b8b09 QmlDesigner: Fix Pill eliding logic
Change-Id: I573251001b2e77ff3f3fb0046615d65de814c21d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-09-19 11:25:10 +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
Henning Gruendl
560b77d64b QmlDesigner: Fix Connections in ConnectionsEditor
Fix Implicitly defined onFoo properties in Connections are deprecated.

Change-Id: I0f2460dd4b69c070f4982ca0ec13b19cfda0342b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-09-19 10:20:37 +00:00
Christian Kandeler
d00d056b32 qbs build: Remove compatibility code for outdated qbs versions
Change-Id: I2667e0e76dbcf692a25a5d4d5f020ac90f0be478
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 09:56:39 +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
24f0732d3a qbs build: Do not set minimum OS versions
These requirements come from Qt these days; anything we specify here is
redundant at best.

Change-Id: Ib52d4e80d77cc05ea6d9baa4aa0c88cac2c1a132
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 09:56:07 +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
Thomas Hartmann
94bd14eb46 QmlDesigner: Bump QDS version in template
Change-Id: If05eb88eabd59d0a63944887f896e32da2b9c202
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-09-19 09:03:17 +00:00
Christian Stenger
383cfb77cc SquishTests: Fix writing test files on Windows
Writing the text test files without encoding can end up in
ANSI encoding of the files and in turn a fail when opening
as the file is treated read only until correct encoding is
used.

Change-Id: I9e21e240b3b02011a2266dfda1f1b453c3dad457
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-09-19 08:59:23 +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
Thomas Hartmann
0547cff092 QmlDesigner: Update branch for designer components
Change-Id: I370fcd7eb15a26d28e60dc8bf2cdf24c29a43957
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-09-18 15:52:45 +00:00
Henning Gruendl
2a135f5d14 QmlDesigner: Fix long expression pill texts
* Elide static texts
* Clip dynamic texts

Change-Id: I90a511ec6dd35d2b65f4064bc09c0a83e8d1e905
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-18 15:43:02 +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