Commit Graph

4240 Commits

Author SHA1 Message Date
Christian Kandeler
efa9fdba63 ProjectExplorer: Add the ability to create a kit matching a binary
That is, the user passes the path to an application or library, and Qt
Creator sets up a kit with a toolchain that matches the file's
architecture.

Fixes: QTCREATORBUG-8216
Change-Id: Ia16701d8b89df2cfee9d3cbe36fb72a4ed05c407
Reviewed-by: hjk <hjk@qt.io>
2019-10-24 13:22:52 +00:00
Eike Ziller
9760d02b77 Merge remote-tracking branch 'origin/4.11'
Conflicts:
	src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
	src/plugins/qtsupport/qtversionmanager.cpp

Change-Id: I2f29dd2e86b028be46184b12ac2c17ace2513d5a
2019-10-23 07:41:01 +02:00
Christian Kandeler
b8657ac739 Project Tree: Allow to hide disabled files
Project manager plugins can mark files as disabled, typically meaning
they are not part of the project in the current build configuration.
Let's allow users to hide such files altogether.

Fixes: QTCREATORBUG-22821
Change-Id: Ie92d523d1f895bee8076de1d7eea1d7a739fe11f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2019-10-22 13:42:03 +00:00
Leena Miettinen
b6d071c246 Doc: Describe developing apps for Qt for MCUs
Fixes: QTCREATORBUG-22926
Change-Id: I6c494858bcd637e4ae11ab0e8ea2687fb1eb26ef
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-10-18 12:27:00 +00:00
Eike Ziller
fcb12a275f Merge remote-tracking branch 'origin/4.10' into 4.11
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri
	src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp
	src/plugins/projectexplorer/deploymentdata.cpp
	src/plugins/projectexplorer/msvctoolchain.cpp

Change-Id: I64c304fc71435629a6a0060a9df71e8952699508
2019-10-16 15:27:22 +02:00
Leena Miettinen
7031ffd327 Doc: Fix link to free Qt apps
Fixes: QTCREATORBUG-23059
Change-Id: Iaf0b181223f88aa6f9513a29825f8aa98f9baf62
Reviewed-by: Tino Pyssysalo <tino.pyssysalo@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-10-08 13:25:38 +00:00
Leena Miettinen
83671ebdae Doc: Chrome Trace Format Visualizer
Fixes: QTCREATORBUG-23024
Change-Id: I8caac6521a9962e64ab09932ab6177099d48086e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-10-07 08:27:33 +00:00
Leena Miettinen
6613185933 Doc: Override platform default value for showing shortcuts
...in the labels of context menu items.

Task-number: QTCREATORBUG-22502
Change-Id: I981c595b2c368575f3dbc0c5ef9f7ac60d4eb36d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-10-02 09:47:23 +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
Leena Miettinen
c751a165ac Doc: Fix title of Qt Creator Plugin for Qt Application Manager docs
Change-Id: I35f4cc8d1f948a01a956cbb2c24544fdf5a30fa4
Reviewed-by: hjk <hjk@qt.io>
2019-09-25 11:43:08 +00:00
Leena Miettinen
b144e7c4f8 Doc: Generate translation source files when creating projects
Task-number: QTCREATORBUG-7453
Change-Id: I1d0af93c413f306287f5faef00e56180764133d1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-25 07:06:56 +00:00
Eike Ziller
1bbc62f9e4 Merge remote-tracking branch 'origin/4.10'
Change-Id: Ic7144b8ae429707cd120719f3445b624c0b83564
2019-09-25 08:30:27 +02:00
Leena Miettinen
bd228ab6dd Doc: Rename all files with the same base name at a time
Task-number: QTCREATORBUG-21738
Change-Id: Iedcef8908a8a73f43bf07e85d9ef9d6d5a8ee82e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-24 07:29:05 +00:00
Christian Kandeler
4702faba06 Wizards: Add the ability to remember user choices
Wizard authors can now provide a persistence key to values where that
makes sense.
For now, we make use of it for the build system type in all wizards and
the minimum Qt version as well as the virtual keyboard settings in the
QtQuick wizards.

Fixes: QTCREATORBUG-16657
Change-Id: I179930665bd163b1cf198467ab8b43bc72f8ec4a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-23 12:48:56 +00:00
Leena Miettinen
b73a2fffe0 Doc: Describe temporarily disabling a variable for batch editing
...build settings.

Task-number: QTCREATORBUG-20984
Change-Id: Id1dc755d046cc262c84a7bbe3f141660b2c8860d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-23 11:23:31 +00:00
Andre Hartmann
02fcc80f09 Doc: Remote Linux does not store passwords anymore
The possibility to store passwords was removed in
Creator 4.9.

Change-Id: I21e417041077f15fbb364b64f4a5c4e62e92f46a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-23 11:17:20 +00:00
Leena Miettinen
6948ceeea7 Doc: Clarify the options for adding subprojects
Task-number: QTWEBSITE-856
Change-Id: Ifde71f52fe41679c00691e92136b092c81d38afc
Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
2019-09-23 09:08:49 +00:00
Leena Miettinen
17f2def68c Doc: Explain changing between Windows and Unix line ending styles
Change-Id: Id4b74ea3e2edec7429d2312d0b8fc9e8ab1406d4
Reviewed-by: Marius Sincovici <smaryus@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-23 08:08:50 +00:00
Leena Miettinen
413b0b6279 Doc: Describe new build options
- Scheduling running projects after they are built
- Building for run configuration
- Continuing building other apps if one fails during "Build All"

Change-Id: I9f161199394495944c6e8482b50dd9a2b4c8a92d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-20 09:39:50 +00:00
Leena Miettinen
6200af0822 C++ class wizard: Update screenshots
Change-Id: If3135a1fdc93021b2c12fa40c9fab574025dad53
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-09-19 08:18:04 +00:00
Leena Miettinen
829cacfb87 Doc: Describe settings for opening files and handling open files
Task-number: QTCREATORBUG-21898
Change-Id: I8d6778f858ee8d328819c7377307beb6a9602bc4
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2019-09-18 07:14:24 +00:00
Leena Miettinen
99c0d3332e Doc: Add info about building apps for the web
Users have to install Qt for WebAssembly and the tool chain,
as well as add a kit.

Fixes: QTCREATORBUG-22927
Change-Id: Id22d5fb5e7d9e676d77f3f80880030cb9c1f61c7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-09-18 06:56:04 +00:00
Leena Miettinen
eb2691bd91 Doc: Describe applying font attributes from syntax definition files
Task-number: QTCREATORBUG-13545
Change-Id: I9449a1337f3de9bad00646392b3a5dbb7093b4eb
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-09-18 06:51:12 +00:00
Leena Miettinen
cf3cd8043b Doc: Add semantic highlighting to supported LSP services
Change-Id: I259aaac905b3950e10be48912e95cfca0596b1d1
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-09-18 06:50:53 +00:00
Eike Ziller
097892cc10 Merge remote-tracking branch 'origin/4.10'
Change-Id: I887fbf79ebfdf2af2719cb0d8aa56ab3dcb08fab
2019-09-17 16:20:52 +02:00
Leena Miettinen
31e0088223 Doc: Make description of "Rebuild" function apply to all build systems
It claimed that qmake is always run, which is incorrect for CMake and
Qbs.

Change-Id: I80f72d750a02a16b26514bb868f1d0f64124ef56
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-12 08:34:27 +00:00
Eike Ziller
8df0653bf8 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri
	src/plugins/projectexplorer/gcctoolchain.cpp
	src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp

Change-Id: Iffdf48e782a734107ea170ebb3812e997cea0e7b
2019-09-12 09:08:04 +02:00
Alexander Akulich
0e18503225 Doc: Small fix for 'Importing QML Modules / CMake' section
- Remove the unneeded curly braces around QML_IMPORT_PATH variable.
- Change the variable type format to upper-case to get rid CMake warning.

("CMake Warning: implicitly converting 'string' to 'STRING' type.")

Change-Id: I71827d3496093bc90fb5b45ab12b010108793818
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-09-09 07:27:45 +00:00
Eike Ziller
4b1987ba1f Merge remote-tracking branch 'origin/4.10'
Change-Id: Ida1659af5c9c72b67b01645c88aea4ea60e09b7f
2019-09-05 09:53:33 +02:00
Leena Miettinen
b4340b3361 Doc: Describe the Curve Editor
Modify the curve picker docs to try to make it clearer that the old
easing curve editor and the new curve editor are two separate things.

Change-Id: I6a57d151c0edef15850cff264a27d519fbe6635b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-04 15:32:01 +00:00
Leena Miettinen
b648749926 Doc: Describe setting Ninja as the CMake generator
Task-number: QTCREATORBUG-22889
Change-Id: Ide3e7ebdb08791790d2370ed6841ee203ea5548f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-03 14:00:49 +00:00
Nikolai Kosjar
0ba729e527 Import YAML-Parser yaml-cpp
Version: tags/yaml-cpp-0.6.2
  License: MIT

yaml-cpp requires c++11 and since yaml-cpp 0.6 there is no dependency on
boost anymore.

A YAML parser is needed for the ClangTools plugin to parse exported
diagnostics from clang-tidy/clazy:

  $ clang-tidy -export-fixes=/tmp/tidy.yaml source.cpp

The imported source is stripped of unneeded files as documented with

  src/libs/3rdparty/yaml-cpp/patches/0001-yaml-cpp-Strip-unneeded-sources.patch
  (generated with "git format-patch -D")

Change-Id: Ib0a521b5aff4b1cd058eb480bfb99fde4b320dc7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-30 08:42:22 +00:00
Tim Henning
7fec418205 Tracing: Add Chrome Trace Format Visualizer plugin
This new plugin adds a viewer for Chrome Trace Format (CTF) files
(aka Trace Event Format). It uses the same UI components as the
QML Profiler timeline and the Perf Profiler.

The Trace Event Format is generated by different kinds of tracing tools.
Usually the files are display with the trace-viewer, built into Chrome
(chrome://tracing). This plugin was developed because of the high memory
usage of trace-viewer, which makes it difficult to use with trace files
bigger than 100 MB.

The plugin fully supports all event types used in data generated by
LTTng, converted to CTF by https://github.com/KDAB/ctf2ctf.
Some of the more advanced event types used for example in Android system
traces, though, are not supported. The viewer will silently ignore
unsupported event types.

Supported Event Types:
- Begin, End, Duration and Instant events
- Counter events (graphs)
- Metadata events (process and thread name)

The plugin uses nlohmann/json instead of QJson because of the ~128 MB
object size limit by QJson.

[ChangeLog][Tracing][CtfVisualizer] Added Chrome Trace Format Visualizer plugin

Change-Id: I5969f7f83f3305712d4aec04487e2403510af64b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-08-29 13:37:04 +00:00
Eike Ziller
89f3b32104 Merge remote-tracking branch 'origin/4.10'
Change-Id: I0d4655b195d0615719d5d391aa69e682f8c6f78f
2019-08-26 09:45:01 +02:00
hjk
f629278684 Doc: Describe unclaimed and claimed breakpoints
Change-Id: I56bca8fe51cc4de63ce2f0ac195c9014c8b6c5b9
Reviewed-by: hjk <hjk@qt.io>
2019-08-23 09:50:20 +00:00
Eike Ziller
30143478f3 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	src/libs/utils/consoleprocess_win.cpp

Change-Id: Ibdc265eed2f7080726e11ff6f2931c8559943af2
2019-08-22 09:53:37 +02:00
Christian Kandeler
9f88fc881f GenericProjectManager: Support framework paths
Rather than adding yet another meta file, we use the .includes file with
a special line prefix.

Fixes: QTCREATORBUG-20099
Change-Id: I494e0143b8e0f1f8828a56d7487b2201f1680337
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-19 10:44:08 +00:00
Leena Miettinen
6ff6189cb5 Doc: Remove section on Checking JSON data structure
As the feature no longer seems to work.

Fixes: QTCREATORBUG-21024
Change-Id: I29cb03d70d5a5668b40066c9c6f75650dae65d44
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-08-19 07:48:42 +00:00
Eike Ziller
c71258a0df Merge remote-tracking branch 'origin/4.10'
Change-Id: I24ef6e5c83725185bafed04d38f2523f8aad1ddc
2019-07-29 09:49:02 +02:00
Leena Miettinen
28d1b6215c Doc: Update screenshots that display gradient picker
Because the icon has changed. Update some screenshots
on the affected pages for consistency.

Change-Id: Ib577be203f718f5b8ca9d5ad4e8c5dd9a3eac463
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-07-26 09:43:57 +00:00
Eike Ziller
8e376ab340 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	src/plugins/baremetal/iarewtoolchain.cpp

Change-Id: I483e81d7e920e724fb7cde84a8f6fa9bce4cd518
2019-07-25 09:38:09 +02:00
Leena Miettinen
a2a7dcd711 Doc: Update info about debugging Qt Quick projects
Update screenshots using the Design theme.

Change-Id: Idb8911329fb9bb05e34d647f4deb0ad9d47402e2
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-07-24 07:21:11 +00:00
Leena Miettinen
93c403e444 Doc: Separate C++ and QML info about evaluating expressions
Also move info about inspecting basic Qt objects to a separate
session.

Change-Id: I60b0da446ad23cb76549d9ccf56bd9313c9a7127
Reviewed-by: hjk <hjk@qt.io>
2019-07-23 12:12:30 +00:00
Eike Ziller
4ce34fd90f Merge remote-tracking branch 'origin/4.10'
Change-Id: I88a6704fb8d723a3cbdfb1a2d9c84741f30d4da6
2019-07-22 09:34:47 +02:00
Leena Miettinen
83f83e0b54 Doc: Update info on LLDB support
LLDB is no longer considered experimental on Linux.

Change-Id: I56947461564ca5778ead6abdbf0bc70a80bfb9de
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-07-18 11:26:20 +00:00
Eike Ziller
f689f86be5 Merge remote-tracking branch 'origin/4.10'
Change-Id: I1193e94353c14492a9e7f093fbcd3fa53f83e390
2019-07-18 07:30:29 +02:00
Leena Miettinen
191bb8d383 Doc: Describe color and gradient pickers
Change-Id: I18f95377f29cabed5be309a04efcdd955e46ddd0
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-07-17 10:49:40 +00:00
Leena Miettinen
e768a63af1 Doc: Add link to the Qt Quick Controls customization reference
Change-Id: I2eb4e63a7b6ac13c16272a7b5db2f0d07a4e9382
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-07-17 10:38:40 +00:00
Leena Miettinen
bcc41909c5 Doc: Fix typo "versions" > "version"
Change-Id: I8999ce4a9595562a289dc829666be259c551a746
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-07-17 09:50:05 +00:00
Leena Miettinen
fa5133a7cb Doc: Update screenshot showing Build & Run General options
Change-Id: I90ba3e8d1027c963c3615f4f943dc79c1597c696
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-07-17 07:17:32 +00:00