Commit Graph

80111 Commits

Author SHA1 Message Date
hjk
463e47bbdd Debugger: Have a generic "GDB in PATH on Build Device" item
This is only checked at run-time, but allows smoother creation of
kits for standard setups as the (possibly remote) full path is
not needed.

Remove the DebuggerKitAspect::fixup() implementation. Too much magic
by now, and worst thing that could happen is a non-matching debugger
that will clearly bark when used.

Change-Id: If2414610d479a5b93c3e6227b8736ddc61f70635
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 13:57:50 +00:00
Christian Stenger
c46dff0199 SquishTests: Fix checking for build issues
Do not count code model issues as build issues when checking for them.
Fixes tst_build_new_project on the Linux machines which fail for unknown
reasons.

Change-Id: I2cd77b0208019fc902742197c0def6d3811cfced
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-28 13:20:10 +00:00
Sivert Krøvel
22909726eb McuSupport: Bring tvii and rh850 kits up to date with latest QUL
Bring recently changed kits up to date with QUL repository.

Task-number: QTCREATORBUG-28684
Task-number: QTCREATORBUG-28833
Change-Id: Id70268584891a72659930817a5c8458418a9f3b0
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-03-28 13:18:25 +00:00
hjk
5cfc52a92c Android/Baremetal: Clean up some header
Change-Id: I63a3483a28d9a4ccd21042ae3bd2049598125f5f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-03-28 13:07:07 +00:00
Christian Stenger
e113a12645 SquishTests: Fix accessing build dir line edit on Win
The respective line edit is hidden inside the collapsed
details, so ensure we have expanded details instead.

Change-Id: Ib6f6fab9f06c3250a71baf95a853d770bfa9b221
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-28 13:06:29 +00:00
hjk
bc4629d427 RemoteLinux: Add history completion to a few device property line edits
Change-Id: If871ff31ebd33a055bdcae38438eb0b4b48b904b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-28 13:05:38 +00:00
Marcus Tillmanns
662aabd29f ProjectExplorer: Add menu button to add devices
Change-Id: I7078617dc0a981854ccf25cef7a8136dbe51000b
Reviewed-by: hjk <hjk@qt.io>
2023-03-28 13:05:10 +00:00
Marcus Tillmanns
db38eef811 RemoteLinux: Display copy errors
Change-Id: I6f75af7b4700e26d43b605bee014b4768224caf6
Reviewed-by: hjk <hjk@qt.io>
2023-03-28 12:04:25 +00:00
Leena Miettinen
faf8f91b65 Doc: Update the docs for the Expressions view in Debug mode
Task-number: QTCREATORBUG-28778
Change-Id: I687fb1bb2ecf6dbc511bffc70a6f9ac00aee6ee9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 10:48:18 +00:00
hjk
746f0f93be ProjectExplorer: Inline BuildStepInfo
Was a more or less arbitrary subset of BuildStepFactory data.

Change-Id: Ie37735532da8a15a22d5f92e1b45d6ed5f7758fc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-28 10:19:28 +00:00
Ali Kianian
5644fa1b9c QmlDesigner: Move StyleAnimator to Utils
StyleAnimator moved to Utils in order to be used by other modules and
styles.
Since Utils is the most common dependency, it's chosen as the right
place of StyleAnimator.

Task-number: QDS-9522
Change-Id: Idbf55875e0c320ccfa21e1c479bf5997ea7d150d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-28 10:13:28 +00:00
Mahmoud Badri
4612fb20b5 QmlDesigner: Update assets context menu based on scene env state
Also remove signals emitted from the assets widget to the view since
the widget now has a reference to the view.

Fixes: QDS-9467
Change-Id: I80a2aef4c35aeeb344cc71c890664e1645d4334a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-28 10:12:20 +00:00
hjk
62b1795fb0 RemoteLinux: Further disantangle buildsteps from downstream
Expose Factories, (mid term:) hide step implementations.

Change-Id: I930899fe6873c8f727f3dedbb86aceb9bcbda0a4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-28 09:49:52 +00:00
Mahmoud Badri
38cf58d0ca QmlDesigner: Emit changed signal after updating m_matBundleExists
Fixes: QDS-9516
Change-Id: I905aff3a526d913d3eb56ae556cbebd7d7e67c5b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-28 09:24:20 +00:00
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