Commit Graph

80509 Commits

Author SHA1 Message Date
Mahmoud Badri
be15c0b82e QmlDesigner: Enable keyboard navigation in the material browser
Fixes: QDS-8764
Change-Id: I2f0de80a3bbffdb0dafa15315cfe6692d77db2ed
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-18 17:45:52 +00:00
hjk
1db9135d6d RemoteLinux: Merge tooling runworker related files
... and move definition of supported runconfig to worker factories

This might not be final, but is closer to the other device setups.

Change-Id: If68d4e9d1bfb281879ff8cd46ed6ed6356da8d57
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-01-18 16:15:33 +00:00
hjk
fa7dd2fd3b VcsBase: Convert to Tr::tr
To reduce the amount of duplicated strings for translators to handle.
The problem is not very prominent in vcsbase, but that's where we
are moving everywhere else.

Change-Id: Icb11fad3bccfea8a1408420e729566a75adccb66
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-01-18 15:33:59 +00:00
Pranta Dastider
de8c64ab95 QmlDesigner: Update Tooltips for Advanced Section
This patch update tooltip text for Advanced Section fields
in Property editor.

Fixes: QDS-8805
Change-Id: If97f0d42bc53c855fbf6bb1916011d4cbadb95cd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-18 14:27:39 +00:00
Pranta Dastider
5e81f4105a QmlDesigner: Update Tooltips for Padding Section
This patch update tooltip text for Padding Section fields
in Property editor.

Fixes: QDS-8808
Change-Id: I04143d8b822d1978f57aa01598c6df0b483da94c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-18 14:27:36 +00:00
Pranta Dastider
8607436ee6 QmlDesigner: Update Tooltips for Control Section
This patch update tooltip text for Control Section fields
in Property editor.

Fixes: QDS-8809
Change-Id: I1a5d830c9541a7ee25d483eee77d6391e194e743
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-18 14:27:29 +00:00
Jarek Kobus
7e815270f1 TestRunner: Get rid of unneeded Utils:: prefix
We are using Utils namespace in this file already.

Change-Id: Ib4b36782b3272eb4974d8dada4518b0d4eec2f21
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-01-18 14:01:57 +00:00
Jarek Kobus
39940a7200 TestRunner: Use QList instead of QQueue
There is not a big benefit when using QQueue - QQueue::dequeue()
has its counterpart in QList::takeFirst(). Using list makes
it possible to assign another list into m_selectedTests.
Make use of QList API consistent in this file (use isEmpty(), first()).

Change-Id: I4a320469f5b44c61f8c51196c104a6ca0d0534e3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 14:01:32 +00:00
Ali Kianian
d0c2ccac8b QmlDesigner: Fix the bug for using QMap::asKeyValueRange
This feature is available for QT_VERSION >= 6.4.0. So a compiler
condition is considered to switch the code for different versions.
Also, an old unused function has been removed.

Change-Id: I470812213cfb00c28fcf062d214895cfcba68d69
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-01-18 13:52:33 +00:00
Jarek Kobus
fdebf0343d TestRunner: Merge 2 public methods into one
Merge setSelectedTests() and prepareToRunTests() into runTests().

Change-Id: I908c41483f05eeaec186f362391941a797d66e6a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 13:50:37 +00:00
Jarek Kobus
c9f5098c07 AutoTest: Rename outputReader() into createOutputReader()
Make it clear it's a factory method that creates new instances
of objects, not a simple getter.

Change-Id: I0b44506a27a0353bc524831c305f947510f59e98
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 13:50:20 +00:00
Jarek Kobus
bad66c1fc2 CMakeBuildSystem: Run ctest process asynchronously in main thread
Instead of running it in other thread using blocking interface.

Amends 675a72e296

Change-Id: Ia4c7701fa4cd9efea4aeccd979dfb8cde28a889e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-01-18 13:33:25 +00:00
hjk
ea41beb90a QmlProfiler: use dedicated classes to create run workers
Change-Id: I70d6b778ce6e4892260d4c826b708eadce6b4017
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 12:51:17 +00:00
Amr Essam
5818f9226a QmlDesigner: Delete qep effect resources files
When an effect file is deleted from assets library, this delete its related
files from asset_imports/Effects, including the main effect folder itself

Task-number: QDS-8455
Change-Id: I4af6f740b209dc17923d3709b6017ef243fc2563
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-01-18 11:30:26 +00:00
Christian Kandeler
263c5e6b7c Fix crash on session loading
Amends 22da0f2fd6.

Fixes: QTCREATORBUG-28700
Change-Id: I2d9c249fe03abfa1bc3ce53d0d7cff7b8a0329d6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-01-18 11:28:18 +00:00
hjk
46e660c646 Boot2Qt: Tr::tr
Interestingly, the contexts were predominantly Qdb::*, standardize
on that. Long term we might collapse RemoteLinux descendants anyway.

Change-Id: Id7009ee6b662d6c29f98e3809619b604aeeea7d9
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-01-18 11:20:44 +00:00
The Qt Project
88131d4c93 Merge "Merge remote-tracking branch 'origin/9.0'" 2023-01-18 10:18:07 +00:00
Eike Ziller
4d71a24cb9 Welcome/Qt: Show featured examples in separate section
Task-number: QTCREATORBUG-28546
Change-Id: I9cf42cd11b442f720070c250da789d23001a1375
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 10:17:11 +00:00
Eike Ziller
ad643fdd30 Welcome/Qt: Use separate model instances for examples and tutorials
And get rid of the need to filter the model in a special way.

Change-Id: I42dd80e3b8b122dcd2d5f454d0acde1facf556bd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 10:17:03 +00:00
Eike Ziller
e8fdfd9e2c ExamplesListModel: Remove unused/unimplemented methods
Change-Id: I9cecb1f89d07f7b060a2f2b7d228c14c54da8ddf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 10:16:54 +00:00
Eike Ziller
6c6277bc7d ExamplesListModel: Remove direct access of model items variable
Change-Id: I8dc2833f61fe0267953acfa8746151cea893c7f3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 10:16:46 +00:00
Eike Ziller
e3acf9262b Make categorized product/example view reusable
Extract a SectionedGridView from the SectionedProducts that are used in
the MarketPlace plugin, and make item delegate and pixmap fetching
function to be used with the model(s) pluggable.

Change-Id: I02aba87b27afd8ad18ff23346d1ac98da906db4b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 10:16:31 +00:00
Alessandro Portale
6d79c5c2b3 Android: Remove "ndkPath" entry from sdk_definitions.json
Since a long while, an ndk within an Android SDK installation resides
under a subdirectory "ndk/<ndkversion>". The "ndk_path" entry in
sdk_definitions.json is therefore redundant, since the ndk version is
already present.

Qt 6.5+ will provide the ndk version number (see QTCREATORBUG-28629),
without such ndk_path, and therefore it is helpful to contruct the ndk
subpath directly from that version number. For all Qt versions.

This change removes the "ndkPath" entry and the code that handles it.

Task-number: QTCREATORBUG-28629
Change-Id: I5a8f204f87a53a610dbeb9d4c39633582ef209c1
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-01-18 10:11:48 +00:00
hjk
4f138c1a21 Boot2Qt: Code cosmetics
Avoid a macro.

Change-Id: I58703581727656a16d5dd6f99ee2ce9413863e9e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-01-18 09:46:47 +00:00
hjk
bb6764d065 Boot2Qt: Use dedicated classes for run worker factories
Change-Id: Ibe060ab15e57014866e8fa1311c1441238f81c7e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 09:39:13 +00:00
Eike Ziller
561b815d7b Merge remote-tracking branch 'origin/9.0'
Change-Id: I73396bcd07852ff5e01d73b06ebd64ab6af802e5
2023-01-18 10:02:35 +01:00
Mats Honkamaa
2225044dd3 Doc: Add topic on how to create web app navigation
Docs available as PDF in ticket QDS-8721 for easier reviweing.

Task-number: QDS-8477
Change-Id: If15defc67a42a79d5f9e02fe7eb6aa8921277dde
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-01-18 08:50:54 +00:00
Eike Ziller
aff6c4b2d2 Welcome: Remove requirement for subclassing ListModel
By using aggregation for the pixmap fetching.

Change-Id: I6647cc6fa7995581c692050af32e41ba9aa86491
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-01-18 08:42:16 +00:00
Marcus Tillmanns
ab9935af73 ClangTools: Fix warning
Change-Id: Ic02ff5905988f289fb16c53de9aaeed3dbd25376
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-01-18 08:42:15 +00:00
Orgad Shaneh
da31e72605 Subversion: Fix unused argument warning
Amends 87e5ac7438.

Change-Id: If4b8d631a5388d98f482097b20169e2200f7675a
Reviewed-by: hjk <hjk@qt.io>
2023-01-18 08:12:28 +00:00
Marcus Tillmanns
b5df17cee3 Utils: Use ReadWriteLock
Changes usage of QMutex to QReadWriteLock since the cache is read
more often than written.

Change-Id: Ifb29de6c14fecea373bfcb7c92eb6e3450a61811
Reviewed-by: hjk <hjk@qt.io>
2023-01-18 08:05:37 +00:00
Christian Stenger
3e14368d29 Debugger: Adapt to change in FilePath
Change-Id: I947f7c22bd59e445c94784fc50f29f6b571aad5a
Reviewed-by: hjk <hjk@qt.io>
2023-01-18 07:59:03 +00:00
Christian Stenger
b9aac89961 BareMetal: Adapt to change in FilePath
Change-Id: I4766ccd8fc7121af1045d2fc7d2e730da0a9d44b
Reviewed-by: hjk <hjk@qt.io>
2023-01-18 07:56:41 +00:00
hjk
17b20e0622 TextEditor: Tr::tr
Change-Id: I28aa68e25c53c3a4d1c370074d7b3318944dc45a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-01-18 07:02:12 +00:00
Orgad Shaneh
87e5ac7438 Subversion: Mask credentials in command line everywhere
Fixes: QTCREATORBUG-28413
Change-Id: I763c26944d89a8dcc7151e10b8eed5d9642fb982
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-01-17 16:51:44 +00:00
Mahmoud Badri
e18689791d QmlDesigner: Fix removing the last material of an model
Fixes: QDS-8119
Change-Id: I09da3a9a9297556170f2865001435badf47b9905
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-17 16:51:27 +00:00
Alessandro Portale
edd3c16382 Core: Remove duplicate translations in qtcreator_ja.ts
Amends: dca4984232b89a79c258dd250657b3826da23881

Change-Id: I8f057fc43acbb26481a10b4754deef7c67dddc69
Reviewed-by: hjk <hjk@qt.io>
2023-01-17 16:24:02 +00:00
Christian Kandeler
8d190acde9 Core: Fix include
Change-Id: I1c7290c5e489e6c26c11a08519622f16121478fd
Reviewed-by: hjk <hjk@qt.io>
2023-01-17 15:34:54 +00:00
hjk
91696f8bf3 Perforce: Tr::tr
Change-Id: Id8f4d5fbd3f20ec750bbfbbac2662e5b3a79ecd3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-01-17 15:29:35 +00:00
Tasuku Suzuki
ae59898aad CMakeProjectManager: Override 'Open Terminal' func to open build dir
88eda2322b did it for BuildEnvironmentWidget

Change-Id: I708dc8756564fb6aef85421e2e4663a29a7ffdd6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-01-17 15:28:45 +00:00
Alessandro Portale
0a67f912eb Fully qualify Tr::tr calls for the cases where lupdate needs this
Change-Id: Icc5757376b028d9e5602751d9d8ea0a850970ebb
Reviewed-by: hjk <hjk@qt.io>
2023-01-17 15:24:23 +00:00
hjk
015b1ee53c Core: Tr::tr
Change-Id: I0064814b0689f0f65072d2b0f60e26162587fd54
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-01-17 14:34:16 +00:00
Pranta Dastider
a508b70ddd QmlDesigner: Update Tooltips for ItemPane Section
This patch update tooltip text for Visibility/ItemPane Section fields
in Property editor.

Fixes: QDS-8723
Change-Id: I8bbd1ceae548b6b1f0387a7cb6e2e429a689b946
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-17 14:32:24 +00:00
Pranta Dastider
2c02e189fd QmlDesigner: Update Tooltips for Image Section
This patch update tooltip text for Image Section fields
in Property editor.

Fixes: QDS-8804
Change-Id: I5c1b1a032dfbd337e53851a8ac8fdc71c9d1555c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-01-17 14:32:18 +00:00
Christian Stenger
8f8150db2d Squish: Add common start function to process base
Starting the process is similar for the tools, so extract it
to the base class.
Make it virtual to let the tools still be able to re-init internal
members.
Slightly changes the startup of the server as the Started state
was emitted later manually after the port in use had been known.

Change-Id: Iea88ce88e8a12a7723460adaa25f7b9a5cd9a2b8
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-01-17 14:30:26 +00:00
Christian Stenger
01f85a1e1e Squish: Make static helper to member functions
Change-Id: Id9e67ba58ecaad2d4a9f907cc598930908c5b117
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-01-17 14:30:15 +00:00
Christian Stenger
3d7baa65f9 Squish: Separate server handling
Change-Id: Ibcafe31bc8fd7dfaea165b95ed8898a7bff69d21
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-01-17 14:30:03 +00:00
Christian Stenger
bef44699a3 Squish: Integrate query handling into common state handling
Change-Id: I5c4bef992292d2195b557a61b9a648a39843ae2b
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-01-17 14:29:50 +00:00
Christian Stenger
ee24d1264b Squish: Do not queue xml handling
Avoid ignoring short results when running multiple
test cases.

Change-Id: I4ba399893c92d49445bed48755c40cabf535e4b5
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-01-17 14:29:39 +00:00
Christian Stenger
46d13932e3 Squish: Add lost status text
Change-Id: I776ff5ae131596afc2d46caff2045bbf4d2c995c
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-01-17 14:29:29 +00:00