Commit Graph

67787 Commits

Author SHA1 Message Date
Henning Gruendl
eda1439a29 QmlDesigner: Link OutputPane visible to DockWidget
Task-number: QDS-1639
Change-Id: I8f384669d402d961683e85ff237a224b6d26cf34
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-09 13:24:49 +00:00
Henning Gruendl
46481bd884 QmlDesigner: Fix GradientLine tooltip
Change-Id: I88bf3425b4ade5a80d49bb34744248431eec5128
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-09 13:24:26 +00:00
Jochen Seemann
de38285bc3 AutoTest: add support for Catch framework
This adds a basic test and test output parser for the
Catch2 test framework.

Task-number: QTCREATORBUG-19740
Done-with: Christian Stenger <christian.stenger@qt.io>
Change-Id: Ic3322905ab82f414d2a26c325e130142233f72aa
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-04-09 12:46:37 +00:00
Aleksei German
fd62e36332 QmlDesigner: RichTextEditor for Annotation
Change-Id: Ia49f9e77ef5f98aec598673a9e8c09f19205a1c8
Task: QDS-1814
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-09 12:34:49 +00:00
Tobias Hunger
13daf11d03 CMake: Simplify BuildDirParameters
Remove some useless bool, Creator would crash if that was ever set.

Change-Id: I148cad6b6139332a6010698f075b584c87dec338
Reviewed-by: hjk <hjk@qt.io>
2020-04-09 12:22:50 +00:00
Tobias Hunger
a53308cde6 CMake: Do not create .cmake directories in source dir
Only initialize the CMakeBuildSystem after the
CMakeBuildConfiguration has been fully set up. The "builddirectory"
was still pointing to the source directory, so creater configured
cmake in the source directory, leading to a useless directory being
left in the source tree that does not belong there.

Fixes: QTCREATORBUG-23816
Change-Id: I7c9b6ae1f8d999043e700cd9f2d56418c22f2abf
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-04-09 12:22:32 +00:00
Tobias Hunger
34f5e14afe CMake: Remove CBP parser that was used in tealeaf mode
Change-Id: I27be82673800be981c5f60ce0f157ae2b8cfd1e4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-09 12:22:11 +00:00
Eike Ziller
35c5c09c38 Remove unused QTC_PLUGIN_REVISION macros
These were used when the plugins were in separate repositories

Change-Id: Iba06bb1e197e96271f6157b70ffb382b016147f1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-09 11:26:51 +00:00
hjk
ed9f4be3ee RemoteLinux: Use a RemoteLinux.SupportsRSync key
... into the Device::extraData map instead of dedicated accessors.

This weakens the compile time dependencies of the RSyncBuildStep,
LinuxDevice, and GenericLinuxDeviceTester at the price of weaker,
local typesafety for one bool value.

Potentially this could go into the direction of re-using bits
of "device feature" discovery and use. Nothing planned, though.

Change-Id: I9aa6dce8066b82d344f64f38707f17416e273957
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-09 11:19:36 +00:00
Eike Ziller
d347aa4003 CMake build: Support QTC_PLUGIN_REVISION
Change-Id: Icc3735b9b7d0d1fa8a9e8695da3cb39275b96219
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-04-09 10:22:52 +00:00
Eike Ziller
c1c2af670c Fix signing/notarization for QtScript, QML, and opening Terminals
The former two require privileges for executable memory/jit, the latter
uses AppleScript.

Fixes: QTCREATORBUG-23746
Change-Id: I551af0893dc7724d8f7dc3c97fc856eda504d45b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-09 10:17:34 +00:00
Cristian Adam
a1e61fd4b9 CMakeProjectManager: (re)Fix clang code model when CMake PCHs are used
CMake gives the path to the cmake_pch.h[xx] file as relative path
to source directory. Making it absolute fixes the code model.

Fixes: QTCREATORBUG-22888
Change-Id: Ia969ead16bb99a05c955ae96f03596ef25db63ba
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2020-04-09 10:16:18 +00:00
Thomas Hartmann
94cd560636 QmlDesigner: Fix for ActionIndicator
* Fix SpinBoxInput hover
* Fix ActionIndicator when statements
* Add hover state to ButtonRow
* Increase Z
* Show indicator in edit state
  In edit state hover does not work reliable

Change-Id: I7077ad391a7661a14ec784ab43bb31517e252885
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-09 09:19:28 +00:00
Robert Loehning
ec79f42701 Debugger: Update references to Locals and Expressions
These are two separate views now

Change-Id: I010ad0b937982704310d102d1f4338ec0c29a370
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2020-04-09 09:01:16 +00:00
hjk
021cab2048 Utils: Introduce FilePath::operator/(const QString &)
Including some random uses.

This mimics  std::filesystem::operator/(std::filesystem::path).

Change-Id: I0b0f5cf0d962fd33d4cbb9be96645a0b4a21ee03
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-09 07:48:22 +00:00
Leena Miettinen
631da01be2 Doc: Describe locking and pinning curves in curve editor
Change-Id: I6bd580683b3430cc5c2e3ec40e3e25234c5de462
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-09 06:56:23 +00:00
Cristian Adam
12272a392d GitHub Actions: Update Qt, CMake, Ninja versions
Change-Id: If38ad9d521fd25429a2e923219f978ddb40b9117
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-04-08 21:17:12 +00:00
Leena Miettinen
34e8645645 Doc: Update screenshot in Selecting Modes
Change-Id: Ifd8ed029c0eda3e76b28cadd32c985a9868fbb00
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-08 14:09:09 +00:00
Leena Miettinen
fdf25cc79b Doc: Update info about opening example projects
If you select a Qt for Android or Qt for iOS version, only
examples tested for Android or iOS are listed.

Task-number: QTCREATORBUG-23364
Change-Id: Id47265f8057a5b199813f3de0811749eeb348a29
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-08 13:35:07 +00:00
Tim Jenssen
7870760935 Merge remote-tracking branch 'origin/4.12' into qds-1.59
Change-Id: I97a3ad2dc1ea9fddd3bd2853f84f6bc0ba2a442c
2020-04-08 15:03:03 +02:00
Fabian Kosmale
7627e5f84e Fix highlighting for new QML keywords in Qt 5.15
Change-Id: I2e45321eccb209fa9c9c524d85dc9e08d8bd23fa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-04-08 12:10:50 +00:00
Leena Miettinen
013e794ec0 Doc: Update Qt Quick app tutorial
Task-number: QTCREATORBUG-23364
Change-Id: Ib5fc260219a2e29c0762456e8b3c8d7e82954043
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-08 11:50:33 +00:00
Thomas Hartmann
0a1dcd2498 QmlDesigner: Add string support to ComboBox
This allows setting raw strings.

Change-Id: I372b933db071ea724236c22d9562c464744de7fc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-08 11:14:28 +00:00
Mahmoud Badri
cdb2f9b64b Fix mac build
Change-Id: If89e734255ee84daeb0db68f60eef3f39d865943
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-08 11:13:38 +00:00
Andre Hartmann
e3abd5b348 JsonWizard: Fix restoreLastHistoryItem for LineEdit
The value was successfully loaded from the history,
but overwritten again.

Let's now check if the line edit already contains
a value (loaded from history) before setting the
default text.

Change-Id: Ic0acad83f76e0aca76309dfd213183a210d334ac
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-08 10:45:03 +00:00
Christian Kandeler
98fb412e6e IOutputParser: Replace std{Out,Err} with a single parameterized function
Another step towards parser/formatter unification.

Task-number: QTCREATORBUG-22665
Change-Id: I6de86b3aee2c54585cdd4b06d21b0ea67300aeac
Reviewed-by: hjk <hjk@qt.io>
2020-04-08 09:31:33 +00:00
David Schulz
ad1f79075d ClangTools: Add text marks for analyzer diagnostics
Bring back the text marks with annotations for diagnostics generated by
clang-tidy and clazy. They are visible as long as the file isn't
modified.

Task-number: QTCREATORBUG-23349
Change-Id: Idf6d01c67c1cc9d1e000a339441f9cf948cdc2b7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-08 08:56:14 +00:00
Mahmoud Badri
a6af0bb908 QmlDesigner: Fix import list doesn't show all imports issue
Also fix updating the state of 'x' button beside imports correctly.

Task-number: QDS-1592
Change-Id: I15af390effff0bfa71f3b8b1e450e36c9dca00fb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-08 08:51:14 +00:00
Christian Kandeler
c0ea5736f3 Fix invalid reports about Qt <-> project mismatch
For instance, the warning was potentially erroneously triggered with
examples distributed via the installer, as those are present only once
for different installations with the same version number.
Amends e4738904d9.

Fixes: QTCREATORBUG-23753
Change-Id: I0dbb296cd974a3530222661c4b8cecc2106f0ea5
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2020-04-08 08:44:49 +00:00
Eike Ziller
76617a5512 Bump version -> 4.12.0
Change-Id: I6894b5b095393981d9d42569ad43024e40711f94
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-08 08:28:40 +00:00
Andre Hartmann
7c1f7dd431 JsonWizard: Document historyId and restoreLastHistoryItem
Change-Id: I5f06fb06cb6766f2f9899bfd2aeadc2198dab1c7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-08 07:52:04 +00:00
Tobias Hunger
a6dad316c2 CMake: Remove dead code from BuildDirParameters
Change-Id: Iae900ad0a3b901d2e83a2ea8eb2895b5627897fc
Reviewed-by: hjk <hjk@qt.io>
2020-04-08 07:04:13 +00:00
Aleksei German
ab5a0c9cb1 QDS IconFont to Icons importer
Change-Id: Idae58499cf3a3e3967e701597b0f00c16367c602
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-07 18:40:59 +00:00
Christian Kandeler
7745eacc7a Output parsers: Generalize the search directory concept
All parsers can now have search directories, not just the GnuMakeParser.
This allows us to get rid of the "task mangling", removing another
instance where the order of parsers in the chain mattered.

Task-number: QTCREATORBUG-22665
Change-Id: Id0d55522ae6800afd9f50ff36546224b0d8bb382
Reviewed-by: hjk <hjk@qt.io>
2020-04-07 15:20:22 +00:00
Richard Weickelt
d076c60729 Update qbs submodule to HEAD of the 1.16 branch
Change-Id: I6a616a9f2e28deab53911c0f68baf062a94e0467
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-04-07 15:14:56 +00:00
Leena Miettinen
12a8016476 Doc: Update info on Qt Quick 3D materials and shaders
Task-number: QDS-1651
Change-Id: I510f954387b4f13b23755059cc6c6a9961b53c36
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-07 14:16:32 +00:00
Leena Miettinen
080cc68f3d Doc: Update info about attaching texture to materials
Change-Id: Idc934db3e8b9b083fd60ae348eb84c095d2fca72
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-04-07 14:16:02 +00:00
Aleksei German
3a96c2b3dc QDS Annotations Preview fixes
- Performance issues fix
 - Fixes bug with writing comment into wrong column
 - Fix for very wide columns

Task: QDS-1916
Change-Id: I1f0648fa16cf7dbff9c077cb71382a89be6f86ce
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-07 12:50:05 +00:00
Thomas Hartmann
965250bae0 QmlDesigner: Adjust OriginControl
* It is not clear where the action indicator is.
  Therefore we always show it.
* Adjust position

Change-Id: I97f312b488ef3d96872914262ad36d5df606754f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-07 12:25:41 +00:00
Thomas Hartmann
6d0bcb7665 QmlDesigner: Expose CurveEditor in PropertyEditor
Change-Id: I3b9b74b206a5b4948d8353b7fbc2572429dcbed0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-07 12:24:55 +00:00
Thomas Hartmann
be66d1250c QmlDesigner: Add FlowActionArea support to connection view
Change-Id: I5b7d53ccab299960aed736f6a292e158ec60ce99
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-04-07 12:24:10 +00:00
Christian Kandeler
b22bb5a9a7 QbsProjectManager: Remove the QbsParser class
It serves no purpose.

Change-Id: I92e700ed5c1d2b72398f4c7b88dab0cea9404e4d
Reviewed-by: hjk <hjk@qt.io>
2020-04-07 11:38:15 +00:00
Tobias Hunger
c54107b125 Ignore index directory of clangd
Change-Id: Iea814380d0d30e1656fa0194b436ca2d8cc182eb
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-04-07 11:00:14 +00:00
Christian Kandeler
763c15b4af ProjectExplorer: Replace some calls to IOutputParser::taskAdded
... where the intention was to simply emit the addTask signal.

Change-Id: I74fb625cd8683d5f49f4a8e7b82086b3a3bccb38
Reviewed-by: hjk <hjk@qt.io>
2020-04-07 10:34:59 +00:00
Christian Kandeler
c58b1b2ca6 ProjectExplorer: Dissolve the AnsiFilterParser class
This class was different from all the other output parsers in that its
only responsibility was to pre-process the output before it was passed
to the real parsers. We now make this explicit by introducing the
concept of a filter function and turning the AnsiFilterParser class into
one of those.
This also gets rid of a case where the order of output parsers in the
chain matters, which we want to move away from.

Task-number: QTCREATORBUG-22665
Change-Id: Ica135e54ab43cf2ca8186073dc2487c906d4b38d
Reviewed-by: hjk <hjk@qt.io>
2020-04-07 09:21:48 +00:00
The Qt Project
a03a35d3ea Merge "Merge remote-tracking branch 'origin/4.12'" 2020-04-07 09:17:00 +00:00
Eike Ziller
10114dc036 Merge remote-tracking branch 'origin/4.12'
Conflicts:
	src/plugins/android/androidmanifesteditorwidget.cpp

Change-Id: I8143d9e02837dcd78a637da7b333a6eeebb105cb
2020-04-07 11:13:58 +02:00
Robert Loehning
cb1a9c12d5 QtSupport: Fix HTML - and don't translate it
Change-Id: I06fc0186af648047651ee5e69be9727cec69bd40
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-04-07 08:58:40 +00:00
Robert Loehning
86b0a47deb BareMetal: Unite two nearly equal strings
Change-Id: Id9ca23b5feff190dc05b2381f949aec1b3b16b3e
Reviewed-by: hjk <hjk@qt.io>
2020-04-07 08:56:34 +00:00
Alessandro Portale
c1f08cca86 McuSupport: Add SDK version to kit name (and to kit data)
First step towards Qt for MCUs SDK version handling.

Task-number: QTCREATORBUG-23823
Change-Id: I125fe841d9355aa26b4e4701ac9a5fec31987e08
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-04-07 08:26:16 +00:00