Commit Graph

62421 Commits

Author SHA1 Message Date
Jarek Kobus
ad35f08498 Drop Qt5: Qml lib / QmlDesigner: Get rid of QOverload
Add a context object into some lambdas.

Change-Id: I16ee7a0c061483e4d90c9e015852c41a4f3cde90
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 13:13:41 +00:00
Jarek Kobus
683ad910b8 Drop Qt5: Clang, QBS & Valgrind: Get rid of QOverload
Change-Id: I86697f07a8dce5674d6e748bce807df59b773227
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-07-20 13:13:27 +00:00
Jarek Kobus
1b070bcb11 Drop Qt5: Debugger: Get rid of QOverload
Change-Id: Ic62a3173adeffdfa78a47849cf1ceaa4f59b8091
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-07-20 13:13:21 +00:00
Jarek Kobus
5b3927869c Drop Qt5: ProjectExplorer: Get rid of QOverload
Change-Id: Id8b28efa7b31a92a5e24485803322c586a23802d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-07-20 13:13:11 +00:00
Alessandro Portale
19f9b6c1a0 Icons.svg: Increase document size
The number of icons growa. Make space for them, so that they don't have
to hide outside of the visual area.

Change-Id: I50c174b1e153cd47aa37b1931f9d23e9ee248bde
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-07-20 12:35:41 +00:00
Oswald Buddenhagen
9841a10f35 GccToolChain: whitelist all -f* and -O* gcc options
there are way too many -f* options to catch all relevant ones.
my particular case was the linux kernel, for which passing
-mcmodel=kernel but not -fno-PIE caused a gcc error.
if any particular option causes trouble, it should be blacklisted
instead.

also handle -O* while at it; -Og comes to mind as a relevant one.

this follows 3b79fafb3 in spirit.

Change-Id: I5de56082b695205409a8e82de2cab0618e2806a8
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-07-20 12:26:48 +00:00
Ivan Komissarov
6fe15c58c9 Update qbs submodule to HEAD of 1.23 branch
Change-Id: Idfc946ef010d843c39da194dffb18333a2dece4e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-07-20 12:07:25 +00:00
hjk
60adfa5053 QtSupport: Streamline QtOptionsPage
Change-Id: I2af97fdc07eb065a7e55d84f72697452b70a294a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-07-20 11:55:42 +00:00
hjk
e7f18d9d14 Utils: Do not use fixed values for margins in LayoutBuilder
Change-Id: I4af69c149fc1e71134ac6dd5de9a9428c9d3d73d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-20 11:48:41 +00:00
Thomas Hartmann
56b14c9d18 QmlDesigner: Implement support for SignalDeclarationProperty
This allows implementing a signal with a signature.
e.g. signal mySignal(int i)

Task-number: QDS-7319
Change-Id: I23cb000a218d709218322e7f31c86076d3ad949b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 11:01:32 +00:00
hjk
a55e3d3889 RemoteLinux: Inline sshkeycreationdialog.ui
Change-Id: Ie7c51a11c95ff0b484728741408df9173bc0e19f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-07-20 10:54:29 +00:00
Jarek Kobus
f078319feb Drop Qt5: ModelingLib: Get rid of QOverload
Change-Id: If7b6c4daf3c092eb844eb279049cac2f510dbc47
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:31:30 +00:00
Jarek Kobus
a98b185e90 Drop Qt5: Android, IOS & WASM: Get rid of QOverload
Add a context object into some lambdas.

Change-Id: I72631aeb36703f8f335f3819796fb52148f1b377
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:30:48 +00:00
Jarek Kobus
0dae822ca3 Drop Qt5: Core: Get rid of QOverload
Change-Id: Ibaebd83304680156e13a9ebc473075ad2a4bfed4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-07-20 10:30:34 +00:00
Jarek Kobus
74ea4dc07d Drop Qt5: Utils: Get rid of QOverload
Change-Id: I864bfb18668fd325badd34003adf494c7924f86b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-07-20 10:30:25 +00:00
Jarek Kobus
d7b248baec EditorManager: Avoid using sender()
Change-Id: I13cf8d2df014cb5f8b7979818f238f44c709333f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:30:08 +00:00
Jarek Kobus
6f064b0239 SideBar: Avoid using sender()
Change-Id: I851455dd8447209a631234403837f785634de2b6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:30:00 +00:00
Jarek Kobus
29bbf35895 TextBrowserHelpViewer: Avoid using sender()
Avoid setting / getting QAction data.

Change-Id: I61d62f2376e09c1dfeadbbe5ada32938ff8bc821
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:29:48 +00:00
Jarek Kobus
64f8d2daf3 HelpWidget: Avoid using sender()
Change-Id: Ic4c44b5d3545e55c3bdc11765ff2dd5ac4a5f556
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:29:43 +00:00
Jarek Kobus
1fade11be2 PluginManager: Avoid using sender()
Change-Id: I30df454a9bab9896ec39a03d7d261fc47fbd7b7e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:29:37 +00:00
Jarek Kobus
54465acb15 CrumblePath: Avoid using sender()
Change-Id: I4aa2e6646707e6f69bf0a69530638546b94162fd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:29:24 +00:00
Jarek Kobus
98ba797f76 InfoBar: Avoid using sender()
Change-Id: I575aa4999b4cb8d39135880a3bc6d1b2fe44cf4a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 10:29:00 +00:00
Eike Ziller
3ec87e37ee Merge remote-tracking branch 'origin/8.0'
Conflicts:
	src/plugins/todo/optionsdialog.cpp
	src/plugins/todo/todoprojectsettingswidget.cpp

Change-Id: I24ca90c2fc2cd707df901d42694df6d0e27d696d
2022-07-20 12:03:40 +02:00
Thomas Hartmann
e1b0ba2473 QmlProject: Disable or hide qmlproject related actions
Generate CMake Build files is only relevant for .qmlprojects
and should only be enabled for those.

Export as latest Project Format is only relevant for QDS and should be
hidden in Qt Creator.

Task-number: QTCREATORBUG-27935
Change-Id: Iac6ca6927443a92dfb501f76c855fd641aaf10da
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2022-07-20 09:50:15 +00:00
hjk
034acdeeb2 RemoteLinux: Inline genericlinuxdeviceconfigurationwidget.ui
Change-Id: I1f93b7886bb8d0217a9e169990e20361e540aec4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 09:06:45 +00:00
hjk
421cdd8021 RemoteLinux: inline genericlinuxdeviceconfigurationwizardsetuppage.ui
Change-Id: Id26472c20a60e95cc1b6348518168f8c64a61697
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-07-20 09:06:27 +00:00
Thomas Hartmann
2984934af9 QmlDesigner: Fix warnings
Change-Id: I5e8774223d124f594fc93d83cac1ac37a8bc34e9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2022-07-20 08:02:53 +00:00
Alessandro Portale
8cb1775ba8 Tracing/Qml|PerfProfiler/CtfVisualizer: Move QML modules to :/qt/qml
We don't want to dedicate the whole resource file system to QML.

Change-Id: I4c7e4af7aeeab00f44c5244e99949a90abb032cf
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2022-07-20 06:53:14 +00:00
Jarek Kobus
24c6073196 FancyLineEdit: Avoid using sender()
Change-Id: I90a90403ed53133905b7813b5907994f82986257
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 06:34:14 +00:00
Jarek Kobus
62b1d574f5 ProgressManager: Avoid deleting object from its signal handler
Don't delete future watcher object directly from inside
taskFinished(), as this method is the direct watcher's
signal handler.

Avoid using sender() - use lambda instead.

Disconnect from all watcher's signals (instead of selected)
prior to delete.

Change-Id: Ib4b5a7341bef9979bda9c047ab98787974d1bc12
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 06:34:07 +00:00
Jarek Kobus
697df89178 ProgressManager: Avoid using sender()
Change-Id: Ifb28b5b3d95e99c29e2a9b76a5fd73279a96f92f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-20 06:17:51 +00:00
Jarek Kobus
60a5f77ef2 Drop Qt5: VCS: Get rid of QComboBox QOverload
Change-Id: Ib2f21f28a0ec16b817f9227c6234424001752d50
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2022-07-19 21:45:59 +00:00
Jarek Kobus
ae9a330344 VcsManager: Avoid using sender()
Change-Id: I09cca9c85b4300f25aa195be3c399d1511e2da11
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-19 20:22:00 +00:00
Jarek Kobus
e7b43b6b8b SubmitEditorWidget: Avoid using sender()
Change-Id: I748dbf6232e89ffe0e412894bf708434be247e31
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2022-07-19 20:17:28 +00:00
Jarek Kobus
7f4363e51a VcsBaseEditorWidget: Get rid of DiffChunkAction struct
Change-Id: Ia35a8ef6b836709f7e058cfe33bf902f015e89b9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2022-07-19 20:17:20 +00:00
Jarek Kobus
52e649cf53 VcsBaseEditorWidget: Avoid using sender()
Change-Id: Id300535d40b52a2f7d3e69fca77ca75271da8711
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2022-07-19 20:17:09 +00:00
Thomas Hartmann
fa29dcb1cd QmlDesigner: Ignore excpetion in special corner case
If users do a ".." import the type name was "...XYZ".
This could be considered technical correct, but is really not
what we want to do in this case. The type is associated with
a QML file anyway in this case.

Change-Id: Icaac5cb237f4ae2a98f6458f119047cbdc87a64b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2022-07-19 17:38:45 +00:00
Thomas Hartmann
8ff3c0ac2b QmlDesigner: Ignore Behaviors when sending items to puppet
Change-Id: I86b787ce2502622a43542f60046880f53c2c2698
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2022-07-19 17:38:33 +00:00
Ulf Hermann
07b0147714 Tracing: Add some civilization to TimeMarks.qml
Use concrete types and annotate JavaScript methods.

Change-Id: If636741181d0ae28605f3f37b46d9011130f5988
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-07-19 13:49:46 +00:00
Jarek Kobus
715e304f93 VcsCommandDecorator: Don't leak future objects
Don't leak QFutureInterface<void> and QFutureWatcher<void>
in case VcsCommandDecorator was destroyed before
the task was finished.

Change-Id: Ib915afe29250f3e5c3fe2e1d465005a0c980252b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2022-07-19 13:47:19 +00:00
Jarek Kobus
163625f56a VcsCommandDecorator: Fix call to abort()
Call ShellCommand::abort() instead of std::abort().

Amends a640a6ae8c

Change-Id: I3e71c1e919ef05100934011d1f9a80961249cddf
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2022-07-19 12:48:58 +00:00
Jarek Kobus
a91ff34836 ClangdFollowSymbol: Don't leak ClangdFollowSymbol::Private
Change-Id: Ic8486d832084ae700322f0696d7b7321f0daf35f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-07-19 09:05:02 +00:00
Christian Kandeler
5c341854e0 ClangCodeModel: Fix callback handling when following symbols
Make sure emitDone() is atomic with running the callback, so in case the
latter starts an event loop of its own, we won't be overtaken by
incoming signals, deleting the object from under us.

Task-number: QTCREATORBUG-27910
Change-Id: I586d7609974662bf391b12041f416aaa2a973ecb
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-19 07:44:18 +00:00
Ulf Hermann
7fb871944d Tracing: Give TimelineModel a name and make its properties FINAL
You really should not shadow them. The name helps to use it from QML
in a type safe manner.

Change-Id: I3fbd03ad267e10f5003647cdfb916a6f90e30b8c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2022-07-19 07:17:58 +00:00
Ulf Hermann
df8d01dd1e Tracing: Untangle dependencies between CategoryLabel and TimelineLabels
CategoryLabel only needs a parent for the dragger and a way to position
itself. It doesn't need all the other properties of TimelineLabels.

Change-Id: I33b94ec6ae7bf2a54e233e9e6c1b3e30ff9c19d2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-19 07:17:40 +00:00
Ulf Hermann
ffbd1ed7b5 Tracing: Add type annotations to some functions
Change-Id: Ie82a12cb74d6315ab0bcb3efa1e88038ae4ed6f3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2022-07-19 07:17:26 +00:00
Ulf Hermann
c2691094ca Tracing: Depend on QtQuick
Otherwise qmlcachegen and qmlsc won't find any QtQuick types when
analyzing the QML-exposed C++ types of the module.

Change-Id: Ic7860b430c04b9290e2f972e4761f1ccbc7f67ab
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2022-07-19 07:17:16 +00:00
Cristian Adam
b2407dbde5 CMakePM: Update conan.cmake to version 0.18.1
This is the latest released version at this moment in time.
It has support for Visual C++ 2022 detection.

Fixes: QTCREATORBUG-27814
Change-Id: Ib4fa288ced1271e1964b2ae0f7d6a6c5e403cf53
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-07-18 17:16:55 +00:00
Christian Stenger
dd39d07cd3 SdkTool: Fix qbs release build with auto tests
Change-Id: I42777d24f96186d099a30f9da8ac99b0b1bcba4f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-07-18 09:30:38 +00:00
Marcus Tillmanns
07cb8876db deviceshell: Fix racecondition and long running tests
When writing to stdout and stderr from two processes, their output could become
interleaved. To work around that, we write stdout and stderr to different files
and later combine them together in the shell script.

Since tst_deviceshell tests could run for a long time if /usr folder
is too big, added a check that first tests the runtime once.

Since we currently only support linux containers, limit the tests to
only run if the container platform is linux as well.

Change-Id: I4b313596cdf9acc839d54d7cc77c66fd53ac23bf
Reviewed-by: hjk <hjk@qt.io>
2022-07-18 08:06:06 +00:00