Commit Graph

66382 Commits

Author SHA1 Message Date
Leena Miettinen
ad912f66a6 Doc: Describe auto-completion in C++ class wizard template
Task-number: QTCREATORBUG-24529
Change-Id: I007c2a1f13041ddb95c98086f257afa4fa9e9b1b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-08 06:52:49 +00:00
Leena Miettinen
4c76553273 Doc: Update info about default help viewer backend
It is now litehtml. Update screenshots to show the help using
the litehtml backend and to use the Design Dark theme.

Task-number: QTCREATORBUG-24529
Change-Id: I7e230e7e0a154161f525ba37d0965ac1c50d2ea6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-08 06:52:39 +00:00
hjk
35932385bc FakeVim: Allow AltGr as modifier to produce normal key values
Task-number: QTCREATORBUG-24673
Change-Id: I6d1aa5badd3077f0885d5b2470527c006096809d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-08 06:24:46 +00:00
Tim Jenssen
bfc04ed53d qmlpreview: enable adding multiple testlanguages
Task-number: QDS-2531
Change-Id: I558f6d1040148ff4a392f5c5cfc6af4da54fef70
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-10-07 14:55:31 +00:00
Tim Jenssen
9dda8af0b0 qmlprieview: fix that init language is the chosen one
* removes language feature from preview service
* it is handled by an extra DebugTranslationService until now
* Qt versions without that extra service can not preview
  languages anymore
* Introduce the use of QmlPreviewRunnerSetting. It makes it
  easier to add more properties in the future
* Language needs an extra handling because it needs
  the loadUrl to find existing languages. So we save
  the language to a m_scheduledInitLanguage and emit
  this after the loadFile call happend.

Change-Id: I7f4aec97f7b61d6b290f225282169da594eb9160
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-10-07 14:55:17 +00:00
Christian Kandeler
92cce87433 Unit test: Fix qbs build
The CLANG_UNIT_TEST macro was set unconditionally.

Change-Id: I1a8f16e2e295bda46fc60aab342a74f9675100cc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-07 14:48:34 +00:00
Leena Miettinen
1fcac114a3 Doc: Describe new refactoring actions (quick fixes)
Fix capitalization of action names.

Task-number: QTCREATORBUG-24529
Change-Id: I021717bbae237dd293bdbd56d5e10407ee12f224
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-07 12:54:25 +00:00
Robert Loehning
38efee1598 Squish: Update __getSupportedPlatforms__()
Change-Id: Ia9840c74528c8fb435099ccdffb2f6f1b06b7e77
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-07 12:48:40 +00:00
Christian Stenger
05254bef15 Tests: Ensure valid project file
Change-Id: Iad22782fee5b330d145ab456c38ff0b9363f0fd2
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-07 12:42:22 +00:00
Christian Stenger
9dbda24bca Dumper: Fix displaying intrinsic types in cdb
Change-Id: Id0089017912a8d5de0f822fed56231f291859bed
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-07 12:42:17 +00:00
David Schulz
73725f409a Debugger: set utf8_source qmake config value for cdb
fixes cbor test and simplifies char array test

Change-Id: I035e393e0e09dc8a16e27dd400a7557d3cf3a006
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-07 12:42:12 +00:00
Cristian Adam
2129a04c5d CMake Build: Fix MSVC PCH build
Ammends 735078cd80

Change-Id: I01296641ca0681d4fef376087368e247dce011f8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-10-07 11:52:00 +00:00
hjk
54417569a9 ProjectExplorer: Documentation for some run configuration aspects
Change-Id: I27568facbe0fa992b33c9d3b5b2588b486a85c63
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-07 11:50:28 +00:00
hjk
3d308d7195 ProjectExplorer: Simplify BuildStepWidget updating
Change-Id: I189ca0aa3b88227feae881df026f8578079e1c55
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-07 11:50:05 +00:00
Alessandro Portale
323f353c6c Android: Replace AVD partition-size spinbox with emulator args input
The android emulator supports many more command-line startup options
than "-partition-size". Let's allow the user to take advantage of the
full functionalty, by providing a free-text input field for the options.

A link to the online documentation is also provided.

As a side-effect, the issue that an overridden parition size can cause
the "Cold Boot: different AVD configuration" warning is solved by not
having -partition-size by default.

Task-number: QTCREATORBUG-24735
Change-Id: I41d7b826133708c7ff447c1e257f62368745dea1
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2020-10-07 11:25:28 +00:00
hjk
45ca2e2924 Debugger: Simplify QString dumper test
Change-Id: I53267960155055219c7396eeaee0312602f7011d
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-07 09:05:55 +00:00
Christian Stenger
ac0ae2f1eb AutoTest: Fix summary part III
Amends 479f6c8.

Change-Id: I3bd7a789eef8d53610f87ccaafa43c921ff1e23f
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-07 08:44:55 +00:00
Cristian Adam
7ffbfa817e GitHub Actions: Make use of GitHub Environment Variables
See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Change-Id: I520da0751fbf4a6b0db7df68696ed72190093803
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-07 08:03:06 +00:00
Alessandro Portale
30e696218d Utils: Turn the multicolored download icon into a mono-colored one
No need to stand out. The arrow does not necessarily have to be green.

Change-Id: Ie3ae0cf1f8cef92f9c28b71ac1ed453d0e0c6f61
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-10-07 07:07:03 +00:00
Leena Miettinen
b42c0f74f9 Doc: Describe "Ask for confirmation before exiting" option
Update screenshot of the Environment > System tab that
contains the new option.

Task-number: QTCREATORBUG-24529
Change-Id: Ia8a3f048ee492b2a5d37138b2d82638b5bf91c6f
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-07 06:52:28 +00:00
Leena Miettinen
0368b02559 Doc: Remove outdated info about default encoding
The Default encoding field now seems to correctly display
UTF-8.

Added a screenshot.

Task-number: QTCREATORBUG-24529
Change-Id: I2d7b240f9862afeb05c1ac359efe262206569235
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-07 06:52:09 +00:00
Martin Kampas
790a8bc78d SSH: Help preventing "Too many authentication failures" errors
When an ssh-agent offers many different identities, the maximum
authentication attempts the server permits may be exceeded, resulting in
the above error. With IdentitiesOnly enabled, just the explicitly
specified identities will be used.

Change-Id: Ic10d7032893a38c608989f957b5e91b7dc15c24c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-07 04:45:21 +00:00
hjk
cc5ac00d19 ProjectExplorer: Make ArgumentsAspect's label text configurable
To be used in QmakeStep.

Change-Id: I5cc95de6b54c40a5dcc5f92768455a69a1d2869c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-06 15:26:51 +00:00
Thomas Hartmann
ebb4755753 QmlDesigner: Add customComponentSource to ItemLibraryEntry
Change-Id: Ief7555b321ae3bdc790b2e747d367347031a4a56
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-10-06 15:19:53 +00:00
Aleksei German
00c07ca53e QmlDesigner: MCU configurations metadata
-Removed c++ hardcoded info about QDS MCU restrictions
 -Instead replaced it with dynamically loaded qml files
 -Replaced QLists with QSet/QHash to improve performance

Task: QDS-2794

Change-Id: Ifc23d1299155001b6573dc0ed789dda5d2cfaf24
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-10-06 14:10:04 +00:00
hjk
ab76991286 QmakeProjectManager: Use LayoutBuilder for QmakeStep config widget
Towards aspectification.

This intentionally also removes the extra inner margin in the
widget as a side effect, increasing the similiarity with other
step widgets.

Change-Id: Ic315369479275a317441ff2c5abbec53695102f2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-06 12:59:26 +00:00
Eike Ziller
7c93f25ae9 CMake build: Fix issues with exported targets
Remove unneeded and wrong include paths which ended up as invalid
include paths in the exported QtCreatorTargets.cmake.

Add missing sqlite header.

Change-Id: Icce60037160ff06b032a03df47e6834422f86f57
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-10-06 11:08:59 +00:00
Eike Ziller
735078cd80 CMake build: Create shared lib for shared part of qmlpuppet
Which is used by external plugins.

Change-Id: I2d700c02ff3d4b2d692486bd64ef16449deffc4e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-10-06 10:16:55 +00:00
Eike Ziller
c3d461d494 CMake build: Add missing PROPERTIES to add_qtc_plugin
And use it for QmlDesigner

Change-Id: Id7221ee2288159ff2faaf4ac483570034927f1b4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-10-06 10:16:39 +00:00
The Qt Project
6335e1ce5d Merge "Merge remote-tracking branch 'origin/master' into 4.14" into 4.14 2020-10-06 08:27:11 +00:00
Eike Ziller
79f3b9f4f9 Add changes file for 4.14.0
Change-Id: I9ccf0134cf002d563c5b410005cfce058ef16614
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-06 08:25:18 +00:00
Eike Ziller
d323eeec52 Merge remote-tracking branch 'origin/master' into 4.14
Change-Id: I4b37b89cc1dd2c53217579ea554af0fb7994fa7e
2020-10-06 10:24:41 +02:00
hjk
a99127d73b QMakeProjectManager: Do not ask to rebuild too often
Due to the incomplete aspectification here, some of the connections
are set up in createConfigWidget(). Config widgets are created
and destroyed when the build configuration changes, and connections
that did not directly depend on the widget or subwidgets accumulated.

Use the the created widget as guard object to ensure connections
live only as long as the widget.

Task-number: QTCREATORBUG-24725
Change-Id: I4581f98e684ac92fd43ceba598d391c4dc8dbebe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-06 08:21:00 +00:00
hjk
2ecb7ceb06 Utils: Do not emit SelectionAspect::changed if nothing changed
Change-Id: Iac2e19d1a093f650ecde6fa9cfdec4714a8e9db4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-06 08:14:38 +00:00
hjk
97c6c13dcb ProjectExplorer: Remove BuildStepConfigWidget
After the previous changes it was only an empty wrapper around QWidget.

Change-Id: I58dcd82d8342c7de5e2df537044f6cf3de878a67
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-06 08:06:39 +00:00
Eike Ziller
2092ebd074 Merge remote-tracking branch 'origin/4.14' into master
Change-Id: I4ea98cc1c14808afe44030a057f9ff289a57ccfe
2020-10-06 10:05:47 +02:00
David Schulz
3c281aa483 Editor: Select moved text after drag and drop
Fixes: QTCREATORBUG-24245
Change-Id: I9da52424128825f729d5d20e2c7fd095120477c6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-06 07:54:27 +00:00
The Qt Project
ab9efa7ec3 Merge "Merge remote-tracking branch 'origin/4.13' into 4.14" into 4.14 2020-10-06 07:50:30 +00:00
Christian Kandeler
90c757d9cc ProjectExplorer: Make build and run widget width persistent
... by storing the splitter state in the session.

Task-number: QTCREATORBUG-24690
Change-Id: Ifd27382cc61825f96de4fa5d4691b4f615448182
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-06 07:50:28 +00:00
Eike Ziller
87ad222cb6 Merge remote-tracking branch 'origin/4.13' into 4.14
Change-Id: I3b48c76bbb456c487cec33383e7332b6a0a6752a
2020-10-06 09:49:57 +02:00
hjk
f08c3d150a Debugger: Fix parsing of octal-encoded gdb escapes
Fixes: QTCREATORBUG-24462
Change-Id: I89153a04eeef6a2e20fefef45e0efa3712ec0997
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-06 07:01:04 +00:00
Eike Ziller
430a9a03b7 Utils: Add workaround for sdktool
Which is compiled against an older Qt version to keep it more
compatible.

Change-Id: Ifee61a524055ca383c83da9f237e50536a3fd0cb
Reviewed-by: hjk <hjk@qt.io>
2020-10-06 06:14:53 +00:00
Christian Stenger
33c3fe2c67 Designer: Fix test
Amends 142c47bdc2.

Change-Id: I30ff356687d4daef93d35744fd8c108eafed0c68
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-06 04:03:47 +00:00
Assam Boudjelthia
ee3a0ecb75 Android: add qmake variables to completion assistant
Add Android specific qmake variables to profile completion
assistant.

Change-Id: I1c4c25bfa7481fed511f48360e93fb5996b42401
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-10-05 19:37:17 +00:00
Thomas Hartmann
3e4cb2ba2f QmlDesigner: Show selection in DebugView
Change-Id: Ica85a227e6976464480a3b3dd91d4d42f1ed1528
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-10-05 17:27:52 +00:00
Thomas Hartmann
b9cc9c9bfa QmlDesigner: Fix crash
We have to check if the view is actually detached.

Change-Id: I160c1a15f921092ef66999ed6a27ffcdbbe205d9
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-10-05 17:27:45 +00:00
hjk
b2b35eeddc ProjectExplorer: ProcessParameters code cosmetics
Change-Id: I050cb30222642911b582b9936186719cb4f09fa1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-05 15:04:23 +00:00
hjk
ee5feb4939 Conan: Use Utils::Aspects in build step implementation
Task-number: QTCREATORBUG-21785
Change-Id: I5b2dbcc16a2504efe9fdc9e31fa2ef14bba7c33c
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2020-10-05 14:36:55 +00:00
Thomas Hartmann
a53238e91c QmlDesigner.qml2puppet: Fix build with Qt6
Change-Id: If02714c44946d0a87a28c2ed505f860a593aef79
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2020-10-05 13:49:46 +00:00
Thomas Hartmann
469e7a7edf QmlDesigner.qml2puppet: Fix build with Qt6
Change-Id: Ib9580fa1b6c1699e830898234b286f3ee999d477
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2020-10-05 13:49:24 +00:00