diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2019-07-03 17:51:56 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2019-07-04 07:57:14 +0000 |
commit | c4b80a2ec0973d18fd01e9660f36cdfc2421edee (patch) | |
tree | 03b656d923e980b856b361de2ae8580c41a955ad /doc/src | |
parent | f643f8779355df99536d29778b558b4075925248 (diff) |
Doc: Update info about using compilation databases
You can add files to them, switch between header and source files,
and specify build and run settings for them.
Change-Id: Iefc7d6bef5a8280badf2d88d0cc1af3bcf9a8485
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/editors/creator-only/creator-compilation-database.qdocinc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/src/editors/creator-only/creator-compilation-database.qdocinc b/doc/src/editors/creator-only/creator-compilation-database.qdocinc index b1481f561d..b12b59dd70 100644 --- a/doc/src/editors/creator-only/creator-compilation-database.qdocinc +++ b/doc/src/editors/creator-only/creator-compilation-database.qdocinc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2018 The Qt Company Ltd. +** Copyright (C) 2019 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -40,10 +40,20 @@ To generate a compilation database from the information that the code model has, select \uicontrol Build > \uicontrol {Generate Compilation Database}. + You can add files, such as non-C files, to the project in + \e {compile_database.json.files}. + You can use the experimental Compilation Database Project Manager to open the files in a compilation database with access to all the editing features provided by the Clang code model. + To switch between header and source files, select \uicontrol Tools > + \uicontrol C++ > \uicontrol {Switch Header/Source}. + + You can specify custom build steps and run settings for compilation + database projects in the \uicontrol Projects mode. For more information, + see \l{Adding Custom Build Steps} and \l {Specifying Run Settings}. + To enable the plugin, select \uicontrol Help > \uicontrol {About Plugins} > \uicontrol {Build Systems} > \uicontrol {Compilation Database Project Manager}. Then restart \QC to load the plugin. |