Commit Graph

61529 Commits

Author SHA1 Message Date
Milian Wolff
be61acffe7 Don't link against QtSupport in CTF Visualizer plugin
Change-Id: I03e4e3d4a2c687ba5841987318eee569c3fa15c4
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-09-30 20:23:52 +00:00
Thomas Hartmann
da0601e470 QmlDesigner: Add ItemFilterModel
This exposes a model to QML that allows
to get a list of all ids of items of a specific type.
This allows implementing a combobox that can e.g. set
the id of any image element in the file.

Change-Id: Ibc825cb5a66c951d29df12676f9433c9232fd8af
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2019-09-30 15:21:37 +00:00
Thomas Hartmann
2509dd4c32 QmlDesigner: Add supported Qt Quick version
Change-Id: If4e40fafe2270dcdd76cefe5d3a03f11984e466a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-09-30 15:21:18 +00:00
hjk
b0ea4311e8 Short live McuSupport
Medium term to be merged with BareMetal/RemoteLinux/...

Change-Id: I444c65bcfa8e3cf8642ff64e964459720814860a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-09-30 15:04:32 +00:00
Leena Miettinen
6b73eec05b Doc: Describe removing existing directories from projects
Task-number: QTCREATORBUG-16575
Change-Id: Ic2aed97d8b414b6aa69e00e6620a7613845c562d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-30 14:10:40 +00:00
Eike Ziller
3c5b774cd5 Add changes file for 4.11
Change-Id: Iebd122a40ebb20bf54d0d1af2398f69fcbf2eb18
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-30 13:58:09 +00:00
David Schulz
a30b936760 Python: add task for pyls installation
Change-Id: I0a85a3ae9fe4e8b327b3b90732556bf940215b7a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-30 12:50:45 +00:00
David Schulz
94f717bd3c Python: make pyls install kill timer a member
Change-Id: I62515673ef65e87b2f23345aa52a22a86a2be763
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-30 12:40:36 +00:00
Cristian Adam
17270366f3 CppTools: Do not use PCH when build PCH artifacts exist closeby
Clang cannot handle gcc pch files which are close to the forced
include header.

Fixes: QTCREATORBUG-22888
Change-Id: I0d678a889d1fb62bf3c6850277e13271efb91eea
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-09-30 12:13:25 +00:00
hjk
0c45372896 Debugger: Remove QML port settings in run configs
Obsolete since the invention of PortGatherers.

Change-Id: I34c80b2408213c2d6bd0d893763be4dffc2db7ea
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-09-30 12:00:49 +00:00
hjk
a574706d29 Debugger: Add a per-runconfig way to add debugger startup command
Task-number: QTCREATORBUG-22979
Change-Id: I225b6cd1ee1dd3195bda3de4de72880d76e8cd37
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-30 12:00:39 +00:00
Eike Ziller
aad6ad8c10 Help: Replace annoying URL syncing by explicit Open in Edit Mode
Qt Creator was syncing the current page in Help mode to the page shown
in the side-by-side view in edit mode.
This doesn't really make sense because context is completely lost.
Instead provide the explicit option to open a help page in edit mode,
also from the external help window.

Fixes: QTCREATORBUG-19198
Change-Id: I00698bb431d5c116dd1e0e1cbdc5fbd7421ac267
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-09-30 11:19:54 +00:00
Eike Ziller
d34aee4d53 Help: Fix missing page switching keyboard shortcuts for external window
Which are relevant now that external windows support multiple pages.

Change-Id: Ibc748e9e0582c8d54264af535c32aa2702f91631
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-30 11:19:21 +00:00
Eike Ziller
6123580767 Help: Make note about changing viewer backend more visible
Change-Id: Ib68db15a3c081202305f61ede4d4414d09fc3c20
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-09-30 11:19:03 +00:00
Ulf Hermann
0d6feefb53 Update perfparser submodule
Change-Id: I051ec59afe30f5ae57d45b08d2f8bcfef55a641c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-30 11:09:26 +00:00
Alessandro Portale
28b99dafc6 sdktool: Document WebAssembly types
Task-number: QTBUG-74923
Task-number: QTBUG-72884
Change-Id: I4fef49123bc1f66f94d374572537cfa2b5ad9a3b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-09-30 09:22:55 +00:00
Christian Kandeler
9c8400d961 Output windows: Skip filter function if no filter is set
Running the filter function is (too?) expensive, so make sure that's
only done when there actually is a filter.

Task-number: QTCREATORBUG-22914
Change-Id: Ie96a4e20ebb10c08d83e75641e70b42b13377b22
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-30 09:17:39 +00:00
Christian Kandeler
9ca17da5bb Target setup page: Fix default build directories for cmake projects
BuildInfo: :buildType is not necessarily unique.
Change-Id: I6667e5183db7a0f57081a74a7ca92491ead73d52
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-30 09:09:31 +00:00
Eike Ziller
392a719ecd Merge remote-tracking branch 'origin/master' into 4.11
Change-Id: If9c3b71d02739c134f657e139fcbc33001158d64
2019-09-30 10:40:14 +02:00
Eike Ziller
a41490312f Merge remote-tracking branch 'origin/4.11'
Change-Id: I6389fd3583ca0638fa6b94c03d2442a584b604bc
2019-09-30 10:38:53 +02:00
Eike Ziller
f8c8c01096 Merge remote-tracking branch 'origin/4.10' into 4.11
Change-Id: Ic05bd53ea060d42c2013884972c05de08ed63f10
2019-09-30 10:36:00 +02:00
Ulf Hermann
b5b1367b0b Accept arrays as enum descriptions in qmltypes files
We don't use the values at all and they are hard to determine
statically. Qt >= 5.15 will generated arrays instead of objects.

Change-Id: I3b3bbd427c49e649ca3f9cef51c89b32e830eb66
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-30 08:24:30 +00:00
Milian Wolff
1dd9b0d3b8 Add .gitreview file
This allows one to use `git review` to submit patches.

Change-Id: I381722e7296d37e021e17ef7ed1618c3563e0ac9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-30 07:43:03 +00:00
Miikka Heikkinen
1bf23a6c74 QmlDesigner: When adding 3D asset import, also add missing QtQuick3D
When adding 3D asset import via a flow tag, check if QtQuick3D import
is missing. If it is, add it automatically.

Change-Id: Ia2e67180faa88e10b185a42a7ce426dc29d9ce23
Fixes: QDS-1067
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-30 07:39:28 +00:00
David Schulz
90963249a4 Python: Add info bar to install python language server
If the detected python for the current document does not have an
installed language server, check whether pip is installed, try to
install the language server and if that was successful set it up.

Change-Id: Ib6cf3bacdcf3489728990cace5417862b7c78be5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-30 07:26:12 +00:00
Joerg Bornemann
24dd7be6db Update qbs submodule
To HEAD of 1.14 branch.

Change-Id: I16a799316afe1d1be3410ef3084c0724de931c42
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-30 06:45:49 +00:00
hjk
3e2e0c6edc Debugger: Use GDB's own pretty printers more cautiously
Looks like there is no attempt made on the GDB/libstdc++ side
to recognize uninitialized objects, so we cannot convert
"all 932 million children, I swear" to a list.

Task-number: QTCREATORBUG-22887
Change-Id: I3bf7e53c8b11ece3e1182d8446e959a66a41665a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-30 06:27:24 +00:00
Eike Ziller
a0a0ee0b5f More change log for 4.10.1
Change-Id: Iae2927d24e021ef8b2e2f4849963fde4c22f55c0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-09-30 06:13:29 +00:00
Christian Stenger
716ec39ae0 Debugger: Fix automatic raising of Expressions
When adding a new expression automatically raise the
Expressions widget if it is not shown already.

Change-Id: If89e4e4fbf8cbe57e0f08478cd2d3b9f4797f5ad
Reviewed-by: hjk <hjk@qt.io>
2019-09-30 04:33:58 +00:00
Denis Shienkov
38292de68a BareMetal: Fix auto detection of SDCC toolchain on Windows
The SDCC toolchain package can be provided as 32-bit
or as 64-bit installer. If the SDCC 64-bit package
will be installed on the 32-bit Windows, then it will
not be found in the system registry, because we use
the QSettings::NativeFormat. So, we need to check the
data for the 32-bit and 64-bit registry sequentially.

Change-Id: I1e7711bdde173eff21a7ba84f221d505a21709ca
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-27 14:40:47 +00:00
The Qt Project
094d20bde9 Merge "Merge remote-tracking branch 'origin/master' into 4.11" into 4.11 2019-09-27 12:48:38 +00:00
Miikka Heikkinen
76dea6c61f QmlDesigner: Support importing 3D assets into Quick3D components
Added import dialog for importing 3D assets. Generated Quick3D
components are placed into a hardcoded path under an existing
import directory, preferring an import path that ends with
"asset_imports" folder.

Import statements for imported assets are not automatically added to
the current document. Instead, flow tags are generated for the
available imports. If QtQuick3D import is missing, a flow tag for
that is also generated.

Item library entries for imported assets are created and grouped
in their own group.

Task-number: QDS-1051
Task-number: QDS-1053
Change-Id: I89cef9c0dc8b5a71a5cf25a6a184cef49c1090dc
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-27 12:31:22 +00:00
Christian Kandeler
d5f3335c5e RemoteLinux: Use the "install to local dir" step in derived plugins
That is, Boot2Qt and Qnx.

Task-number: QTCREATORBUG-22822
Change-Id: Id48069c6ee2bc857a94be173b6c1de9bc69404a8
Reviewed-by: hjk <hjk@qt.io>
2019-09-27 12:29:40 +00:00
Eike Ziller
453780b17f Merge remote-tracking branch 'origin/master' into 4.11
Change-Id: I0c713ed4cdf1894b162421f21f64035b811418d5
2019-09-27 14:27:53 +02:00
Eike Ziller
68d08c162a Merge remote-tracking branch 'origin/4.11'
Change-Id: I3fd1723e8c097bf6df8933c122fcc006ad0af9e7
2019-09-27 14:22:41 +02:00
Eike Ziller
d4c0f9e510 Merge remote-tracking branch 'origin/4.10' into 4.11
Change-Id: I57c2c6b5736c1aa3e1831eea0ae0a0638feacc39
2019-09-27 14:20:05 +02:00
Nikolai Kosjar
d29d747839 ClangTools: Fix comment
Change-Id: Ibf530af9d60cce45957c7a0b9c5b4e9f82407086
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-09-27 12:05:09 +00:00
Nikolai Kosjar
d5bae3c1eb ClangTools: Merge ClangTidyClazyTool into ClangTool
Change-Id: Ieb6c4994ddcff9339a9cfb25c82e23dd2d2e8912
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-09-27 11:56:42 +00:00
Nikolai Kosjar
4750969c2b ClangTools: Move run settings to projects mode
Make the global run settings available per project in project mode and
thus remove the diagnostic config selection from the
selectable-files-dialog:

 * Extract the classes RunSettings and RunSettingsWidget instead of
   duplicating stuff.
 * Ensure to pick up the old settings
 * Add some convenience buttons/links in projects mode allowing to
   restore the global settings, to open the global settings and to
   navigate (back) to the analyzer mode.

Change-Id: I1b91b6f8e58a87a025774e4643c46e176b2a8885
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-09-27 11:46:35 +00:00
Cristian Adam
642be63991 QNX: Use the QNX_CONFIGURATION_EXCLUSIVE envvar in QnxToolchain
QNX_CONFIGURATION_EXCLUSIVE is responsible for license checking
failure when qcc was probed for capabilities.

Change-Id: Ib7efa9eba3b2f3cb131899aa6cb75e632446342c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2019-09-27 09:43:12 +00:00
Eike Ziller
bdea56794f Fix build (Q_DECLARE_TR_FUNCTIONS)
Change-Id: Ifb2fe780ceaf3accef7ef0e46cf139d38115940e
Reviewed-by: hjk <hjk@qt.io>
2019-09-27 09:18:40 +00:00
Eike Ziller
2d95c90592 macOS: Fix window state after going out of fullscreen
If you went out of fullscreen with the shortcut or menu item, it would
not restore a previous maximized state, but instead resized the window
to the smaller non-maximized state. So,

1. open Qt Creator and resize to some non-maximized size
2. double-click window title to maximize
3. Window > Enter Full Screen
4. Window > Exit Full Screen

now returns correctly to state 2, not 1.

Change-Id: I076321070d011d73bfe888c0a4a5ade24c1057d6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-27 08:21:13 +00:00
Eike Ziller
3a401f3314 macOS: Fix compiler warning
The new value is available since SDK 10.12

Change-Id: I2d171680dbf3ae7b7951bfa36990ab52a3b19e9b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-27 08:20:58 +00:00
Mahmoud Badri
05d53c1454 Correct playhead position after releasing out of range
When dragging the playhead and releasing it out of the range of the
timeline, the playhead took wrong position.

This happens if the timeline does not start at frame 0. The value of
timeline.startKeyframe() is already taken into account by
mapFromFrameToScene() in setPosition(). Therefore the offset was
added twice.

Task-number: QDS-1074
Change-Id: I72ec13176af473ac9851580e2367117f98ddfc65
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2019-09-27 08:14:06 +00:00
Mahmoud Badri
da39f3d7fc Correct edit keyframe dialog title and fix its size
- Make sure the edit keyframe dialog's title appears correctly.
- Disabled resizing of the dialog.

Change-Id: I2374e2f71e99b49b00c9600787a798e457b8ec01
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-27 08:13:14 +00:00
Mahmoud Badri
0ffe31bec3 Playhead range check and status bar improvements
- distinguish between playhead and keyframe value on the status bar.
- update the status bar frame value when a keyframe is being moved.
- when changing or deleting timelines, update the status bar.
- when changing timelines, make sure the playhead is within the new
timeline's range.
- keep playhead in range after changing timeline's start/end.

Task-number: QDS-1071
Change-Id: Id9758e3097d34df9334d6284a6a56ba38b509a31
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-27 06:40:20 +00:00
Sergey Belyashov
9be1caf05f Fix Russian translation
Fixes: QTCREATORBUG-22978
Fixes: QTCREATORBUG-22996
Change-Id: I93e8426c6efc46b8c749f12d729070052fb4af88
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Viacheslav Tertychnyi
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2019-09-26 19:18:01 +00:00
Cristian Adam
fa0979a626 QNX: Add C compiler in the compiler selection dialog
QNX compiler can also do C, and it's needed for properly configuring
a CMake project.

Change-Id: I68edf35d7e288400f48b59c258065e6f82d17fc4
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-26 15:09:19 +00:00
Cristian Adam
9caca851f4 QNX: Add C compiler in the compiler selection dialog
QNX compiler can also do C, and it's needed for properly configuring
a CMake project.

Change-Id: I68edf35d7e288400f48b59c258065e6f82d17fc4
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-26 15:09:14 +00:00
Alessandro Portale
718af236de CMakeProjectManager: Export CMake*Aspect and CMakeConfigItem
Allow other plugins to set CMake specific Kit options.

Change-Id: I038e9fabc3d2cb8cc463adafebecd51b21ef3d05
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-26 15:06:41 +00:00