Commit Graph

80147 Commits

Author SHA1 Message Date
Marco Bubke
f07e8a5918 QmlDesigner: Concat source ids into one struct
SourceIdsData is reducing the parameter count and later shares the
initialization the watcher notifier.

Task-number: QDS-9479
Change-Id: I30fca678a857821a376906071d6c219c4dd2e4b7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-28 09:18:36 +00:00
Marco Bubke
492c2f89c4 QmlDesigner: Cleanup code for reuse
Task-number: QDS-9479
Change-Id: If8c66444e7b85255aa2f66519ab74572d3800979
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-28 09:18:30 +00:00
Marcus Tillmanns
7e4c52959c Utils: Don't try to start clangd if path is empty
Change-Id: I30d3279be81b66c16ee8081b09828aaa6bcd53e0
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-28 08:30:30 +00:00
Alessandro Portale
3da30a8f2c MinGW build: Fix a few compilation warnings
Change-Id: Ib4f85d2ef15a5c06c6d2b175823c196b8588f5d2
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-28 07:54:44 +00:00
Haowei Hsu
9af26dd086 l10n(zh_TW): Fix translations of 'Command/Argument'
* Command: 指令 -> 命令
* Argument: 參數 -> 引數

Change-Id: I5d9b52cb15b81b668823c73de8a8ef7d351248fd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
v10.0.0
2023-03-28 07:35:32 +00:00
Haowei Hsu
70a00a541a l10n(zh_TW): Fix translations of 'Signal/Slot'
* Signal: 信號 -> 訊號
* Slot: 信號槽 -> 槽

Change-Id: I519bc563def7ea4fad90e6938bb54dde0383ba87
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-28 07:34:53 +00:00
Marcus Tillmanns
5db27d21da Terminal: Add setting to change arguments of default shell
On non windows systems, initialize it with "-l" to start a login shell.

Change-Id: I972f845c3933c6a54752d4c71108a658311a0256
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 07:13:00 +00:00
Marcus Tillmanns
c7b6c66cab Docker: Fix process state handling
Fixes the following errors that would trigger warnings due to incorrect
QtcProcess/ProcessImpl state synchronization

* Don't emit readyRead when state != Running
* Set result.m_error to FailedToStart if remote pid was not received
* Send stderr data once the pid was received
* Don't call deleteLater() on nullptr

Change-Id: I4b498a860ad27bef1a5b3e26417576431b54e84c
Reviewed-by: hjk <hjk@qt.io>
2023-03-28 06:32:38 +00:00
hjk
d8e87413a3 RemoteLinux: Add some support for "doubly remote" devices
This adds an "Access via:" settings to RL based devices that allow the user
to select an intermediate (also RL based) device as "stepping stone".

Communication to these devices is done by running ssh from the
intermediate device, currently without connection sharing.

Currently kind-of-functional: "Show running processes"

Change-Id: I6964fb4005ab8f42551c877da2c0bdb1e825cd61
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-28 06:05:53 +00:00
Christian Stenger
22952c5357 McuSupport: Fix missing include
Change-Id: Ie7a90edf3e4d6b289512a5bb60bca039b0b10fe3
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-28 04:53:13 +00:00
Marcus Tillmanns
5f65dc84f3 Terminal: Adjust default colors
Dark Terminal theme now matches normal background

Change-Id: Icdb943e78995245d7e0e55bb11754935333953dd
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-28 04:37:27 +00:00
Samuel Ghinet
77720c1122 Download textures and materials only by clicking the download icon
Previously, clicking the texture thumbnail itself would start the
download.

Also, improved the look of the download icon:
* added a margin to the right
* the inside "arrow" is now black, instead of transparent

Task-number: QDS-9398
Change-Id: I58f958493f1c6072a57402288ea155135909e117
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-27 17:59:05 +00:00
Samuel Ghinet
2081d1c0bc Download icons and metadata of textures at startup
Task-number: QDS-9397
Change-Id: If1bb4a5500896b70b4a9dbb82d2122c1232ee744
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-27 17:58:53 +00:00
Mahmoud Badri
bda4ae301b QmlDesigner: Fix regression: Close context-menus on focus out
Was broken by introducing StudioQuickWidget

Fixes: QDS-9468
Change-Id: Ie9a29af7356387591259fd2a3d1ae9adc34c711d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-27 17:48:06 +00:00
Robert Löhning
82c958374b German translation: Fixes
Change-Id: I5b367c13b0803e99021933793c9530a71a5e1fd9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-27 16:25:18 +00:00
Eike Ziller
ce79992d2e German translation: QtSupport, ResourceEditor
Change-Id: Ib373701f105df10198c2b3ed0abf49966ceb415d
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 15:33:43 +00:00
Eike Ziller
2e00dfc6c3 German translation: Debugger, Designer
Change-Id: I29c42dafac51aeb644fc6f574b5e4960abbc1f20
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 15:33:24 +00:00
Eike Ziller
6f07f52170 Update change log for 10.0.0
Change-Id: I1e3133646448c18e7ef6ed7c956d71ad81737d5f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-03-27 14:52:07 +00:00
Marco Bubke
4cb99eb737 Sqlite: Improve ownership
Using the compile option instead of a function pointer makes the code
less brittle.

Change-Id: Id7f3b42c044d47f13e099f50c5bb33b72c05cde1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-27 14:36:24 +00:00
Thomas Hartmann
8ba06e6865 QmlDesigner: Do not complete Connections in the puppet
This is not required and does crash with Qt 6.5.
Calling component complete on Connections is not required, since they
should not be active in the puppet anyway.

Task-number: QDS-9533
Change-Id: I686b99adb2d888b7df53e5f7da14a2e0a5d147e7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-03-27 14:18:54 +00:00
Eike Ziller
fee50654a1 German translation: LanguageClient, LanguageServerProtocol
Change-Id: Ib462b215dd9f1a61d70c558cf9032f5452cc9115
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 14:01:42 +00:00
hjk
4adec47a3e Qbs: Return FilePath from QbsInstallStep::installRoot()
Change-Id: Ie4943ec3dfd760a37b9d85c65095ae0d6cad7fe1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 13:00:15 +00:00
hjk
18772b9db5 ProjectExplorer: Use 22 as ssh default port
Also when constructing an SshParameters object.

Change-Id: I0f5a194052c88805bf5f1f414c4b876229d7bdf8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 12:38:38 +00:00
hjk
103c03afd4 RemoteLinux: Drop workaround for remote executables
Not needed anymore and gets into the way of "double remotes".

With this change "Local host as 'double remote' behind some
real remote linux" can run plain C++ applications.

Change-Id: Id0863c0893e3df0ced59384d12adbe00bc39073e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-27 12:33:43 +00:00
Marcus Tillmanns
e45ee44ae6 Terminal: Use native shortcut representation
Changes the ESC configure button to display the native representation of
the ESC Key instead of the macOS specific one.

Change-Id: Id3ec69901afb2bcb8b352b9c50a1adb4a074cd74
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-03-27 12:24:01 +00:00
Filippo Gentile
193b1295f6 Debugger: run GDB post attach commands also for local inferiors
GDB post attach commands previously where only run for Remote or
Extended Remote targets.
Now they are also run for Local and Local Attach targets

Task-number: QTCREATORBUG-28764
Change-Id: I6cf34091f2e53ffc7ea436465c2c1de3ef637e9d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-03-27 12:19:17 +00:00
hjk
9783ffd7c3 Qnx: Allow incremental deployment
Seems to work nowadays.

Change-Id: I5d6ee3054d1ef127385403a92f8c1e3119eb27f7
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-27 10:45:24 +00:00
Robert Löhning
b82fdb0499 Git: Fix explanation in GerritPushDialog
Change-Id: I527414dc3948a009099ec993c0f71d3501394ecd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 10:25:12 +00:00
Miikka Heikkinen
51a071dbdf QmlDesigner: Fix build
Add BakedLightmap to type cache.

Change-Id: Id831fbcdc7ad3138d0f6a741098cfd429c15de39
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-27 09:53:04 +00:00
Marcus Tillmanns
43d6f1b294 Terminal: Allow Locator shortcut
Change-Id: I278eb3ec2c18efe49a400149a83f71d0fbb2a35c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:50:00 +00:00
Marcus Tillmanns
9f5f213337 Terminal: Fix search debug output
Change-Id: I66f5a5e5d11f892b11d009df234fe9d7c29356be
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:30:15 +00:00
Marcus Tillmanns
4ab5eb5339 Terminal: Fix warning messages
Change-Id: I1ab473c79219cf6e2adefaa1349b4675a2455b2f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:30:09 +00:00
Marcus Tillmanns
2eb4884742 Terminal: Make audible bell configurable
Change-Id: I6cc02f2f1b873f39352151265fb7ba1fe0f170fc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:29:54 +00:00
Marcus Tillmanns
af5f702f54 Terminal: Make ESC key behavior configurable
Change-Id: I806870c5dd7edbcd3ac2642849cca82f1939ce01
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-27 09:29:47 +00:00
Alessandro Portale
83759e8083 Utils: Improve QtColorButton
By making it more theme aware, using a contrast color to draw the
outline; using the whole button area for the color (had to implement a
custom focus rect for that); Tidying up the checkerboard code a bit.

Change-Id: I9855c07668f920caf371a03fef7be2795feb2a08
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-27 09:26:50 +00:00
Haowei Hsu
0aa7e2e7fa l10n(zh_TW): Fix translations of 'Filter'
* Filter (v.): 過濾 -> 篩選
* Filter (n.): 過濾器 -> 篩選器

Change-Id: I6687a2245de1a73dfebdc844e9a3d6dbb58d19ec
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-27 09:16:04 +00:00
Haowei Hsu
11ff9fd029 l10n(zh_TW): Fix translations of 'Preferences'
* Preferences: 喜好設定 -> 偏好設定

Change-Id: I90623b2083f6056f6862ff7481b77558d8973c7b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-27 09:15:21 +00:00
Eike Ziller
d6115d6365 German translation: ClearCase, Git, Diff, Subversion
Change-Id: Ieb65c0483d0445bb830e365ecc03ec9f9713a575
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 08:51:48 +00:00
hjk
ed8f0fb03e Qnx: Compactify QnxDevice creation infrastructure
Change-Id: I939a435859c494f8750d62d2ca393775e01ad214
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 08:33:35 +00:00
hjk
54b8bdc390 ProjectExplorer: Fix logic to start device creation wizard
Amends 5996e58ff.

Change-Id: Ifbb31059b138234c37fbb3b335598406c9f328e5
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 08:28:54 +00:00
David Schulz
eb8c996f49 Python: add create venv option to the wizard
and optimize layouting

Fixes: PYSIDE-2152
Change-Id: If3ecb76c4bac885840f54fd382471ac22a06dee3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 08:13:14 +00:00
Miikka Heikkinen
79f4066dac QmlDesigner: Add BakedLightmap item to component library
Also adds relevant property specifics and navigator drop support.

Fixes: QDS-9521
Change-Id: I78539548770ae75fbe0602c2871fb5fea5515ab4
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-27 07:55:23 +00:00
Karim Abdelrahman
06c4a46a6c McuSupport: Deregister kits for uninstalled target
Before the fix when the user uninstall a target, kits of the target will
remain visible on kits screen and can be selected when configuring a
project which is not a good user experience.

This change will use infobar to notify the user about the existence of
kits for uninstalled targets and ask the user if these kits should be
removed.

The change uses the fact that a kit description file have the
naming convention "toolchain-vendor-device" and compare it to the kits
exists in profile.xml. If a kit exists in profile.xml but its
description file doesn't (which mean the target has been uninstalled),
it will be removed from kits.

Task-number: QTCREATORBUG-28921
Change-Id: I9d4d1687429f26b6a42b77c5aa398f6bca5455d5
Reviewed-by: Sivert Krøvel <sivert.krovel@qt.io>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-03-27 07:49:14 +00:00
Leena Miettinen
094b5294f6 Doc: Edit docs for Debug mode Disassembler and Debugger Log views
Task-number: QTCREATORBUG-28778
Change-Id: I66ea94881dc1ce3fa8d8fbe3bdd4b59504330738
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 07:29:40 +00:00
Leena Miettinen
1b2f1ac0f9 Doc: Edit Registers view docs
Task-number: QTCREATORBUG-28778
Change-Id: I30f24e7c192332611f9e7d14ec5541b6adccb9a5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-27 07:29:33 +00:00
Eike Ziller
3afe94777c Examples/Marketplace: Create grid view with all items on demand
No need to create that at startup.

Change-Id: Iff4cc634777fdd6cc9920a60e3260ee6d5a1a619
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-27 06:48:35 +00:00
hjk
623661a034 ProjectExplorer: Remove usused MakeStep functions
They had been left in to ease downstream transition and originally
planned for removal for 4.15. We are beyond that now.

Change-Id: I046ea8a29ff709d639f3d1bb5298ee446a1feb11
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-03-27 06:45:32 +00:00
Christian Stenger
73227535a4 SquishTests: Adapt to dark theme
Depending on the OS QC may be started with dark theming.
As we use the color of the buttons on the welcome page to
decide whether a button is active or not we need to adapt
the expected colors to cover dark theming as well.

Change-Id: I844b1e2cf4b44ce9501a4ef4a850331ca9983e3c
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 04:36:39 +00:00
Christian Stenger
ac4aaf5e23 SquishTests: Some Python3 adaption
Makes some tests succeed and lets a couple of tests get further
on macOS.

Change-Id: I9a3f124c094e67f51748ddae47d00897fe5259d5
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 04:36:30 +00:00
Tim Jenßen
feabda3aa7 Merge remote-tracking branch 'origin/10.0' into qds/dev
bigger conflicts resolved at:
  src/plugins/qmldesigner/CMakeLists.txt
  src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp

Change-Id: I08e2a109d8e37cbd77225129854e9e633725bfc7
2023-03-26 16:26:18 +02:00