Commit Graph

71185 Commits

Author SHA1 Message Date
Jarek Kobus
e3acfcbe60 Remove unneeded includes of ApplicationLauncher
Touching applicationlauncher.h caused recompilation of 455 files.
This reduces it now to 250 files.

Change-Id: I4f347d67695db40ea139faf7d36cfe02f1c32258
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-10 08:27:32 +00:00
hjk
652b9844e6 Utils: FilePathify Environment::{ap,pre}pendOrSetPath etc
Change-Id: Idfa5ec247337570936b0236cab9d3a5669792ca0
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-11-10 07:26:31 +00:00
Jarek Kobus
d14e68eac2 Uniform ApplicationLauncher API: get rid of remoteStderr/out()
Use existing appendMessage() for this purpose either with
StdErrFormat for remoteStderr() or with StdOutFormat for remoteStdout().
In case when device process is used in ApplicationLauncher
no appendMessage() was emitted so far with StdErrFormat or StdOutFormat.

Change-Id: I2f6603aaf28113fea2a8bb6bd1738320cc39be75
Reviewed-by: hjk <hjk@qt.io>
2021-11-09 16:46:40 +00:00
Jarek Kobus
9739ded573 Uniform ApplicationLauncher API: get rid of reportProgress()
Use existing appendMessage() for this purpose with NormalMessageFormat.
In case when device process is used in ApplicationLauncher
no appendMessage() was emitted so far.

Change-Id: I96041ad19fe16066ea31d92f52253e0aa864f96d
Reviewed-by: hjk <hjk@qt.io>
2021-11-09 15:21:34 +00:00
Assam Boudjelthia
9a859de175 Android: fix error message when no valid device is set
Change-Id: Iff48a94100490222e039355c4e7558f1d79dc7b0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-09 13:33:34 +00:00
Jarek Kobus
26114f6736 Use QtcProcess in NimSuggestServer
Change-Id: If4e67a06cfb44c4ae94a78930745d29fb2330b9a
Reviewed-by: hjk <hjk@qt.io>
2021-11-09 09:44:12 +00:00
Topi Reinio
1c729b931f Doc: Qt Design Studio: Fix missing search results page in online builds
The qt-html-templates-online include adds a source for the results page,
but because it was included before the main project .qdocconf, the latter
overrode this setting.

Pick-to: 6.0
Change-Id: I10d9491aa481eec958bdb8744e1c0bbd36e4763c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2021-11-08 14:42:21 +00:00
Jarek Kobus
17fbbf7cb9 Use QtcProcess in startAvdAsync()
Change-Id: I47d6522f944ffe95a047e22971e94bba4fc93e2a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-08 12:27:53 +00:00
Jarek Kobus
50272f21f1 Use QtcProcess in ClearCaseSync
Get rid of code repetition by making runProcess() a common method.

Change-Id: If0b47fba4351119e7373caa250131891b9bb403d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2021-11-08 12:22:22 +00:00
Eike Ziller
3b9b9bdc0b Merge remote-tracking branch 'origin/6.0'
Change-Id: Ia7fc255ee8680e6beac5d4d878f446fe40873183
2021-11-08 09:46:57 +01:00
David Schulz
e0c115fb9b Editor: Allow creating block selections with alt+shift again
These block selections are a convenience for people used to the block
selection allowing to also unselect parts again (at least as long as
alt+shift is pressed).

Fixes: QTCREATORBUG-26535
Fixes: QTCREATORBUG-26529
Change-Id: I19558dc1d823c268cc1cfda0ea8151bac483701f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2021-11-08 08:35:38 +00:00
Eike Ziller
af7d9d6f8e Merge remote-tracking branch 'origin/5.0' into 6.0
Change-Id: I27fa20e040003188aec3e60c607dd0758c6906cd
2021-11-08 09:34:26 +01:00
hjk
a98f5de6c1 Debugger: Fix LLDB/Python startup for Android
Uses the right python version and connects. but the device
side keeps saying "Waiting for Debugger".

Change-Id: I0bc9dadfa9e12831006cd486984bc29e197d7fbd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-11-08 08:18:46 +00:00
Christian Stenger
f686bce68f QmlJS: Soften strict equality check Pt II
Disable strict equality check for undefined values as there
are too many ways the code model just assumes "undefined" as
the information would be present at runtime only or to avoid
too complex evaluation.

Task-number: QTCREATORBUG-25917
Change-Id: I7c6da04f52ba767c4ef5c21078dc14ac4de86687
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-11-08 08:04:42 +00:00
Jarek Kobus
0830e50185 Fix "forever" timeout in QtcProcess::waitFor... methods
Change-Id: I57aac503599fa94f530e073164b86b5247702ce5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-05 17:46:56 +00:00
Assam Boudjelthia
12ccd9ec54 Andriod: declare QLatin1String as char[] instead in AndroidManger
Change-Id: I4f11950dcdfa0caddf02bf2b123ff78a9c01c062
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 14:16:03 +00:00
Ivan Komissarov
a17170d027 Update Qbs submodule to the top of 1.21 branch
Change-Id: I12cd44b90e5418cca88b5a267c740b26e4496f1d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-11-05 13:56:00 +00:00
Thomas Hartmann
525d70647c QmlDesigner: Update documentation for arc
Change-Id: Ic039b97041745671697206165276ec94d6a69968
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-11-05 13:05:28 +00:00
Miikka Heikkinen
590d01e8a9 QmlDesigner: Block modifying imports when editing in-file subcomponent
Adding import statements fails silently when editing in-file
subcomponent, and removing them can crash creator, so block various
cases in component library, navigator, and 3D edit view that do this.

Fixes: QDS-5353
Change-Id: Ide5429cd97d2bf78f884b14e83cdffd10399f929
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-11-05 12:44:21 +00:00
Piotr Mikolajczyk
78552e5848 Fix to qmlpreview failing to upload files
Return to correct function call order when preparing
and uploading data to the device.

Pick-to: 6.0
Change-Id: Id4c56eda385964bc97b7d866bc6d76cf854feca2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-05 12:07:56 +00:00
Jarek Kobus
b729a6cee2 Use QtcProcess in createAvdCommand()
Change-Id: Ic90bb732814de11dbb17d43649f464fabd671d21
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-05 11:36:15 +00:00
Tomi Korpipaa
69c8be67ae Add particle editor support
Add a way to edit and view particles visually, as editing
only the properties in property editor does not help visualize
how the particle effect is going to look. Support toggling the
effects on/off, pausing, resuming, and scrubbing the time back
and forth. Only the selected particle system is animated to allow
concentrating on that particular system without being confused
by other possible particle systems.

Fixes: QDS-4623
Change-Id: I2677c56a73279d451d77df1d131bd7294e6b23bb
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-11-05 11:31:31 +00:00
Knud Dollereder
b6c8871dbd Fix formeditor zoom shortcuts
The shortcuts of the formeditor related to zoom did not work
on macOs since they where specified in a wrong manner.
Zoom in/out are now specified in terms of QKeySequence::StandardKey.
Zoom all/selection are now specified in terms of strings.

Change-Id: I7a779b81a9464eea59a8443cd5d5e6cec3316fd6
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-11-05 11:01:33 +00:00
Jarek Kobus
a5318cba79 Use QtcProcess in SshConnection::connectionInfo()
Change-Id: Ibc0966ee43266d5d0f5f4f71274f11a4150eab3b
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-11-05 10:39:09 +00:00
David Schulz
fe9e8417f2 Editor: Fix drop location marker
Change-Id: Id63ff9e8089fd8aaf38fb61ff6d79384a60135d7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-11-05 10:34:43 +00:00
David Schulz
e96c664fce Editor: Fix drop position of drag and drop operation
Change-Id: I6649b0506e06bccb681c66afc91ad85f763206c4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2021-11-05 10:34:38 +00:00
Jarek Kobus
19205e10af Use QtcProcess in NimToolChain
Change-Id: If45fe607cb17387692f9350166d1382090a9a50a
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 10:27:18 +00:00
hjk
a7c8c97a68 Android: FilePathify part of debugger abi detection
Change-Id: I3abbc780c1e1301db4c6d367dcdf1dcf8cbf556d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-05 10:26:52 +00:00
Leena Miettinen
b19f236c24 Doc: Describe new Project and File System menu commands
- Show some accidentally hidden information in Qt Creator
  Manual

Task-number: QTCREATORBUG-26278
Change-Id: Ia611633d52e4b012a40d7be548313e62f8ce3683
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-05 10:01:30 +00:00
Leena Miettinen
61c8895da3 Doc: Describe new search options
Update screenshots.

Task-number: QTCREATORBUG-26278
Change-Id: I6db12622fc207a6ed6d61da4f27f6ba469d6d307
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-05 10:00:57 +00:00
Miikka Heikkinen
39374307f1 QmlDesigner: Hide items with non-2D Item parents on form editor
Items that do not have 2D Item parent, such as 2D items embedded into
a 3D scene should not have form editor items created for them.

Fixes: QDS-5356
Change-Id: I11e38c99718977dcb94152925fcdf2d2caf57c9d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-05 09:55:30 +00:00
Thomas Hartmann
14effaf9cb Allow clearing the wizards path
The QmlDesigner now depends on the CppEditor plugin
and the CppEditor plugin enables most of the C++
related wizards.

The easiest solution is to simply clear the wizard
paths before setting the QDS specific path.

Change-Id: I7ee6c84693053e6ad32ec28a6cf262dee615992f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-05 09:25:49 +00:00
Jarek Kobus
18f1be58e7 Use QtcProcess for console process
Change-Id: I1510c576992ce5a28f42cf3c7e1a7333ae7981ac
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 09:23:54 +00:00
Alessandro Portale
ae8db2d55a QmlDesigner: Fix build if Qt::Svg is not installed
Make presence of the Qt::Svg target a condition for building
QmlDesigner.

Fixes CMake Error at cmake/QtCreatorAPI.cmake:442 (add_library):
  Target "QmlDesigner" links to target "Qt5::Svg" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/plugins/qmldesigner/CMakeLists.txt:6 (add_qtc_plugin)

Amends: 14c4f257fe

Change-Id: Iea2f75e72e5d8f8460b3ee9957ffcf54471e029c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-05 09:23:50 +00:00
Jarek Kobus
6a51277f61 Use QtcProcess in CppcheckRunner
Change-Id: I0b5f9956a20673acb44903b2e35564a8862810ae
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 09:23:46 +00:00
Eike Ziller
b7853efaf3 Re-enable QWebEngine help viewer backend for Qt 6.2
Fixes: QTCREATORBUG-26380
Change-Id: I8aa31bebd5a8a20f664a17bca2f657fcfac4b1f5
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-11-05 09:10:15 +00:00
Joerg Kreuzberger
efdaeaba43 Add option to build QtCreator with sanitizer
Fixes: QTCREATORBUG-26318
Change-Id: I44589b5bb39958eda2329b444e4857e8f61823bf
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-05 09:03:41 +00:00
Jarek Kobus
9e8b838080 Use QtcProcess for ssh key gen
Change-Id: I5a1ddf7f6773467c57571fe385fc1969e347c582
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 08:50:26 +00:00
Christian Stenger
083c8029b0 QmlDesigner: Fix compile for Qt5
Amends 533ed33706.

Change-Id: Ib5471918400bff62792d8fe8a0eaaffa6e8e68e8
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 08:46:39 +00:00
Jarek Kobus
a50c5db110 Use QtcProcess in getJdkPath()
Change-Id: I46544c1e0f811476a7e743a3085083ba204dc14b
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 08:44:49 +00:00
Alessandro Portale
fd1b41af9d Android: Enable locating NDK's lldb-server on Windows hosts
For Windows, lldb-server on the local file system is not a
QDir::Executable, but just a QDir::Files.

Task-number: QTCREATORBUG-26281
Change-Id: I4eb91ad9bce62401a945c46a1d2f94b654f9eaa2
Reviewed-by: hjk <hjk@qt.io>
2021-11-05 08:05:45 +00:00
Henning Gruendl
02b8bb3ac4 QmlDesigner: Add wizard font icons
Task-number: QDS-5284
Change-Id: Ifb1e4128d4ae74396a35566bae2c43017c4e1f34
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-04 19:46:22 +00:00
Tuomo Pelkonen
48c30ed76c QmlProject: set project languages from application side
Even though this does not save the project languages
to the .qmlproject file, this is needed for the languages
to be synced during runtime. Saving the changes to the
.qmlproject file is done in multilanguage-plugin itself.

Change-Id: I771a2e68c3e776422e52d40f4b8526c9ae4e84c4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2021-11-04 17:30:19 +00:00
Cristian Adam
06410dcb80 CMakePM: Fix importing of Qt projects
Amends ca04d9afcd

Fixes: QTCREATORBUG-25767
Change-Id: I099662a52bbae40541698edb80ba0576eda70884
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-04 17:26:49 +00:00
Jarek Kobus
f15e5e020a Use QtcProcess in run_meson()
Change-Id: Ib86940984d00de429a6ab138ee767155409f968f
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-11-04 16:36:21 +00:00
Eike Ziller
e95968a206 Update qlitehtml to latest master
Get latest fixes in qlitehtml and litehtml

Change-Id: Iea46961014bf899bccc71a8cd9360ad6d6743817
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2021-11-04 15:38:49 +00:00
Tapani Mattila
533ed33706 CMake file generation: Dialog for deselecting generated files
Task-number: QDS-5331
Change-Id: Ib1470069ab444dfd792e40fadc338d6452b727ca
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-11-04 15:24:16 +00:00
Leena Miettinen
cf72b0064e Doc: Describe clangd support and configuration
Task-number: QTCREATORBUG-26514
Change-Id: I709fb009763fa577ce3887d2107f23dc1daf17eb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-11-04 15:13:48 +00:00
Alessandro Portale
d4efd4a369 Android: Improve prior commit
Actually use the version variable that was defined prior to the line.

Amends: 0de09fe3a3

Change-Id: Ie05e1a4e1be0fa0729dd1de38fc6b5351d02d380
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2021-11-04 14:53:26 +00:00
Thomas Hartmann
a8938f8916 QmlDesigner: Improve icons for layouts and positioners
Task-number: QDS-4287
Change-Id: I8e8cd98cdcb335177b72a28f12c121a3bb591f77
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-11-04 14:47:42 +00:00