Commit Graph

650 Commits

Author SHA1 Message Date
Leena Miettinen
da95472eb7 Doc: Describe using precompiled headers in generic projects
Users can add the pch tag after a file path in .files.

Task-number: QTCREATORBUG-26610
Change-Id: I55cc6ef86c6371658845d233614bebad2a20e35d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-02-04 12:48:15 +00:00
Leena Miettinen
a3ca2f4c31 Doc: Describe new search options
In incremental search, you can now Select All occurrences of
a search term and open Advanced search.

Task-number: QTCREATORBUG-26610
Change-Id: I264f9c7ae7f73aab0ef63e5b70914ff6cdb2f02c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-02-02 15:38:37 +00:00
Leena Miettinen
749a9b27ec Doc: Describe Language Client Inspector
Users can inspect the communication between Qt Creator
and language servers and view server capabilities.

Task-number: QTCREATORBUG-26929
Change-Id: I9ad4518eea030ba70dda2f0b956b319b3682af0f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-02-01 08:45:18 +00:00
Christian Kandeler
a77f5d41b4 CppEditor: No longer refer to clangd as experimental in the UI
Change-Id: Iadfbdf23a92ee551fff03f5eb5b8a1b2b15b0870
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-01-31 13:58:16 +00:00
Leena Miettinen
8ace5d3895 Doc: Update info about ClangFormat options
The options are now in a separate tab.

Fixes: QTCREATORBUG-26597
Change-Id: If2d337c132f468897cd71e217205c3db29028f34
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-01-27 14:58:21 +00:00
Eike Ziller
c6fdb66b2b Collect Qt Creator debug menu items into common submenu
instead of spreading them over the place.

- rename "Logger..." to "Show Logs..."
- create "Tools > Debug Qt Creator" menu and put "Show Logs", "Inspect
Language Clients" and "Inspect C++ Code Model" there
- add missing ellipsis

That gets rid of the otherwise not useful "Language Client" submenu, and
creates a nicer place for the "Show Logs" item.

Change-Id: I2588b4c93327669579979dfbfce37005ada29dab
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2022-01-26 12:59:21 +00:00
Knud Dollereder
ebac821e9e Replace minitrace with nanotrace
Minitrace is a library to produce json traces suitable for chromes
built-in trace viewer. Unfortunately it lacks the ability to add
custom arguments to the json files which is needed in our case
in order to examine Design Studios state from within the evaluating
python script. Nanotrace is a rewrite of minitrace that adds this
ability. Additional benefits are higher precision and the fact that
it is written in c++.

Change-Id: Id2610b93188483d88547369c3fa8dacbe4dee9f7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2022-01-25 14:25:04 +00:00
Leena Miettinen
a86979ddce Doc: Update screenshots of Welcome mode
The Welcome mode has been redesigned. The screenshots use
the Flat Dark theme. No text changes are needed.

Fixes: QTCREATORBUG-26884
Change-Id: Ic0d785fee78d50f6cb44d8a1cb17fe691d2167d4
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-01-24 17:31:24 +00:00
Leena Miettinen
7a5b71b9b8 Doc: Update CMakeLists.txt files used in Qt Quick tutorials
...to the ones created by version 7.0 wizard templates.

Task-number: QTCREATORBUG-26610
Change-Id: I67409b5ba4800199f209d9ad1a85c6657e9210df
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-01-21 09:52:41 +00:00
Eike Ziller
7a94cca007 Merge remote-tracking branch 'origin/6.0'
Change-Id: Ia208fc746333e3d36868c580aa7794da9627c3e0
2022-01-14 10:24:10 +01:00
Leena Miettinen
fd6380f935 Doc: Describe deploying apps to embedded Linux devices
- Describe deployment process in the instructions for generic
  remote Linux devices and link to there from the instructions
  for specific devices.
- Update instructions for adding files when using CMake and remove
  the include file.
- Add an example of adding files to deploy when using qmake.

Fixes: QTCREATORBUG-26616
Change-Id: I07cf9169da384dd65adc6935110e4dcbeb3e308b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-14 07:31:34 +00:00
Cristian Adam
45e078541e Doc: Update Clang version / URL in README.md
Change-Id: Ic0e1865cf6761436a12d8f36d1af80e462118c2f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-01-13 11:07:49 +00:00
Eike Ziller
9056d708fa Merge remote-tracking branch 'origin/6.0'
Change-Id: I642abb110bb120e20af11a5d55244c03e6c48caa
2022-01-12 13:59:10 +01:00
Leena Miettinen
51209b991a Doc: Update Beautifier options screenshot to show correct exe
The current image shows the path to clangbackend.exe instead of
the path to clang-format.exe.

Fixes: QTCREATORBUG-26820
Change-Id: If445f0917ca1bde329e2a5c5410f0e071df566cf
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-01-10 16:47:00 +00:00
The Qt Project
0866b26308 Merge "Merge remote-tracking branch 'origin/6.0'" 2022-01-06 12:14:28 +00:00
Eike Ziller
65e8c864af Merge remote-tracking branch 'origin/6.0'
Change-Id: I405e3f95b0cdcd7b2686f31baae16c03c787f007
2022-01-06 11:55:39 +01:00
Alessandro Portale
78e229716d Docs: Convert UI icon pngs in the docs to grey-on-transparent
Use the new tool from the prior commit to recolor the icons from black-
on-white or black-on-transparent to grey-on-transparent in order to
ensure a proper visible contrast against dark and bright background of
the online docs.

Fixes: QTCREATORBUG-26644
Change-Id: Ie48b9da269426e3a98a9d70bdf9950cdd924b64d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2022-01-06 09:56:54 +00:00
Leena Miettinen
243521380b Doc: Update CMakeLists.txt files of tutorial example apps
To match the files generated by the application wizards.

Change-Id: If749a6dcc25eacb9daef451fec6abbc879bbc8a8
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2022-01-06 09:45:03 +00:00
Leena Miettinen
6635678a1c Doc: Update screenshots
The instructions for the following options pages have already
been updated:

- Tools > Options > FakeVim > General
- Tools > Options > Code Pasting > General
- Tools > Options > Testing > Qt Test

Fixes: QTCREATORBUG-26608
Change-Id: Ia0c245239bb993a5eed47c821d2390d3f0cb33c2
Reviewed-by: hjk <hjk@qt.io>
2022-01-05 08:14:36 +00:00
Leena Miettinen
8d06519211 Doc: Describe new and modified Debugger keyboard shortcuts
F9 (F8 on macOS) is now Set or Remove Breakpoint and
Ctrl+9 (Ctrl+8) was added for Enable or Disable Breakpoint.

Task-number: QTCREATORBUG-26788
Change-Id: I54ddf2f15812dd5349ac31c8afade84c0e3fff96
Reviewed-by: hjk <hjk@qt.io>
2022-01-04 09:47:24 +00:00
Eike Ziller
85b60d9608 Merge remote-tracking branch 'origin/6.0'
Conflicts:
	src/plugins/coreplugin/editormanager/editormanager.cpp

Change-Id: I80fe565749ad5c06dfe99436f2dc6ab4b66a2537
2021-12-16 10:50:33 +01:00
Christiaan Janssen
b9b9075300 Docs: update requirements for Qt for MCUs
Task-number: UL-5063
Change-Id: I3e92e29c636f4dee649fb1107ea58d6eac0768d4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-12-15 15:26:33 +00:00
Leena Miettinen
229d26df6f Doc: Describe CMake config for debugging running Qt Quick apps
The target_compile_definitions(myapp PRIVATE QT_QML_DEBUG) command
is used.

Task-number: QTCREATORBUG-26616
Change-Id: Ifde5f6f11081afa8af19e0339733d7380d1d14be
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-14 08:04:37 +00:00
Leena Miettinen
749bc57046 Doc: Describe library declaration in CMakeLists.txt files
The C++ Library wizard template adds target_link_libraries when
CMake is selected as the build system.

Task-number: QTCREATORBUG-26616
Change-Id: Ib3e42530d0b0f8f288849fed539e0d7b5ee42eb6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2021-12-13 12:24:40 +00:00
Leena Miettinen
d420e7f5ee Doc: Fix paths to moved icons on the QDS side
- Copy missing icons from utils to doc/qtdesignstudio/images/icons
- Use gray-scale icons for keyframe icons

Task-number: QTCREATORBUG-26644
Change-Id: I3905f17317078b489ad3b33470657eb3e1fd48f5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-12-10 17:30:30 +00:00
Christian Stenger
3989245562 AutoTest: Allow handling of maximum warnings for QtTest
If the maximum number of warnings is reached the test will be
canceled automatically. Allow to handle this from the user side
in case it might be needed.

Fixes: QTCREATORBUG-26637
Change-Id: I239eca280cdc2ce46f6d64cd53b8f3ad0205f7f2
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-12-10 05:42:03 +00:00
Eike Ziller
d422b408e0 Merge remote-tracking branch 'origin/6.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri

Change-Id: I32991a77e52831dd2e24cf4a51ec252998c2d743
2021-12-09 12:04:32 +01:00
Leena Miettinen
eae031df4a Doc: Copy icons from sources to \doc\qtcreator\images\icons
- Fix the paths to them in .qdoc files
- Remove paths to source folders from .qdocconf files

This is the second step towards making the icons visible in both
dark and light online doc modes.

Task-number: QTCREATORBUG-26644
Change-Id: I6995ea716df78cf0f285175515d1466ee20e317b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-12-09 10:44:55 +00:00
Leena Miettinen
48fafae034 Doc: Move all icon images to images/icons and fix references to them
As a first step to making the images visible in both dark and light
online doc modes.

Task-number: QTCREATORBUG-26644
Change-Id: If7da7fec69d1114201d2832b4228b4dba0f090f0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-12-09 08:01:40 +00:00
Leena Miettinen
e71e6b9583 Doc: Move QDS icons to doc\qtdesignstudio\images\icons
These icons are only used in the QDS docs.

Change-Id: I4404b52e07bcfa06ead8ef5c784af8033dd65f8e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2021-12-08 16:47:16 +00:00
Leena Miettinen
f6757fd87f Doc: Add CMake equivalent for LSMinimumSystemVersion
...in an Info.plist file.

Also remove "Qt 5", because this also applies to Qt 6 apps.

Task-number: QTCREATORBUG-26616
Change-Id: I2041506dccf719559d53f066dfe5acc864a51569
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2021-12-08 15:47:07 +00:00
Leena Miettinen
7bb558fa64 Doc: Describe specifying default config file for Beautifier
...when using CMake as the build system.

Task-number: QTCREATORBUG-26616
Change-Id: I03cadcc1eea6a50b52b59f6ab76931d988f09058
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-08 15:46:49 +00:00
Leena Miettinen
c12b09e543 Doc: Describe showing additional files in Projects view
...when using CMake.

Add link targets for CMake command and property docs, because
at least the "install" command is needed in several places in the
manual.

Task-number: QTCREATORBUG-26616
Change-Id: I204325741925080532e8944578464cf4e1cb648f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-08 15:46:40 +00:00
Leena Miettinen
e545e8fdbb Doc: Add info about integrating wizards into CMake builds
Add CMake to the example of creating a selection list for
choosing build systems in a custom wizard.

Task-number: QTCREATORBUG-26616
Change-Id: I0bb7e59b8a2f6d42d139de7a24c033dabbe6da6a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-08 11:51:24 +00:00
Leena Miettinen
d81f48964d Doc: Mention that lupdate and lrelease integration is qmake-only
Add a link to information about using the tools with CMake.

Task-number: QTCREATORBUG-26616
Change-Id: I44c3701703e8831dcb4a89f3bd1ecb14fb3c4853
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-08 10:50:56 +00:00
Leena Miettinen
e2b40333fe Doc: Mention that SUBDIRS are only used for qmake projects
Task-number: QTCREATORBUG-26616
Change-Id: I359846f21bcf234fe1d804bc9e7916092f7dd939
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-08 10:50:17 +00:00
Leena Miettinen
9b4e68dd84 Doc: Describe creating GUI apps and app bundles using CMake
The default behavior is opposite from when using qmake.

Task-number: QTCREATORBUG-26616
Change-Id: I9ec0f1a961e8d0cb25957dddcceec79cffbf292b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-07 08:13:55 +00:00
Leena Miettinen
4a37833803 Doc: Improve FAQ answer about QML imports
Even though CMake was mentioned, the text could be made more
general.

Task-number: QTCREATORBUG-26616
Change-Id: I6ff59e96559579c773d8ae1313f96800597e0ccc
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2021-12-06 08:31:50 +00:00
Leena Miettinen
ccc5223d94 Doc: Describe adding other projects to CMake projects
Mostly, this is explained in CMake documentation. There is
currently no special support for this in Qt Creator.

Task-number: QTCREATORBUG-26616
Change-Id: I7981324e04be6fc716256754db9f2089eaffee73
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-03 12:02:20 +00:00
Leena Miettinen
be059ac11a Doc: Fix info about qtc_runnable for CMake and qmake
Combine the sections and fix misleading information.

Task-number: QTCREATORBUG-26616
Change-Id: I6349d7f6d6765b8f76d391a48c232bf68ed124f6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-12-03 09:31:52 +00:00
Eike Ziller
d097314873 Split "New File or Project" into "File" and "Project" parts
This was non-standard to begin with, and splitting it makes it
possible to have different designs for New Project and New File dialogs
that are more tailored for the different needs (as is done in
Design Studio)

Change-Id: Ie6246e3c3f3527702c4562ec6f8fcbf5fae6c6ad
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2021-12-02 11:02:35 +00:00
Eike Ziller
421d8038dc Merge remote-tracking branch 'origin/6.0'
Change-Id: I2ae142f02ee184d756932bf594c25addd3c2676c
2021-12-02 09:31:03 +01:00
Mats Honkamaa
06e1182574 Doc: Split the Examples and Tutorials Section into two pages
Splitting Examples and Tutorials to own separate pages.

Task-number: QDS-5495
Change-Id: I0014f1ab456298e9b5887b511f608725ec9d2455
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2021-12-01 13:15:28 +00:00
Eike Ziller
d62d0f305b Merge remote-tracking branch 'origin/6.0'
Change-Id: I71b19dd8ecd96a7a2a58622f68283b8635264e48
2021-12-01 09:24:05 +01:00
Leena Miettinen
b6fe15294e Doc: Add CMake way of making global changes to build environment
Task-number: QTCREATORBUG-26616
Change-Id: I67668c64c6e61e36f35a33947c19be5ec1651dad
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2021-12-01 07:49:28 +00:00
Leena Miettinen
4c82d69779 Doc: Update info about opening output panes
- Describe additional ways to open output panes.
- Add a screenshot of the taskbar.
- Add descriptions of related icons.
- Fix the Maximize Output Pane command keyboard shortcut.

Task-number: QTCREATORBUG-26278
Change-Id: I92712d1542871119e4402df18bd10c9563a335d3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-11-29 15:30:50 +00:00
Leena Miettinen
0f4a203337 Doc: Edit the How-tos for grammar and punctuation
Also remove the specific mention of Shift key for enclosing
code because that requires Ctrl for curly braces on some
keyboards.

Task-number: QTCREATORBUG-26278
Change-Id: I7daa02392e9f405264bbc5960ad569ea2a4b281b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-11-29 12:18:24 +00:00
Leena Miettinen
0215a31c4a Doc: Update Performance Analyzer docs
- Describe Create Memory Trace Points button
- Describe Create Memory Trace Points dialog in more detail
- Fix "Load perf.data File" menu item name
- Update screenshots

Task-number: QTCREATORBUG-26278
Change-Id: I028d8da6f19a61bbe457c94287779c2aed0ab7ba
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2021-11-29 08:13:58 +00:00
Leena Miettinen
136bb81776 Doc: Add missing space
Change-Id: If4480bf34d5ecf5aeab55cd5212865150ffa4568
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2021-11-26 17:47:50 +00:00
Leena Miettinen
3858181e61 Doc: Describe selecting run targets in kit selector
If several run targets, such as tests or AVDs are configured for
a project, users can select the one to run in the kit selector.

Task-number: QTCREATORBUG-26278
Change-Id: Iaa4828865db7be488ec426c4284573156e5131db
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2021-11-26 10:53:51 +00:00