Commit Graph

61421 Commits

Author SHA1 Message Date
Leena Miettinen
07945bb11d Doc: View autotest errors and warnings in Issues output pane
Change-Id: I4519f7bed6e1f4cc0b56677650565fde91c9975a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-11-01 07:46:00 +00:00
Nikolai Kosjar
986f08b225 ProjectExplorer: Fix a bugprone-argument-comment
gcctoolchain.cpp:667:35: warning: argument name 'target' in comment does
not match parameter name 'originalTargetTriple' [bugprone-argument-
comment]

Change-Id: Ia486759521b274102d52df9276507a0d72e10e89
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-01 07:16:20 +00:00
Nikolai Kosjar
5218a661a3 ProjectExplorer: Fix a bugprone-suspicious-missing-comma
Change-Id: I40f4eb235970ebb4aeb9ac004bd5ca1c5af7a4c3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-01 07:16:05 +00:00
Michael Winkelmann
9985d623a4 PluginManager is not moc'ed automatically
This leads to a linker error in ExtensionManager because symbols
generated by moc are missing. This caused by an issue with CMake 4.10 /
AutoMoc and Q_OBJECT in a documentation comment.
Instead, headers of PluginManager are moc'ed explicitly.

Change-Id: I2dd655c48d0bf90e178e46655eaa0f2dc1ed8b0a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
v4.11.0-beta2
2019-10-31 15:44:46 +00:00
Alessandro Portale
e2f82cd57f McuSupport: Add path to shipped clang to build environment
Task-number: UL-1109
Change-Id: I0a79c597c3d4d0377fc6b3da9a8362d70dee85d5
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-31 15:17:35 +00:00
Alessandro Portale
907c35dc00 McuSupport: Enable and preselect usage of the shipped JOM (on Windows)
- Set CMake generator to "NMake Makefiles JOM"
- Add ICore::libexecPath to environment path
- Set the environment for the run configuration

Change-Id: Ie7b2dc1513b366911b429d77cc4a1954be531075
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-31 15:16:26 +00:00
Aleksei German
28d2134d46 QmlDesigner Ignore design mode switch
Added combo box in settings that allows user to
turn off automatic switch to design mode for .ui.qml.

Change-Id: I83007494c0e7861e1dd2987393815b1321880c5c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-10-31 14:31:29 +00:00
Christian Stenger
4d390bfce9 ProjectExplorer: Correct updating targets
A kit may get updated in a way that it now can be
used or has more capabilities than before.
(e.g. setting or changing the Qt version of a kit)

Change-Id: Id4c65fa2d8c334b0ef7d819a70a8df4b6a349a6d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-31 14:25:05 +00:00
Leena Miettinen
1cfc52f61c Doc: Describe creating Android App Bundles
Change-Id: I6c3e69511f2340753c9832e33e0e844e3690f7a5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2019-10-31 14:21:54 +00:00
Nikolai Kosjar
abb0babc58 ClangTools: Fix using correct run settings
Change-Id: Ibf545719bb67857c3ecaaedf2435caa15d592e03
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-10-31 14:07:53 +00:00
Nikolai Kosjar
fdd3262cab ClangTools: Fix state of the "Apply Fixits" button
* Disable the button when (re-)running an analysis.
* Ensure the button stays disabled when a file is saved.

Change-Id: I1140dd3938de554ea83d33c5bb490be3468d7db0
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-10-31 14:07:38 +00:00
Nikolai Kosjar
c698a6ed0c ClangTools: Fix uninitialized variable
Change-Id: I3d703aaea0fdb61cbfb7f681eda00ff14376f9f6
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-10-31 13:52:10 +00:00
Nikolai Kosjar
21a17f489a ClangTools: Fix a bugprone-parent-virtual-call
clangtoolsdiagnosticview.cpp:286:16: warning: qualified name
'QObject::eventFilter' refers to a member overridden in subclass; did
you mean 'QAbstractItemView'?

Change-Id: Ifcff716b336324384d0164925b548f61cf460449
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-10-31 13:51:58 +00:00
Knud Dollereder
a4bff368fd Display the current frame in a dedicated control
Enable immediate dragging of the playhead after clicking into the time-scale
Rename "Curve Picker" to "Easing Curve Editor" and "Curve Editor" to
"Animation Curve Editor"

Change-Id: I0085a26d0ea510286586d89c6cddb9bbe720e49e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-10-31 11:08:58 +00:00
Christian Kandeler
3c3f7afcbc Target setup page: Un-queue another connection to kit manager
Amends 6fd29da2cb, which caused a regression in that a newly activated
target was not selected anymore, so when switching to project mode, the
build configuration was not shown without user intervention.

Change-Id: If723fe886f3e478cbdbcd7a77cd7fb71eca69813
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-31 09:28:13 +00:00
Alessandro Portale
7fffe8a7b1 McuSupport: Add Segger Jlink path to kit environment
SEGGER_JLINK_SOFTWARE_AND_DOCUMENTATION_PATH

Change-Id: I29a1b4f011ce9f419b46e9571a930d14438bae20
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-30 18:34:45 +00:00
Alessandro Portale
efe49d3d9f McuSupport: Rename "NXP EVKB-IMXRT1050 SDK" to "NXP i.MXRT SDK"
The new name is more generic, and valid for more targets.

Change-Id: I7efb3f1721ec1e88de073d5f43edff8b308f3f02
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-30 18:33:55 +00:00
Alessandro Portale
985cd447ab McuSupport: Change "MCU board:" => "Target:" in options page
There is also a (Qt-based) target, which is not a board.

Change-Id: Ib35b1e823a7a1c5e1f578face9fa4953b7a6d89e
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-10-30 18:33:03 +00:00
Henning Gruendl
48997e3ceb QmlDesigner: Replace UrlChooser button icon
Change-Id: I3cd84986ea77701a5d786bd7ee8115cda3df8185
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-30 15:10:54 +00:00
David Schulz
6fc24653b8 Debugger: prefer cdb for msvc targets
Change-Id: I4d305ae6f3b54d7f724f2cfbde6062663e3c0ad1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-30 13:43:42 +00:00
Christian Stenger
b2ede6ff51 Python: Check for changes before applying
Storing the python settings seems to be rather costly
and may take some time.
Perform an early return if nothing has changed.

Change-Id: I509e83f503d2af31a7464df893e0e4e69e99a277
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-30 13:21:29 +00:00
Robert Loehning
aad5fb339d Squish: Update QmlJSEditorWidget
Change-Id: I783849086d59d51d51dfbc560e3d6c8e298ccd71
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-30 11:39:36 +00:00
Thomas Hartmann
c3ab0150e7 QmlDesigner: Append forced nodes also if filter is inactive
Change-Id: Ie7575a4da5b5dee9a69fa7226d1b65dc5ce574ee
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-30 10:20:04 +00:00
Thomas Hartmann
17dbc74cca QmlDesigner: Avoid reflection when setting values from puppet
When editing values in the puppet we did not take reflection into account.
This means that any changes we did from the puppet for notified back
from Qt Creator. Since those notifications are asynchronous this leads
to various issues especially when more than one axis (property) was modified
at once.

This patch avoids reflection. The notifications are 'flagged' and then
ignored in the Qt5InformationNodeInstanceServer.

While a node is moved we ignore any changes to that specific node.

Task-number: QDS-1191
Change-Id: Ic74e22ea71832ce12321f9085a7296c2a7d9893d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-30 09:46:35 +00:00
Christian Kandeler
70373fbf1a Toolchains: Better out-of-the-box support for the Intel C++ compiler
- Make sure it gets auto-detected on macOS, where the -dumpmachine
  option, while present and documented, doesn't print anything.
- Do not call it "Linux ICC", as it's also available on macOS.
  There is no danger of confusion with the MSVC-based variant,
  as the respective UI elements are not present on Windows.

Fixes: QTCREATORBUG-18304
Change-Id: Ibe70c618cf28ecfb105efefc3fe2b79814a0f0ce
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: hjk <hjk@qt.io>
2019-10-30 09:35:46 +00:00
David Schulz
5fcfe159cf Debugger: adjust resetting the symbol server after cdb update
The cdb symbol server can currently only be cleared by setting the
symbol path via .sympath command and an empty string.

Change-Id: I013b106856d87dbc2de0fdcaa876fd6d9378fb63
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-30 09:29:04 +00:00
David Schulz
6664d78ded Python: detect virtual environments for documents and projects
After opening a document or project the directory hierarchy is looked up
for a Scripts/(activate && python.exe) on windows or bin/(activate &&
python) on unix. This is the usual structure of python virtual
environments. If such a folder is found add the python from that folder
to the list of configured interpreters in the settings, set it as the
current interpreter for the project and try to open the corresponding
language server.

Change-Id: I038c309ea2988f9370194330d250d1515beac0a0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-30 08:46:12 +00:00
Miikka Heikkinen
519fc4ec72 QmlDesigner: New arrow mesh for edit3D view
Change-Id: Iefe2de026fc386ed910949a98a0157bd59d8e62b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2019-10-30 08:40:33 +00:00
Eike Ziller
4b450804fb Fix CMake build
after f15a323663

Change-Id: I6d46b9747251e2ae16967e1c8826d580fa7548d4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-30 08:10:08 +00:00
Henning Gruendl
f15a323663 QmlDesigner: Add align and distribute feature
Change-Id: I99c57036c25e4aaf73f2c6014523da5da9d3cd21
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-10-29 18:56:27 +00:00
Robert Loehning
40fb68d18d Squish: Remove outdated comment
Change-Id: I4aeee19ada28ad536994d3b6ec164429b3fc90c4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-29 18:17:46 +00:00
Kai Koehne
36ef280db5 Set QGuiApplication::applicationDisplayName property
This is used in user-visible strings e.g. in the analytics plugin.

Change-Id: I5942e915bccba01eb2c3d7049e2b789fff9e890a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-10-29 14:40:28 +00:00
Miikka Heikkinen
47f54dd101 QmlDesigner: Add camera and light gizmos to 3D edit view
A small icon and a placeholder mesh are displayed at the location of
the lights and cameras in the scene, to provide a way to see and
interact with them.

Change-Id: I1f90fce77a643cab2c3fda3ee2105af53dea57a9
Task-number: QDS-1177
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-29 12:57:06 +00:00
Robert Loehning
4f2f86b5bf Squish: Skip testing Qt Quick 2 Extension Plugin wizard
We're not doing anything in it anyway.

Change-Id: I5d790d98c8952e6167bfe241af5490cf18622890
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-29 12:36:43 +00:00
Miikka Heikkinen
09a0b40a28 QmlDesigner: Optimize 3D model itemlibrary icons
Change-Id: I00fcd3b7a42a7fa97e4cc3128ddd63624205758a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-10-29 12:22:35 +00:00
Leena Miettinen
09784424df Doc: Fix link to "Build with CMake"
This seems to be in a bit of a flux. Please add keywords for the
old title when changing it.

Change-Id: I323311e6497361f72afd7b63556ab3a7337134f0
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2019-10-29 12:08:02 +00:00
Leena Miettinen
be456bfb20 Doc: Fix links to "Styling Qt Quick Controls"
The "2" was dropped from the topic title.

Change-Id: Ifa4122bc8b717b3a6915a10c14eba30e9bbf5bd3
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2019-10-29 12:07:41 +00:00
Leena Miettinen
49c905b941 Doc: Update information about Git
Describe viewing tags and old information in the Git Branches
sidebar view and the Archive action in the Actions in Commits
dialog.

Change-Id: I3c4c5b3ccc91657875d7ec9d14432d4ac88edd19
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-10-29 12:06:54 +00:00
Christian Kandeler
d3e6fa0f2e QmlDesigner: Fix some warnings
Change-Id: Ice9c29409b53457c20cef272b6a5dd6feb97adb3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-29 11:35:38 +00:00
Mitch Curtis
1861991cec Doc: add more how-tos
Change-Id: I1694a71c3bfc7be907074701f0c8a32ab0608607
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-10-29 10:24:27 +00:00
Mitch Curtis
636ee3e91d Doc: rename Tips and Tricks to How-tos
This is based on Qbs' how-tos documentation:

https://doc.qt.io/qbs/howtos.html

I find this format easier to follow, both because of the phrasing of
each section and the fact that it doesn't rely on the table of contents
to list the contents, which is squished into a tiny word-wrapped
section on the left of the page in the online documentation.

Change-Id: I46a0751a55e7f34458392c56e12c2e301adde234
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-10-29 10:24:04 +00:00
Christian Kandeler
74d458c0da CompilationDbManager: Add support for the "/imsvc" option
Fixes: QTCREATORBUG-23146
Change-Id: I024597d67e48595472b398ed40858bee17c1c4b9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-10-29 09:50:04 +00:00
Eike Ziller
86bd49e6ab Bit more change log for 4.11
Change-Id: Ibf23cef4ca24117931af9721664b7a57fbac90e5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-10-29 09:20:21 +00:00
David Schulz
6399188090 LanguageClient: prevent accessing deleted document
By always removing them from the list of opened documents also for
uninitialized clients. Fixes crash when closing creator before the
initialize response of a language server was handled.

Change-Id: I81fb15d8d9d7bf47300a6eac373ef9db04387bd4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-29 08:17:41 +00:00
Leena Miettinen
70ce398602 Python: Fix UI text
Change-Id: Ia3fa732d9ed6bb880ea7721712093fbe8faa27bd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-29 07:52:51 +00:00
Leena Miettinen
3db95cd694 Boot2Qt: Fix UI text
Change-Id: Ibc25722d16691ffb35cedaadba9c7049975d5836
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
2019-10-29 07:52:32 +00:00
David Schulz
63d03afb95 LanguageClient: fix memory leak
When removing actions from a widget the action is not magically deleted,
so manually delete the language client toolbar action of the editor
after the last client was shutdown.

Change-Id: I6a5a079d4a44724f92d291040925df73f7eb747b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-10-29 07:12:59 +00:00
Christian Stenger
7cec3cfc94 Scripts: Fix helper script on macOS
Broke with ca15e1ed0c.

Change-Id: Ife884234ff8716b3019f2d302598c887d1498a92
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-29 05:55:39 +00:00
Denis Shienkov
f8db739e0d Doc: Add mention about new supported toolchain architectures
Change-Id: Ic832eb7449af9c43bc72260e88cfa4e22e102a7a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-28 16:05:05 +00:00
Leena Miettinen
9b7328cc93 Update Info: Fix UI text
Change-Id: Iabd28121ea55b65fe10ad0e2dca0b4df44365b31
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2019-10-28 15:37:21 +00:00