hjk
f2783901d0
Android: Avoid QFileInfo use in createandroidmanifestwizard.cpp
...
Change-Id: Iedbb2b403f00c7fe21bf81f89366bb62c71dcf01
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-09-28 07:01:38 +00:00
hjk
5eae2a2c42
Android: Clean up javaeditor a bit
...
Change-Id: I600916ecb1f851c52efa742022e0cab3c23cabd6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-09-28 07:01:25 +00:00
hjk
4a5c3d871d
Android: Clean up JavaParser a bit
...
Change-Id: I8d5113c7916f816d34a1eacc0b978645d710b2be
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-09-28 06:11:08 +00:00
hjk
52e8b83bd5
Android: Code cosmetics in ToolChain
...
Avoid a global static that doesn't buy much; some namespace changes.
Change-Id: I80d0f5c0e6c7a77e91930ec198c39080b6c7404a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-09-28 06:10:48 +00:00
hjk
6ff6fe3b0e
VcsBase: Remove Q_PROPERTY definitions
...
The initial intention was to make these widgets usable from Designer.
We don't expect a lot of new uses in this direction, and clazy
seems to warn about not-so-complete Q_PROPERTY definitions:
Link https://github.com/KDE/clazy/blob/master/docs/checks/README-qproperty-without-notify.md
Change-Id: I4a2e9ff6ec7ecfd989196801c789533b4c44e8af
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2022-09-28 06:00:31 +00:00
hjk
957a26d379
ClangTools: Inline runsettingswidget.ui
...
Change-Id: I696ccf0103784e638a3a8cc4a49390f569d9439d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-09-27 16:32:24 +00:00
hjk
3fdc5ca61f
ClangTools: Inline settingswidget.ui
...
Change-Id: Iab93fe772a2f851a2008133ad8f7aae974e6881e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-09-27 16:06:02 +00:00
hjk
b72ae58629
ClangTools: Inline filterdialog.ui
...
Change-Id: I6304ac50b34e43ab4b5c26b7dc2b7ab7f77618f7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-09-27 15:28:15 +00:00
Alessandro Portale
c06fab97f1
Wizards: Port "Code Snippet" Project Wizard to .json wizard
...
Code Snippet is the last .xml-based wizard shipped with Qt Creator.
This change ports it to the .json-based wizard format. Instead of
supporting just qmake-based projects (like it did), the new version
supports just CMake-based projects.
Change-Id: Ie64114165fff5d56ddf82041cc4d5f90c44fe77b
Reviewed-by: hjk <hjk@qt.io >
2022-09-27 14:29:05 +00:00
Eike Ziller
d51421210e
Add change log for 9.0.0
...
Change-Id: I1be9ba7f310c99112d40b19432cd0f0d216ead4d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2022-09-27 13:41:46 +00:00
Tim Jenssen
4adb4911e6
qds: fix crash when the view is gone
...
found at:
https://sentry.io/organizations/the-qt-company-00/issues/3571989716
Change-Id: I61faa33716b1f6f3e0cc04cd4871cba354ecec28
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2022-09-27 13:19:34 +00:00
Mats Honkamaa
67112a581f
Doc: Fix branding issue
...
\QC rendered as Qt Design Studio in places where it should be Qt Creator.
Task-number: QDS-7712
Change-Id: I16df93bbb7881c280e96aede32f5619d1228b8f5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
2022-09-27 11:51:56 +00:00
Christian Stenger
8085ea2c73
Squish: Fix wrong regex
...
Change-Id: I5c827403140dcbdd17287a213c55b017921ab7cf
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-09-27 11:51:12 +00:00
Eike Ziller
3ff5e461fb
Merge remote-tracking branch 'origin/9.0'
...
Change-Id: I29fcb54cb2c2e62c9b8369f18c9dc91dce240c52
2022-09-27 13:26:20 +02:00
Alessandro Portale
3984516e4b
QmakeProjectManager: inline .ui files
...
classdefinition.ui
customwidgetpluginwizardpage.ui
customwidgetwidgetswizardpage.ui
Change-Id: I7bc6596e108b47d03c48e63cde340e4db8f751d6
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-09-27 11:20:41 +00:00
The Qt Project
537b87476a
Merge "Merge remote-tracking branch 'origin/8.0' into 9.0" into 9.0
2022-09-27 11:17:58 +00:00
Thomas Hartmann
3b4b8aec4b
QmlDesigner: Adjust caption for User Added Properties
...
Section does not have a tooltip, yet.
Task-number: QDS-7765
Change-Id: I5c0254cb81094be690fc5e9a076752f95f27a482
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io >
Reviewed-by: Brook Cronin <brook.cronin@qt.io >
2022-09-27 10:23:02 +00:00
David Schulz
d143f0c2e1
Core: improve highlighting of fuzzy action matches
...
Split the highlight if it covers the border.
Change-Id: I9177abf18e988b8c2f79ab355a1f17ad3bda4286
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-09-27 10:04:01 +00:00
David Schulz
e7fb5276af
Editor: Fix reaplying display settings
...
After setting the document the display settings that are configured in a
widget might differ from the ones configured in the document. So Check
those values against the desired values from the editor and update if
they differ.
Change-Id: I30c5eddbb09803451fe03769d8e6d189293c5e86
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2022-09-27 10:03:24 +00:00
Marcus Tillmanns
5f62488761
Device: Add prepareForBuild()
...
Change-Id: I505c4e660838bc94dcdc83ba91ec225910b8f60d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io >
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-09-27 09:19:34 +00:00
hjk
e1d5e7c01f
Qmake: FilePath-ify QmakeProjectImporter
...
Change-Id: Iaf9cd8a81fc1ea84d1736384b5f6079bc18ce0bc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io >
2022-09-27 09:07:57 +00:00
Yasser Grimes
e38efabea9
McuSupport: support reading packages defaultValues depending on OS
...
default values can vary between windows and linux so when it is the
case a json object can be specified to describe the default values for
both.
Change-Id: Ifd3e4225ba0e1b1760f93ecea9cfafa4545c3404
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Piotr Mućko <piotr.mucko@qt.io >
Reviewed-by: hjk <hjk@qt.io >
2022-09-27 09:05:11 +00:00
Henning Gruendl
79994c8504
QmlDesigner: Fix gap between extended states
...
Fix the gap between more than 4 extended states in a row.
Change-Id: I9c8435de0cba74267a23a970e0967388692f5811
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2022-09-27 09:03:43 +00:00
Miikka Heikkinen
07ab73fe7f
QmlDesigner: Disable paste option for the original material
...
Fixes: QDS-7526
Change-Id: Ifdc220685a4881dc3a397d9148022b9be7b5032a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io >
2022-09-27 08:51:21 +00:00
Marcus Tillmanns
b7ac02ab90
QtVersion: Optimize qtCorePaths() method for speed
...
This fix reduces the amount of paths returned from the dirEntries
calls.
Additionally it reduces the amount of calls to FilePath::isReadableFile
which for files in e.g. a docker container is quite expensive.
Change-Id: Ie1314e7257ea870de7823a019d9561f0873e0afd
Reviewed-by: hjk <hjk@qt.io >
2022-09-27 08:44:10 +00:00
Marcus Tillmanns
e9045c4962
Debugger: Delay restoration until Devices are restored
...
Change-Id: Ib3f63e84959518cd629cb98e3e348aea50979927
Reviewed-by: hjk <hjk@qt.io >
2022-09-27 08:35:58 +00:00
Marcus Tillmanns
0f4ba36008
FSEngine: Speed optimization
...
Change-Id: I1fdb61042df47941921a8f278d0626b440084ec4
Reviewed-by: hjk <hjk@qt.io >
2022-09-27 08:35:36 +00:00
Marcus Tillmanns
5d4bbd38d4
MainWindow: Disable TrimTimer on non Linux Host
...
Timers showed up a lot during cpu profiling on macOS.
This is one of them. Since its only used on Linux,
this patch makes sure that its only started there as well.
Change-Id: I0da35473b622c92e39a7e45677441f1cd8aa3344
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2022-09-27 08:24:43 +00:00
hjk
6465415bf5
Autotest: Remove some unneeded #include
...
Change-Id: Ifa54416fc52a2a404f052d3000b9fff4ffd3f7f1
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-09-27 08:19:47 +00:00
Jarek Kobus
31339b2e0d
Compile fix
...
Amends fbbf0d9149
Change-Id: I0eeb25095ec82c77d48b5105520cd93da43208b2
Reviewed-by: hjk <hjk@qt.io >
2022-09-27 08:19:38 +00:00
Eike Ziller
7eaa36e6e5
Merge remote-tracking branch 'origin/8.0' into 9.0
...
Conflicts:
src/plugins/qmldesigner/components/materialbrowser/materialbrowserview.cpp
src/plugins/qmldesigner/designercore/imagecache/meshimagecachecollector.cpp
Change-Id: I38f196e8f42cf11f7b613e7a723745600e35c5e9
2022-09-27 10:03:37 +02:00
Christian Kandeler
70c5a7b631
ClangTools: Fix cmake project file for test project
...
It still referenced a file that was removed in
8987996500 .
Also remove unneeded CMAKE_INCLUDE_CURRENT_DIR.
Change-Id: Id7bd305849a81bd30eafbc80d27c1bc6bf848e07
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-09-27 07:57:05 +00:00
Christian Kandeler
c1e6307545
ClangCodeModel: Catch exceptions in semantic highlighter
...
I've repeatedly encountered std::bad_alloc recently, and would like to
get more info about where it is triggered. The crash comes from Qt,
apparently after the original thread has alresdy finished, so the
original location is not found in the stack trace.
Change-Id: I7bbdcce6534ea0c846a69af33ad8634c3415572d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-09-27 07:55:49 +00:00
Christian Kandeler
9db286b3d6
CppEditor: Add actions for following a symbol to its type
...
Change-Id: I0b3913993b09b006e2d0431a68e98e21e8865898
Reviewed-by: David Schulz <david.schulz@qt.io >
2022-09-27 07:55:21 +00:00
David Schulz
fbbf0d9149
LanguageClient: show only one inspector widget at a time
...
Change-Id: I72630c85e9420ae873a57919e2d5434c83a5626c
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-09-27 07:53:11 +00:00
Aleksei German
4da6686705
QmlDesigner: Add Connections Shortcuts
...
Task-number: QDS-7641
Change-Id: I1cb8f10cb675cee7dd48481cb31e4807fc592dc3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io >
2022-09-27 07:02:16 +00:00
Alessandro Portale
bbd64a2c94
Improve scripts/scrubts.py
...
List the same duplicates that lrelease shows. But better: all
occurrences with full filename:linenumber.
Change-Id: If0cf38183dbdb4118f2152e1ae86ec92bf0ae1cc
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2022-09-27 06:55:06 +00:00
hjk
cbd5e5efea
QbsPM: FilePath-ify QbsProjectImporter
...
Change-Id: Ia043dbfa9db401b5afa17f435eeaf4f4347290c2
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-09-27 06:22:23 +00:00
hjk
a098f43b6e
Squish: Suppress warnings on unused parameters
...
Amends 8cfbaa1da9 .
Change-Id: I38a7b980e177f2e97d89162480d3ddbd80c996b8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2022-09-27 06:04:44 +00:00
hjk
21c5d3499b
CMakeProjectManager: Compile fix
...
Amends bcadea228 .
Change-Id: I4f85780ffa6c7c79c70c096b457065f95e96355f
Reviewed-by: hjk <hjk@qt.io >
2022-09-26 16:15:11 +00:00
hjk
985c8b1a43
ProjectManager: Return FilePaths from ProjectImporter::importCandidates
...
Proliferates FilePath use a bit further. Actual changes to the
individual importers are left for further patches.
Change-Id: Ie7c6b2e3f4ac7d0eca6d2f56d30fb23354bb404b
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2022-09-26 16:02:55 +00:00
hjk
bcadea2285
CMake: FilePath-ify CMakeProjectImporter
...
Change-Id: Ifffd3328afae60a4015d88e36b3e60b4ee492c3b
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2022-09-26 15:16:36 +00:00
Christian Kandeler
7b9fec2aa8
Debugger: Remove CMAKE_INCLUDE_CURRENT_DIR from autotest project file
...
Not needed.
Change-Id: Ia75cd0b70f2976a03948e7d8569027f6c0242344
Reviewed-by: hjk <hjk@qt.io >
2022-09-26 15:03:44 +00:00
Christian Kandeler
787de7eede
Documentation: Remove CMAKE_INCLUDE_CURRENT_DIR from example
...
It's not needed.
Change-Id: If831963bc1b38545134254aba1b814f1d332fcdb
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-09-26 14:55:13 +00:00
hjk
f05a97fce5
Translations: Remove duplicates for "No changes to apply"
...
Amends 2d203763e8 .
Change-Id: Ifb4e18c2f8c63b264a16aa59aa588e44972b2c19
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-09-26 14:38:58 +00:00
hjk
f48a6bb826
Core: Inline finddialog.ui
...
Translations are left alone for now.
Change-Id: I8e88c33abcd8c79f158d8bdac030c68df16d462b
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-09-26 14:28:11 +00:00
hjk
2d203763e8
Core: Inline externaltoolconfig.ui
...
Also collapse Core::ExternalToolConfig and Core::Internal::ExternalToolConfig
translation contexts.
Change-Id: I5764a85d8cdb33158a8ff770d5a769a752a051af
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2022-09-26 14:10:38 +00:00
Christian Kandeler
aed001650a
Project wizards: Do not use CMAKE_INCLUDE_CURRENT_DIR
...
This is an anti-pattern that lets uneducated and/or careless developers
get away with using the wrong type of include, so we should not
encourage its use.
It's also not needed by the wizard-generated code.
Change-Id: Iae508025bcd6659ed5aeb546a3da5f8f72e75059
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-09-26 13:55:16 +00:00
hjk
eb1ad960a7
Core: Inline directoryfilter.ui
...
Change-Id: I4b9de0fb9943c4d05ffff0585d1452e472b1e0f8
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
2022-09-26 13:42:06 +00:00
Mahmoud Badri
d47e9772e0
QmlDesigner: Correct a method's camelCase naming
...
Change-Id: If9d4b750a09873fc0de8f85edcb41d220cbe5a41
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io >
2022-09-26 13:32:25 +00:00