forked from qt-creator/qt-creator
Doc: Replace "options" with "preferences"
...when referring to Preferences dialog. Task-number: QTCREATORBUG-27560 Change-Id: I2f41420b0ec5955d84ad715d239209adddff0529 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -135,7 +135,7 @@
|
|||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Analyzer >
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Analyzer >
|
||||||
\uicontrol {Clang Tools}.
|
\uicontrol {Clang Tools}.
|
||||||
|
|
||||||
\image qtcreator-clang-tools-options.png "Clang Tools options tab"
|
\image qtcreator-clang-tools-options.png "Clang Tools preferences"
|
||||||
|
|
||||||
\li In the \uicontrol Clang-Tidy and \uicontrol Clazy-Standalone fields,
|
\li In the \uicontrol Clang-Tidy and \uicontrol Clazy-Standalone fields,
|
||||||
set the paths to the executables to use.
|
set the paths to the executables to use.
|
||||||
|
|||||||
@@ -98,8 +98,8 @@
|
|||||||
|
|
||||||
\section1 Changing Fonts and Colors
|
\section1 Changing Fonts and Colors
|
||||||
|
|
||||||
To change the default fonts and colors, select \uicontrol Tools >
|
To change the default fonts and colors, select \uicontrol Edit >
|
||||||
\uicontrol Options > \uicontrol {Text Editor} > \uicontrol {Font & Colors}.
|
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol {Font & Colors}.
|
||||||
Create your own color scheme and select new fonts and colors for the
|
Create your own color scheme and select new fonts and colors for the
|
||||||
following results:
|
following results:
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
For more information about analyzing applications for which you do not have
|
For more information about analyzing applications for which you do not have
|
||||||
a project, see \l{Running Valgrind Tools on External Applications}.
|
a project, see \l{Running Valgrind Tools on External Applications}.
|
||||||
|
|
||||||
To select options for the Valgrind tools, select \uicontrol Edit >
|
To set preferences for the Valgrind tools, select \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol Analyzer. You can override the general
|
\uicontrol Preferences > \uicontrol Analyzer. You can override the general
|
||||||
settings for each project in the \uicontrol {Run Settings} for the project.
|
settings for each project in the \uicontrol {Run Settings} for the project.
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
\uicontrol Android on Windows and Linux or \uicontrol {\QC} >
|
\uicontrol Android on Windows and Linux or \uicontrol {\QC} >
|
||||||
\uicontrol Preferences > \uicontrol Devices > \uicontrol Android on
|
\uicontrol Preferences > \uicontrol Devices > \uicontrol Android on
|
||||||
\macos.
|
\macos.
|
||||||
\image qtcreator-options-android-main.png "Android options"
|
\image qtcreator-options-android-main.png "Android preferences"
|
||||||
\li In the \uicontrol {JDK location} field, set the path to the JDK.
|
\li In the \uicontrol {JDK location} field, set the path to the JDK.
|
||||||
\QC checks the JDK installation and reports errors.
|
\QC checks the JDK installation and reports errors.
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
The bare metal device type accepts custom GDB commands that you specify in
|
The bare metal device type accepts custom GDB commands that you specify in
|
||||||
the device options. You can specify the commands to execute when connecting
|
the device preferences. You can specify the commands to execute when connecting
|
||||||
using a particular debug server provider.
|
using a particular debug server provider.
|
||||||
|
|
||||||
The following debug server providers are supported when using GDB:
|
The following debug server providers are supported when using GDB:
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
\l{https://github.com/EmBitz/EBlink}{EBlink} is an ARM Cortex-M debug tool
|
\l{https://github.com/EmBitz/EBlink}{EBlink} is an ARM Cortex-M debug tool
|
||||||
that supports squirrel scripting, live variables, and hot-plugging.
|
that supports squirrel scripting, live variables, and hot-plugging.
|
||||||
|
|
||||||
\image qtcreator-baremetal-eblink.png "Bare metal device options for EBlink"
|
\image qtcreator-baremetal-eblink.png "Bare metal device preferences for EBlink"
|
||||||
|
|
||||||
To specify settings for \EBlink:
|
To specify settings for \EBlink:
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
\l{https://www.segger.com/products/debug-probes/j-link/}{J-Link} is a line
|
\l{https://www.segger.com/products/debug-probes/j-link/}{J-Link} is a line
|
||||||
of debug probes by Segger.
|
of debug probes by Segger.
|
||||||
|
|
||||||
\image qtcreator-baremetal-jlink.png "Bare metal device options for J-Link"
|
\image qtcreator-baremetal-jlink.png "Bare metal device preferences for J-Link"
|
||||||
|
|
||||||
To specify settings for J-Link debug probes:
|
To specify settings for J-Link debug probes:
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
(JTAG) facility. It enables source level debugging with the GDB compiled
|
(JTAG) facility. It enables source level debugging with the GDB compiled
|
||||||
for the ARM architecture.
|
for the ARM architecture.
|
||||||
|
|
||||||
\image qtcreator-baremetal-openocd.png "Bare metal device options for OpenOCD"
|
\image qtcreator-baremetal-openocd.png "Bare metal device preferences for OpenOCD"
|
||||||
|
|
||||||
To specify settings for \OpenOCD:
|
To specify settings for \OpenOCD:
|
||||||
|
|
||||||
@@ -196,7 +196,7 @@
|
|||||||
\l{https://www.st.com/en/development-tools/stm32-programmers.html#products}
|
\l{https://www.st.com/en/development-tools/stm32-programmers.html#products}
|
||||||
{ST-LINK Utility} is used for programming STM32 microcontrollers.
|
{ST-LINK Utility} is used for programming STM32 microcontrollers.
|
||||||
|
|
||||||
\image qtcreator-baremetal-stlink.png "Bare metal device options for St-Link"
|
\image qtcreator-baremetal-stlink.png "Bare metal device preferences for St-Link"
|
||||||
|
|
||||||
To specify settings for St-Link:
|
To specify settings for St-Link:
|
||||||
|
|
||||||
@@ -234,7 +234,7 @@
|
|||||||
|
|
||||||
\section3 uVision Simulator
|
\section3 uVision Simulator
|
||||||
|
|
||||||
\image qtcreator-baremetal-uvision-simulator.png "Bare metal device options for uVision Simulator"
|
\image qtcreator-baremetal-uvision-simulator.png "Bare metal device preferences for uVision Simulator"
|
||||||
|
|
||||||
To specify settings for uVision Simulator or uVision St-Link Debugger:
|
To specify settings for uVision Simulator or uVision St-Link Debugger:
|
||||||
|
|
||||||
@@ -251,7 +251,7 @@
|
|||||||
|
|
||||||
\section3 uVision St-Link Debugger
|
\section3 uVision St-Link Debugger
|
||||||
|
|
||||||
\image qtcreator-baremetal-uvision-st-link.png "Bare metal device options for uVision St-Link"
|
\image qtcreator-baremetal-uvision-st-link.png "Bare metal device preferences for uVision St-Link"
|
||||||
|
|
||||||
To specify settings for uVision St-Link Debugger:
|
To specify settings for uVision St-Link Debugger:
|
||||||
|
|
||||||
@@ -268,7 +268,7 @@
|
|||||||
|
|
||||||
\section1 Adding Bare Metal Devices
|
\section1 Adding Bare Metal Devices
|
||||||
|
|
||||||
\image qtcreator-baremetal-devices.png "Bare Metal device options"
|
\image qtcreator-baremetal-devices.png "Bare Metal device preferences"
|
||||||
|
|
||||||
To add a bare metal device:
|
To add a bare metal device:
|
||||||
|
|
||||||
@@ -291,7 +291,7 @@
|
|||||||
devices, select \uicontrol Edit > \uicontrol Preferences > \uicontrol Kits
|
devices, select \uicontrol Edit > \uicontrol Preferences > \uicontrol Kits
|
||||||
> \uicontrol Add. For more information, see \l{Adding Kits}.
|
> \uicontrol Add. For more information, see \l{Adding Kits}.
|
||||||
|
|
||||||
\image qtcreator-baremetal-kit.png "Kit options for Bare Metal"
|
\image qtcreator-baremetal-kit.png "Kit preferences for Bare Metal"
|
||||||
|
|
||||||
You can build applications for and run them on bare metal devices
|
You can build applications for and run them on bare metal devices
|
||||||
in the same way as for and on the desktop. For more information, see
|
in the same way as for and on the desktop. For more information, see
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
> \uicontrol Preferences > \uicontrol Debugger. In the \uicontrol General tab,
|
> \uicontrol Preferences > \uicontrol Debugger. In the \uicontrol General tab,
|
||||||
you can specify settings that are common to all debuggers.
|
you can specify settings that are common to all debuggers.
|
||||||
|
|
||||||
\image qtcreator-debugger-general-options.png
|
\image qtcreator-debugger-general-options.png "Debugger General preferences"
|
||||||
|
|
||||||
You can customize the appearance and behavior of the debug views,
|
You can customize the appearance and behavior of the debug views,
|
||||||
\l{Specifying Breakpoint Settings}{specify settings for breakpoints},
|
\l{Specifying Breakpoint Settings}{specify settings for breakpoints},
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
To specify settings for managing the GDB process, select \uicontrol Edit >
|
To specify settings for managing the GDB process, select \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol Debugger > \uicontrol GDB.
|
\uicontrol Preferences > \uicontrol Debugger > \uicontrol GDB.
|
||||||
|
|
||||||
\image qtcreator-gdb-options.png "GDB options"
|
\image qtcreator-gdb-options.png "GDB preferences"
|
||||||
|
|
||||||
To specify a timeout for terminating non-responsive GDB processes, set the
|
To specify a timeout for terminating non-responsive GDB processes, set the
|
||||||
number of seconds to wait in the \uicontrol {GDB timeout} field. The default
|
number of seconds to wait in the \uicontrol {GDB timeout} field. The default
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
Enabling them may negatively impact your debugging experience, so use
|
Enabling them may negatively impact your debugging experience, so use
|
||||||
them with care.
|
them with care.
|
||||||
|
|
||||||
\image qtcreator-gdb-extended-options.png "GDB Extended options"
|
\image qtcreator-gdb-extended-options.png "GDB Extended preferences"
|
||||||
|
|
||||||
To use asynchronous mode to control the inferior, select the
|
To use asynchronous mode to control the inferior, select the
|
||||||
respective check box.
|
respective check box.
|
||||||
@@ -165,7 +165,7 @@
|
|||||||
To specify settings for managing the CDB process, select \uicontrol Edit >
|
To specify settings for managing the CDB process, select \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol Debugger > \uicontrol CDB.
|
\uicontrol Preferences > \uicontrol Debugger > \uicontrol CDB.
|
||||||
|
|
||||||
\image qtcreator-cdb-options.png "CDB options"
|
\image qtcreator-cdb-options.png "CDB preferences"
|
||||||
|
|
||||||
You can specify additional arguments for starting CDB in the
|
You can specify additional arguments for starting CDB in the
|
||||||
\uicontrol {Additional arguments} field.
|
\uicontrol {Additional arguments} field.
|
||||||
|
|||||||
@@ -110,8 +110,9 @@
|
|||||||
\QC checks whether the compiled program is up-to-date, and rebuilds and
|
\QC checks whether the compiled program is up-to-date, and rebuilds and
|
||||||
deploys it if the \uicontrol {Build before deploying} field is set to
|
deploys it if the \uicontrol {Build before deploying} field is set to
|
||||||
build the whole project or the application to run and the
|
build the whole project or the application to run and the
|
||||||
\uicontrol {Always deploy before running} check box is selected in the
|
\uicontrol {Always deploy before running} check box is selected in
|
||||||
\uicontrol {Build and Run} options. To debug the program without deploying
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Build & Run} >
|
||||||
|
\uicontrol General. To debug the program without deploying
|
||||||
it, select \uicontrol Debug > \uicontrol {Start Debugging} >
|
it, select \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||||
\uicontrol {Start Debugging Without Deployment}.
|
\uicontrol {Start Debugging Without Deployment}.
|
||||||
|
|
||||||
@@ -900,7 +901,7 @@
|
|||||||
\uicontrol Debugger > \uicontrol {Locals & Expressions}, and enter the
|
\uicontrol Debugger > \uicontrol {Locals & Expressions}, and enter the
|
||||||
commands in the \uicontrol {Debugging Helper Customization} field.
|
commands in the \uicontrol {Debugging Helper Customization} field.
|
||||||
|
|
||||||
\image qtcreator-debugging-helper-options.png
|
\image qtcreator-debugging-helper-options.png "Locals & Expressions preferences"
|
||||||
|
|
||||||
If you receive error messages about receiving signals when using GDB, you
|
If you receive error messages about receiving signals when using GDB, you
|
||||||
can specify \l{https://sourceware.org/gdb/onlinedocs/gdb/Signals.html}
|
can specify \l{https://sourceware.org/gdb/onlinedocs/gdb/Signals.html}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
To specify settings for code completion, select \uicontrol Edit >
|
To specify settings for code completion, select \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Completion.
|
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Completion.
|
||||||
|
|
||||||
\image qtcreator-options-texteditor-completion.png "Text Editor Completion options"
|
\image qtcreator-options-texteditor-completion.png "Text Editor Completion preferences"
|
||||||
|
|
||||||
By default, code completion does not consider case. To apply full or
|
By default, code completion does not consider case. To apply full or
|
||||||
first-letter case-sensitivity, select \uicontrol Full or
|
first-letter case-sensitivity, select \uicontrol Full or
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
The following image shows built-in C++ code snippets:
|
The following image shows built-in C++ code snippets:
|
||||||
|
|
||||||
\image qtcreator-edit-code-snippets.png "C++ snippet options"
|
\image qtcreator-edit-code-snippets.png "C++ snippet preferences"
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
The following image shows built-in QML code snippets:
|
The following image shows built-in QML code snippets:
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
\title Indenting Text or Code
|
\title Indenting Text or Code
|
||||||
|
|
||||||
When you type text or code, it is indented automatically according to the
|
When you type text or code, it is indented automatically according to the
|
||||||
selected text editor or code style options. Select a block to indent it when
|
selected text editor or code style preferences. Select a block to indent it when
|
||||||
you press \key Tab. Press \key {Shift+Tab} to decrease the indentation. You
|
you press \key Tab. Press \key {Shift+Tab} to decrease the indentation. You
|
||||||
can disable automatic indentation.
|
can disable automatic indentation.
|
||||||
|
|
||||||
@@ -82,13 +82,13 @@
|
|||||||
the \uicontrol {Skip clean whitespace for file types} check box to
|
the \uicontrol {Skip clean whitespace for file types} check box to
|
||||||
exclude the specified file types.
|
exclude the specified file types.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-behavior.png "Text Editor Behavior options"
|
\image qtcreator-options-text-editor-behavior.png "Text Editor Behavior preferences"
|
||||||
|
|
||||||
To visualize whitespace in the editor, select \uicontrol Edit >
|
To visualize whitespace in the editor, select \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Display >
|
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Display >
|
||||||
\uicontrol {Visualize whitespace}.
|
\uicontrol {Visualize whitespace}.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-display.png "Text Editor Display options"
|
\image qtcreator-options-text-editor-display.png "Text Editor Display preferences"
|
||||||
|
|
||||||
To help you keep line length at a particular number of characters, set the
|
To help you keep line length at a particular number of characters, set the
|
||||||
number of characters in the \uicontrol {Display right margin at column}
|
number of characters in the \uicontrol {Display right margin at column}
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol {C++}.
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol {C++}.
|
||||||
\li In the \uicontrol {Current settings} field, select the settings to
|
\li In the \uicontrol {Current settings} field, select the settings to
|
||||||
modify and click \uicontrol Copy.
|
modify and click \uicontrol Copy.
|
||||||
\image qtcreator-options-code-style-cpp.png "C++ Code Style options"
|
\image qtcreator-options-code-style-cpp.png "C++ Code Style preferences"
|
||||||
\li Give a name to the settings and click \uicontrol OK.
|
\li Give a name to the settings and click \uicontrol OK.
|
||||||
\li Click \uicontrol Edit to specify code style settings for the project.
|
\li Click \uicontrol Edit to specify code style settings for the project.
|
||||||
\image qtcreator-code-style-settings-edit-cpp.png "Edit Code Style dialog"
|
\image qtcreator-code-style-settings-edit-cpp.png "Edit Code Style dialog"
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
\li Name getter functions.
|
\li Name getter functions.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
You can use the live preview to see how the options change the indentation.
|
You can use the live preview to see how the preferences change the indentation.
|
||||||
|
|
||||||
To specify different settings for a particular project, select
|
To specify different settings for a particular project, select
|
||||||
\uicontrol Projects > \uicontrol {Code Style}.
|
\uicontrol Projects > \uicontrol {Code Style}.
|
||||||
@@ -143,7 +143,7 @@
|
|||||||
\uicontrol {Qt Quick}.
|
\uicontrol {Qt Quick}.
|
||||||
\li In the \uicontrol {Current settings} field, select the settings to
|
\li In the \uicontrol {Current settings} field, select the settings to
|
||||||
modify and click \uicontrol Copy.
|
modify and click \uicontrol Copy.
|
||||||
\image qtcreator-options-code-style-qml.png "QML Code Style options"
|
\image qtcreator-options-code-style-qml.png "QML Code Style preferences"
|
||||||
\li Give a name to the settings and click \uicontrol OK.
|
\li Give a name to the settings and click \uicontrol OK.
|
||||||
\li Click \uicontrol Edit to specify code style settings for the project.
|
\li Click \uicontrol Edit to specify code style settings for the project.
|
||||||
\image qtcreator-code-style-settings-edit-qtquick.png "Edit Code Style dialog"
|
\image qtcreator-code-style-settings-edit-qtquick.png "Edit Code Style dialog"
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Nim.
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Nim.
|
||||||
\li In the \uicontrol {Current settings} field, select the settings to
|
\li In the \uicontrol {Current settings} field, select the settings to
|
||||||
modify and click \uicontrol Copy.
|
modify and click \uicontrol Copy.
|
||||||
\image qtcreator-options-code-style-nim.png "Nim Code Style options"
|
\image qtcreator-options-code-style-nim.png "Nim Code Style preferences"
|
||||||
\li Give a name to the settings and click \uicontrol OK.
|
\li Give a name to the settings and click \uicontrol OK.
|
||||||
\li Click \uicontrol Edit to specify code style settings for the project.
|
\li Click \uicontrol Edit to specify code style settings for the project.
|
||||||
\image qtcreator-code-style-settings-edit-nim.png "Edit Code Style dialog"
|
\image qtcreator-code-style-settings-edit-nim.png "Edit Code Style dialog"
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
QML code (such as Python code files), select \uicontrol Edit >
|
QML code (such as Python code files), select \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Behavior.
|
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Behavior.
|
||||||
|
|
||||||
\image qtcreator-indentation.png "Text Editor Behavior options"
|
\image qtcreator-indentation.png "Text Editor Behavior preferences"
|
||||||
|
|
||||||
To specify different settings for a particular project, select
|
To specify different settings for a particular project, select
|
||||||
\uicontrol Projects > \uicontrol Editor.
|
\uicontrol Projects > \uicontrol Editor.
|
||||||
@@ -229,10 +229,10 @@
|
|||||||
select \uicontrol {With Spaces}. To follow the \uicontrol {Tab policy},
|
select \uicontrol {With Spaces}. To follow the \uicontrol {Tab policy},
|
||||||
select \uicontrol {With Regular Indent}.
|
select \uicontrol {With Regular Indent}.
|
||||||
|
|
||||||
\section1 Specifying Typing Options
|
\section1 Setting Typing Preferences
|
||||||
|
|
||||||
When you type text or code, it is indented automatically according to the
|
When you type text or code, it is indented automatically according to the
|
||||||
selected text editor or code style options. To specify typing options,
|
selected text editor or code style preferences. To set typing preferences,
|
||||||
select \uicontrol Edit > \uicontrol Preferences > \uicontrol {Text Editor} >
|
select \uicontrol Edit > \uicontrol Preferences > \uicontrol {Text Editor} >
|
||||||
\uicontrol Behavior > \uicontrol Typing.
|
\uicontrol Behavior > \uicontrol Typing.
|
||||||
|
|
||||||
@@ -266,21 +266,21 @@
|
|||||||
You can also indent statements within functions and blocks and declarations
|
You can also indent statements within functions and blocks and declarations
|
||||||
within namespaces.
|
within namespaces.
|
||||||
|
|
||||||
\image qtcreator-code-style-content.png "Content options"
|
\image qtcreator-code-style-content.png "Content preferences"
|
||||||
|
|
||||||
\section1 Specifying Settings for Braces
|
\section1 Specifying Settings for Braces
|
||||||
|
|
||||||
You can indent class, namespace, enum and function declarations and code
|
You can indent class, namespace, enum and function declarations and code
|
||||||
blocks.
|
blocks.
|
||||||
|
|
||||||
\image qtcreator-code-style-braces.png "Braces options"
|
\image qtcreator-code-style-braces.png "Braces preferences"
|
||||||
|
|
||||||
\section1 Specifying Settings for Switch Statements
|
\section1 Specifying Settings for Switch Statements
|
||||||
|
|
||||||
You can indent case or default statements, or statements or blocks related
|
You can indent case or default statements, or statements or blocks related
|
||||||
to them within switch statements.
|
to them within switch statements.
|
||||||
|
|
||||||
\image qtcreator-code-style-switch.png "Switch options"
|
\image qtcreator-code-style-switch.png "Switch preferences"
|
||||||
|
|
||||||
\section1 Specifying Alignment
|
\section1 Specifying Alignment
|
||||||
|
|
||||||
@@ -293,7 +293,7 @@
|
|||||||
aligned with the following line. Usually, this only affects \c if
|
aligned with the following line. Usually, this only affects \c if
|
||||||
statements.
|
statements.
|
||||||
|
|
||||||
\image qtcreator-code-style-alignment.png "Alignment options"
|
\image qtcreator-code-style-alignment.png "Alignment preferences"
|
||||||
|
|
||||||
\section1 Binding Pointers and References
|
\section1 Binding Pointers and References
|
||||||
|
|
||||||
@@ -304,6 +304,6 @@
|
|||||||
The \c * and \c & characters are automatically bound to identifiers of
|
The \c * and \c & characters are automatically bound to identifiers of
|
||||||
pointers to functions and pointers to arrays.
|
pointers to functions and pointers to arrays.
|
||||||
|
|
||||||
\image qtcreator-pointers-references.png "Pointers and References options"
|
\image qtcreator-pointers-references.png "Pointers and References preferences"
|
||||||
\endif
|
\endif
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -97,7 +97,7 @@
|
|||||||
between lines can be useful if there is usually not enough space to
|
between lines can be useful if there is usually not enough space to
|
||||||
display annotations next to the text.
|
display annotations next to the text.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-display.png "Text Editor Display options"
|
\image qtcreator-options-text-editor-display.png "Text Editor Display preferences"
|
||||||
|
|
||||||
If you hide the annotations by deselecting the check box, you can move the
|
If you hide the annotations by deselecting the check box, you can move the
|
||||||
mouse pointer over an icon to view them.
|
mouse pointer over an icon to view them.
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
|
|
||||||
To change the default colors, select \uicontrol Edit > \uicontrol Preferences >
|
To change the default colors, select \uicontrol Edit > \uicontrol Preferences >
|
||||||
\uicontrol {Text Editor} > \uicontrol {Font & Colors}. Create your own color
|
\uicontrol {Text Editor} > \uicontrol {Font & Colors}. Create your own color
|
||||||
scheme and select new colors for the following options:
|
scheme and select new colors for the following items:
|
||||||
|
|
||||||
\list
|
\list
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
\uicontrol Preferences > \uicontrol {Text Editor} >
|
\uicontrol Preferences > \uicontrol {Text Editor} >
|
||||||
\uicontrol {Font & Colors}.
|
\uicontrol {Font & Colors}.
|
||||||
|
|
||||||
\image qtcreator-font-colors.png "Text editor options"
|
\image qtcreator-font-colors.png "Text editor preferences"
|
||||||
|
|
||||||
\section2 Configuring Fonts
|
\section2 Configuring Fonts
|
||||||
|
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Behavior, and
|
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Behavior, and
|
||||||
then select a suitable option in \uicontrol {Default encoding}.
|
then select a suitable option in \uicontrol {Default encoding}.
|
||||||
|
|
||||||
\image qtcreator-options-texteditor-behavior-file-encodings.png "File encoding options"
|
\image qtcreator-options-texteditor-behavior-file-encodings.png "File encoding preferences"
|
||||||
|
|
||||||
Qt 5 and Qt 6 require UTF-8 encoded source files, and therefore the default
|
Qt 5 and Qt 6 require UTF-8 encoded source files, and therefore the default
|
||||||
encoding is set to \uicontrol UTF-8.
|
encoding is set to \uicontrol UTF-8.
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
You can configure the text editor to suit your specific needs by selecting
|
You can configure the text editor to suit your specific needs by selecting
|
||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol{Text Editor}.
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol{Text Editor}.
|
||||||
|
|
||||||
\image qtcreator-font-colors.png "Text Editor options"
|
\image qtcreator-font-colors.png "Text Editor preferences"
|
||||||
|
|
||||||
The settings you specify apply globally to all projects.
|
The settings you specify apply globally to all projects.
|
||||||
|
|
||||||
|
|||||||
@@ -247,7 +247,7 @@
|
|||||||
|
|
||||||
\li In the locator, click \inlineimage icons/magnifier.png
|
\li In the locator, click \inlineimage icons/magnifier.png
|
||||||
(\uicontrol Options) and select \uicontrol Configure to open the
|
(\uicontrol Options) and select \uicontrol Configure to open the
|
||||||
\uicontrol Locator options.
|
\uicontrol Locator preferences.
|
||||||
|
|
||||||
\li Select a filter, and then select \uicontrol Edit.
|
\li Select a filter, and then select \uicontrol Edit.
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@
|
|||||||
\li To implicitly include the filter even when not typing a prefix as a
|
\li To implicitly include the filter even when not typing a prefix as a
|
||||||
part of the search string, select \uicontrol {Include by default}.
|
part of the search string, select \uicontrol {Include by default}.
|
||||||
|
|
||||||
\li Specify other available options. For more information, see
|
\li Set other available preferences. For more information, see
|
||||||
\l{Adding Web Search Engines}.
|
\l{Adding Web Search Engines}.
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
@@ -305,9 +305,9 @@
|
|||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li In the locator, select \uicontrol Options >
|
\li In the locator, select \uicontrol Options >
|
||||||
\uicontrol Configure to open the \uicontrol Locator options.
|
\uicontrol Configure to open the \uicontrol Locator preferences.
|
||||||
|
|
||||||
\image qtcreator-locator-customize.png "Locator options tab"
|
\image qtcreator-locator-customize.png "Locator preferences"
|
||||||
|
|
||||||
\li Select \uicontrol Add > \uicontrol {Files in Directories} to add
|
\li Select \uicontrol Add > \uicontrol {Files in Directories} to add
|
||||||
a directory filter or \uicontrol {URL Template} to add a URL
|
a directory filter or \uicontrol {URL Template} to add a URL
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
The Beautifier plugin parses the source code into component structures, such
|
The Beautifier plugin parses the source code into component structures, such
|
||||||
as assignment statements, if blocks, loops, and so on, and formats them as
|
as assignment statements, if blocks, loops, and so on, and formats them as
|
||||||
specified in the Beautifier options. You can use a predefined style or
|
specified in the Beautifier preferences. You can use a predefined style or
|
||||||
define your own style.
|
define your own style.
|
||||||
|
|
||||||
To use the Beautifier plugin:
|
To use the Beautifier plugin:
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
automatically beautify files when you save them using the tool you
|
automatically beautify files when you save them using the tool you
|
||||||
select in the \uicontrol Tool field.
|
select in the \uicontrol Tool field.
|
||||||
|
|
||||||
\image qt-creator-beautifier-options-general.png "General Beautifier options"
|
\image qt-creator-beautifier-options-general.png "General Beautifier preferences"
|
||||||
|
|
||||||
\li In the \uicontrol {Restrict to MIME types} field, define the MIME
|
\li In the \uicontrol {Restrict to MIME types} field, define the MIME
|
||||||
types of the files to beautify, separated by semicolons. Leave the
|
types of the files to beautify, separated by semicolons. Leave the
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
\uicontrol Uncrustify to specify settings for the tool you want to
|
\uicontrol Uncrustify to specify settings for the tool you want to
|
||||||
use.
|
use.
|
||||||
|
|
||||||
\image beautifier_options.png "Uncrustify Beautifier options"
|
\image beautifier_options.png "Uncrustify Beautifier preferences"
|
||||||
|
|
||||||
\li In the \uicontrol Configuration group, specify the path to
|
\li In the \uicontrol Configuration group, specify the path to
|
||||||
the tool executable in the \uicontrol {Artistic Style command},
|
the tool executable in the \uicontrol {Artistic Style command},
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
button, and then selecting the style to use from the list of
|
button, and then selecting the style to use from the list of
|
||||||
available styles.
|
available styles.
|
||||||
|
|
||||||
\image qtcreator-beautifier-options-clangformat.png "Clang Format Beautifier options"
|
\image qtcreator-beautifier-options-clangformat.png "Clang Format Beautifier preferences"
|
||||||
|
|
||||||
Select \uicontrol File to load the style configuration from
|
Select \uicontrol File to load the style configuration from
|
||||||
the \c .clang-format or \c _clang-format file located in the
|
the \c .clang-format or \c _clang-format file located in the
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol C++ >
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol C++ >
|
||||||
\uicontrol {Code Model}.
|
\uicontrol {Code Model}.
|
||||||
|
|
||||||
\image qtcreator-clang-code-model-options.png
|
\image qtcreator-clang-code-model-options.png "C++ Code Model preferences"
|
||||||
|
|
||||||
\li To instruct the code model to interpret ambiguous header files as C
|
\li To instruct the code model to interpret ambiguous header files as C
|
||||||
language files if you develop mainly using C, select the
|
language files if you develop mainly using C, select the
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol C++ >
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol C++ >
|
||||||
\uicontrol Clangd > \uicontrol {Use clangd}.
|
\uicontrol Clangd > \uicontrol {Use clangd}.
|
||||||
\image qtcreator-options-clangd.png "clangd options"
|
\image qtcreator-options-clangd.png "clangd preferences"
|
||||||
\li In \uicontrol {Path to executable}, enter the path to clangd
|
\li In \uicontrol {Path to executable}, enter the path to clangd
|
||||||
version 13, or later.
|
version 13, or later.
|
||||||
\li For more accurate results during global symbol searches, select
|
\li For more accurate results during global symbol searches, select
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol Edit > \uicontrol Preferences >
|
\li Select \uicontrol Edit > \uicontrol Preferences >
|
||||||
\uicontrol {Code Pasting}.
|
\uicontrol {Code Pasting}.
|
||||||
\image qtcreator-code-pasting-options.png "Code Pasting options"
|
\image qtcreator-code-pasting-options.png "Code Pasting preferences"
|
||||||
\li In the \uicontrol {Default protocol} field, select a code pasting
|
\li In the \uicontrol {Default protocol} field, select a code pasting
|
||||||
service to use by default.
|
service to use by default.
|
||||||
\li In the \uicontrol Username field, enter your username.
|
\li In the \uicontrol Username field, enter your username.
|
||||||
|
|||||||
@@ -118,7 +118,7 @@
|
|||||||
for particular plugins, select \uicontrol Edit > \uicontrol Preferences >
|
for particular plugins, select \uicontrol Edit > \uicontrol Preferences >
|
||||||
\uicontrol FakeVim > \uicontrol General > \uicontrol {Plugin Emulation}.
|
\uicontrol FakeVim > \uicontrol General > \uicontrol {Plugin Emulation}.
|
||||||
|
|
||||||
\image qtcreator-fakevim-options-general-plugin-emulation.png "FakeVim Plugin Emulation options"
|
\image qtcreator-fakevim-options-general-plugin-emulation.png "FakeVim Plugin Emulation preferences"
|
||||||
|
|
||||||
Currently emulated plugins:
|
Currently emulated plugins:
|
||||||
\list
|
\list
|
||||||
@@ -296,7 +296,7 @@
|
|||||||
Enter a string in the \uicontrol Filter field to search for a specific
|
Enter a string in the \uicontrol Filter field to search for a specific
|
||||||
\QC function.
|
\QC function.
|
||||||
|
|
||||||
\image qtcreator-fakevim-options-ex-command-mapping.png "FakeVim Ex Command Mapping options"
|
\image qtcreator-fakevim-options-ex-command-mapping.png "FakeVim Ex Command Mapping preferences"
|
||||||
|
|
||||||
Select a function in the list, and enter a string that will trigger the
|
Select a function in the list, and enter a string that will trigger the
|
||||||
function in the \uicontrol {Regular expression} field. You can view the
|
function in the \uicontrol {Regular expression} field. You can view the
|
||||||
@@ -311,14 +311,14 @@
|
|||||||
\uicontrol {User Command Mapping}. The user command mapped to the shortcut
|
\uicontrol {User Command Mapping}. The user command mapped to the shortcut
|
||||||
is executed by FakeVim as if you were typing it (as when replaying a macro).
|
is executed by FakeVim as if you were typing it (as when replaying a macro).
|
||||||
|
|
||||||
\image qtcreator-fakevim-options-user-command-mapping.png "FakeVim User Command Mapping options"
|
\image qtcreator-fakevim-options-user-command-mapping.png "FakeVim User Command Mapping preferences"
|
||||||
|
|
||||||
\section1 Specifying FakeVim Options
|
\section1 Setting FakeVim Preferences
|
||||||
|
|
||||||
To make changes to the Vim-style settings, select \uicontrol Edit >
|
To make changes to the Vim-style settings, select \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol FakeVim > \uicontrol General.
|
\uicontrol Preferences > \uicontrol FakeVim > \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-fakevim-options.png "FakeVim options"
|
\image qtcreator-fakevim-options.png "FakeVim preferences"
|
||||||
|
|
||||||
To preselect the indentation settings specified for the text editor, select
|
To preselect the indentation settings specified for the text editor, select
|
||||||
\uicontrol {Copy Text Editor Settings}. To preselect the Qt coding style,
|
\uicontrol {Copy Text Editor Settings}. To preselect the Qt coding style,
|
||||||
|
|||||||
@@ -189,7 +189,7 @@
|
|||||||
\image qtcreator-language-client-inspector-log.png "Language Client Inspector dialog"
|
\image qtcreator-language-client-inspector-log.png "Language Client Inspector dialog"
|
||||||
|
|
||||||
The dialog shows a list of running language servers. The value of the
|
The dialog shows a list of running language servers. The value of the
|
||||||
\uicontrol {Startup behavior} field in the language server options
|
\uicontrol {Startup behavior} field in the language server preferences
|
||||||
determines when the server is started. The information displayed depends on
|
determines when the server is started. The information displayed depends on
|
||||||
the language server.
|
the language server.
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
> \uicontrol {Generic Highlighter} and add the pattern to the
|
> \uicontrol {Generic Highlighter} and add the pattern to the
|
||||||
\uicontrol {Ignored file patterns} field.
|
\uicontrol {Ignored file patterns} field.
|
||||||
|
|
||||||
\image qtcreator-syntax-highlighter.png "Generic Highlighter options"
|
\image qtcreator-syntax-highlighter.png "Generic Highlighter preferences"
|
||||||
|
|
||||||
If you have written your own syntax definition files, you
|
If you have written your own syntax definition files, you
|
||||||
can provide an additional definition search path in the
|
can provide an additional definition search path in the
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
\uicontrol {Text Editor} > \uicontrol Display >
|
\uicontrol {Text Editor} > \uicontrol Display >
|
||||||
\uicontrol {Display folding markers}. This option is enabled by default.
|
\uicontrol {Display folding markers}. This option is enabled by default.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-display.png "Text Editor Display options"
|
\image qtcreator-options-text-editor-display.png "Text Editor Display preferences"
|
||||||
|
|
||||||
When the cursor is on a brace, the matching brace is animated by default. To
|
When the cursor is on a brace, the matching brace is animated by default. To
|
||||||
turn off the animation and just highlight the block and the braces, select
|
turn off the animation and just highlight the block and the braces, select
|
||||||
@@ -128,5 +128,5 @@
|
|||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Text Editor} >
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Text Editor} >
|
||||||
\uicontrol Behavior > \uicontrol {Enable smart selection changing}.
|
\uicontrol Behavior > \uicontrol {Enable smart selection changing}.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-behavior.png "Text Editor Behavior options"
|
\image qtcreator-options-text-editor-behavior.png "Text Editor Behavior preferences"
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
family, style, and size in \uicontrol Edit > \uicontrol Preferences >
|
family, style, and size in \uicontrol Edit > \uicontrol Preferences >
|
||||||
\uicontrol Help > \uicontrol General.
|
\uicontrol Help > \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-help-options.png
|
\image qtcreator-help-options.png "Help General preferences"
|
||||||
|
|
||||||
You can set the default zoom level in the \uicontrol Zoom field. When
|
You can set the default zoom level in the \uicontrol Zoom field. When
|
||||||
viewing help pages, you can use the mouse scroll wheel to zoom them. To
|
viewing help pages, you can use the mouse scroll wheel to zoom them. To
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Help >
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Help >
|
||||||
\uicontrol Filters.
|
\uicontrol Filters.
|
||||||
|
|
||||||
\image qtcreator-help-filter-attributes.png "Filters tab in Help options"
|
\image qtcreator-help-filter-attributes.png "Filters tab in Help preferences"
|
||||||
|
|
||||||
\li Select \inlineimage icons/plus.png
|
\li Select \inlineimage icons/plus.png
|
||||||
to add a new filter in the \uicontrol {Add Filter} dialog.
|
to add a new filter in the \uicontrol {Add Filter} dialog.
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
in context menus} check box indicates whether the platform default value
|
in context menus} check box indicates whether the platform default value
|
||||||
is \c on or \c off.
|
is \c on or \c off.
|
||||||
|
|
||||||
\image qtcreator-options-environment-interface.png "Interface tab in the Environment options"
|
\image qtcreator-options-environment-interface.png "Interface tab in the Environment preferences"
|
||||||
|
|
||||||
\section1 Configuring Keyboard Shortcuts
|
\section1 Configuring Keyboard Shortcuts
|
||||||
|
|
||||||
|
|||||||
@@ -418,7 +418,7 @@
|
|||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Testing} >
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Testing} >
|
||||||
\uicontrol General.
|
\uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-autotests-options.png
|
\image qtcreator-autotests-options.png "Testing General preferences"
|
||||||
|
|
||||||
You can customize some settings at project level. To change settings
|
You can customize some settings at project level. To change settings
|
||||||
for the current project instead of globally, select \uicontrol Projects >
|
for the current project instead of globally, select \uicontrol Projects >
|
||||||
@@ -541,7 +541,7 @@
|
|||||||
\li To specify settings for running Catch2 tests, select
|
\li To specify settings for running Catch2 tests, select
|
||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Testing} >
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Testing} >
|
||||||
\uicontrol {Catch Test}.
|
\uicontrol {Catch Test}.
|
||||||
\image qtcreator-autotests-options-catch2.png "Catch Test options"
|
\image qtcreator-autotests-options-catch2.png "Catch Test preferences"
|
||||||
\li Select the \uicontrol {Show success} check box to show succeeding
|
\li Select the \uicontrol {Show success} check box to show succeeding
|
||||||
expressions as well. By default Catch2 will print only fails.
|
expressions as well. By default Catch2 will print only fails.
|
||||||
\li Select the \uicontrol {Break on failure while debugging} check box
|
\li Select the \uicontrol {Break on failure while debugging} check box
|
||||||
@@ -573,7 +573,7 @@
|
|||||||
\li To specify settings for running CTest-based tests, select
|
\li To specify settings for running CTest-based tests, select
|
||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Testing} >
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Testing} >
|
||||||
\uicontrol {CTest}.
|
\uicontrol {CTest}.
|
||||||
\image qtcreator-autotests-options-ctest.png "CTest options"
|
\image qtcreator-autotests-options-ctest.png "CTest preferences"
|
||||||
\li Select the \uicontrol {Output on failure} check box to show test
|
\li Select the \uicontrol {Output on failure} check box to show test
|
||||||
specific output if a test fails. Contrary to the CTest default
|
specific output if a test fails. Contrary to the CTest default
|
||||||
this is enabled by default.
|
this is enabled by default.
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
\image qtcreator-incredibuild-build-steps-linux.png
|
\image qtcreator-incredibuild-build-steps-linux.png
|
||||||
|
|
||||||
You can specify the following options for Linux builds:
|
You can specify the following settings for Linux builds:
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li \uicontrol {Nice value} is a numeric value between -20 and 19
|
\li \uicontrol {Nice value} is a numeric value between -20 and 19
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
\image qtcreator-incredibuild-build-steps-windows.png
|
\image qtcreator-incredibuild-build-steps-windows.png
|
||||||
|
|
||||||
You can specify the following options for Windows builds:
|
You can specify the following settings for Windows builds:
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li \uicontrol {Profile.xml} defines how Automatic Interception
|
\li \uicontrol {Profile.xml} defines how Automatic Interception
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
directories where the tools are installed in \uicontrol Edit >
|
directories where the tools are installed in \uicontrol Edit >
|
||||||
\uicontrol Preferences > \uicontrol Devices > \uicontrol SSH:
|
\uicontrol Preferences > \uicontrol Devices > \uicontrol SSH:
|
||||||
|
|
||||||
\image qtcreator-ssh-options.png
|
\image qtcreator-ssh-options.png "SSH preferences"
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li Deselect the \uicontrol {Enable connection sharing} check box to
|
\li Deselect the \uicontrol {Enable connection sharing} check box to
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol Devices >
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol Devices >
|
||||||
\uicontrol MCU:
|
\uicontrol MCU:
|
||||||
|
|
||||||
\image qtcreator-mcu-options.png "MCU options"
|
\image qtcreator-mcu-options.png "MCU preferences"
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li In the \uicontrol {Qt for MCUs SDK} field, specify the path
|
\li In the \uicontrol {Qt for MCUs SDK} field, specify the path
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol Kits > \uicontrol Kits
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol Kits > \uicontrol Kits
|
||||||
tab to add the Meson and Ninja tools to a build and run kit:
|
tab to add the Meson and Ninja tools to a build and run kit:
|
||||||
|
|
||||||
\image qtcreator-kits-meson.png "Setting Meson executable in Kit options"
|
\image qtcreator-kits-meson.png "Setting Meson executable in Kit preferences"
|
||||||
|
|
||||||
For more information, see \l {Adding Kits}.
|
For more information, see \l {Adding Kits}.
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
\section1 Specifying Settings for Custom Output Parsers
|
\section1 Specifying Settings for Custom Output Parsers
|
||||||
|
|
||||||
\image qtcreator-custom-parser-options.png
|
\image qtcreator-custom-parser-options.png "Custom Output Parsers preferences"
|
||||||
|
|
||||||
A custom output parser enables you to capture errors and
|
A custom output parser enables you to capture errors and
|
||||||
warnings separately, according to the settings you specify
|
warnings separately, according to the settings you specify
|
||||||
|
|||||||
@@ -162,7 +162,7 @@
|
|||||||
change the default suffix of a file, select \uicontrol Edit > \uicontrol Preferences >
|
change the default suffix of a file, select \uicontrol Edit > \uicontrol Preferences >
|
||||||
\uicontrol {C++} > \uicontrol {File Naming}.
|
\uicontrol {C++} > \uicontrol {File Naming}.
|
||||||
|
|
||||||
\image qtcreator-options-cpp-files.png "File Naming tab in Options"
|
\image qtcreator-options-cpp-files.png "C++ File Naming preferences"
|
||||||
|
|
||||||
In the \uicontrol {License template} field, you can use
|
In the \uicontrol {License template} field, you can use
|
||||||
\l{Using Variables in Wizards}{predefined wizard variables} to specify the
|
\l{Using Variables in Wizards}{predefined wizard variables} to specify the
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Build & Run}
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Build & Run}
|
||||||
> \uicontrol General.
|
> \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-project-options-deploy.png "Project General Options"
|
\image qtcreator-project-options-deploy.png "Project General preferences"
|
||||||
|
|
||||||
By default, the \uicontrol {Always deploy project before running it} (1) and
|
By default, the \uicontrol {Always deploy project before running it} (1) and
|
||||||
\uicontrol {Build the Whole Project} (2) options are enabled. Therefore,
|
\uicontrol {Build the Whole Project} (2) options are enabled. Therefore,
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Kits >
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Kits >
|
||||||
\uicontrol Debuggers > \uicontrol Add.
|
\uicontrol Debuggers > \uicontrol Add.
|
||||||
|
|
||||||
\image qtcreator-options-build-run-debuggers.png
|
\image qtcreator-options-build-run-debuggers.png "Adding debuggers"
|
||||||
|
|
||||||
\li In the \uicontrol Name field, give a descriptive name for the debugger.
|
\li In the \uicontrol Name field, give a descriptive name for the debugger.
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Qbs.
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Qbs.
|
||||||
\image qtcreator-options-qbs.png
|
\image qtcreator-options-qbs.png "Qbs preferences"
|
||||||
\li Deselect the \uicontrol {Use \QC settings directory for Qbs} check
|
\li Deselect the \uicontrol {Use \QC settings directory for Qbs} check
|
||||||
box to store Qbs profiles in the Qbs settings directory.
|
box to store Qbs profiles in the Qbs settings directory.
|
||||||
\li In the \uicontrol {Path to qbs executable} field, you can view
|
\li In the \uicontrol {Path to qbs executable} field, you can view
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
version, select it in the list and select \uicontrol Details in the
|
version, select it in the list and select \uicontrol Details in the
|
||||||
\uicontrol {Qt version for} section.
|
\uicontrol {Qt version for} section.
|
||||||
|
|
||||||
\image qtcreator-qt-versions.png "Qt Versions tab in Kit options"
|
\image qtcreator-qt-versions.png "Qt Versions tab in Kit preferences"
|
||||||
|
|
||||||
To remove invalid Qt versions, select \uicontrol {Clean Up}.
|
To remove invalid Qt versions, select \uicontrol {Clean Up}.
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
\uicontrol Environment > \uicontrol System, and then select
|
\uicontrol Environment > \uicontrol System, and then select
|
||||||
\uicontrol Change in the \uicontrol Environment field.
|
\uicontrol Change in the \uicontrol Environment field.
|
||||||
|
|
||||||
\image qtcreator-options-environment-system.png "Environment options System tab"
|
\image qtcreator-options-environment-system.png "Environment preferences System tab"
|
||||||
|
|
||||||
In addition, you can specify custom environment variables in the
|
In addition, you can specify custom environment variables in the
|
||||||
\uicontrol {Project Settings} > \uicontrol Environment settings.
|
\uicontrol {Project Settings} > \uicontrol Environment settings.
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
\uicontrol Edit > \uicontrol Preferences > \uicontrol Environment >
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol Environment >
|
||||||
\uicontrol System:
|
\uicontrol System:
|
||||||
|
|
||||||
\image qtcreator-options-environment-system.png "Environment options System tab"
|
\image qtcreator-options-environment-system.png "Environment preferences System tab"
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li In the \uicontrol {When files are externally modified} field,
|
\li In the \uicontrol {When files are externally modified} field,
|
||||||
|
|||||||
@@ -160,7 +160,7 @@
|
|||||||
> \uicontrol Environment, and then select a theme in the \uicontrol Theme
|
> \uicontrol Environment, and then select a theme in the \uicontrol Theme
|
||||||
field.
|
field.
|
||||||
|
|
||||||
\image qtcreator-options-environment-interface.png "Interface settings"
|
\image qtcreator-options-environment-interface.png "Interface preferences"
|
||||||
|
|
||||||
\section1 Changing Languages
|
\section1 Changing Languages
|
||||||
|
|
||||||
@@ -448,7 +448,7 @@
|
|||||||
\uicontrol Preferences > \uicontrol Environment > \uicontrol Interface, and
|
\uicontrol Preferences > \uicontrol Environment > \uicontrol Interface, and
|
||||||
then select the codec in the \uicontrol {Text codec for tools} field.
|
then select the codec in the \uicontrol {Text codec for tools} field.
|
||||||
|
|
||||||
\image qtcreator-options-environment-interface.png "Interface tab in the Environment options"
|
\image qtcreator-options-environment-interface.png "Interface tab in the Environment preferences"
|
||||||
|
|
||||||
\section1 Finding and Filtering Output
|
\section1 Finding and Filtering Output
|
||||||
|
|
||||||
@@ -610,7 +610,7 @@
|
|||||||
In the \uicontrol {Limit output to} field, you can specify the maximum
|
In the \uicontrol {Limit output to} field, you can specify the maximum
|
||||||
amount of build output lines to display.
|
amount of build output lines to display.
|
||||||
|
|
||||||
You can also reach the options page by clicking \inlineimage icons/settings.png
|
You can also open the preferences page by clicking \inlineimage icons/settings.png
|
||||||
(\uicontrol {Open Settings Page}).
|
(\uicontrol {Open Settings Page}).
|
||||||
|
|
||||||
To copy the output to the clipboard, select \uicontrol {Select All} in the
|
To copy the output to the clipboard, select \uicontrol {Select All} in the
|
||||||
@@ -658,7 +658,7 @@
|
|||||||
\uicontrol {To-Do} > \uicontrol Add. Set an icon and a line background color
|
\uicontrol {To-Do} > \uicontrol Add. Set an icon and a line background color
|
||||||
for the keyword.
|
for the keyword.
|
||||||
|
|
||||||
\image qtcreator-todo-options.png
|
\image qtcreator-todo-options.png "To-Do preferences"
|
||||||
|
|
||||||
To change the icon and line background color of the selected keyword, select
|
To change the icon and line background color of the selected keyword, select
|
||||||
\uicontrol Edit.
|
\uicontrol Edit.
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
\section1 Configuring Perforce
|
\section1 Configuring Perforce
|
||||||
|
|
||||||
In the Perforce options, you can specify workspace details:
|
In the Perforce preferences, you can specify workspace details:
|
||||||
\uicontrol {P4 user}, \uicontrol {P4 client}, and \uicontrol {P4 port}. To
|
\uicontrol {P4 user}, \uicontrol {P4 client}, and \uicontrol {P4 port}. To
|
||||||
specify the details individually for several projects, use configuration
|
specify the details individually for several projects, use configuration
|
||||||
files instead. Create a \c {p4config.txt} configuration file for each
|
files instead. Create a \c {p4config.txt} configuration file for each
|
||||||
|
|||||||
@@ -577,7 +577,7 @@
|
|||||||
Select the \uicontrol HTTPS check box to prepend \c https to the Gerrit URL
|
Select the \uicontrol HTTPS check box to prepend \c https to the Gerrit URL
|
||||||
if Gerrit does not provide it.
|
if Gerrit does not provide it.
|
||||||
|
|
||||||
\image qtcreator-gerrit-options.png
|
\image qtcreator-gerrit-options.png "Gerrit preferences"
|
||||||
|
|
||||||
\section1 Working with Git Tools
|
\section1 Working with Git Tools
|
||||||
|
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
\li \QC configures the \uicontrol {Emscripten SDK environment} for you
|
\li \QC configures the \uicontrol {Emscripten SDK environment} for you
|
||||||
if the \c emsdk is supported by the Qt for WebAssembly version that
|
if the \c emsdk is supported by the Qt for WebAssembly version that
|
||||||
you will use for developing the application.
|
you will use for developing the application.
|
||||||
\image qtcreator-webassembly-options.png "Qt for WebAssembly device options"
|
\image qtcreator-webassembly-options.png "Qt for WebAssembly device preferences"
|
||||||
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Kits.
|
\li Select \uicontrol Edit > \uicontrol Preferences > \uicontrol Kits.
|
||||||
\image qtcreator-kit-webassembly.png "Qt for WebAssembly kit"
|
\image qtcreator-kit-webassembly.png "Qt for WebAssembly kit"
|
||||||
\li In the \uicontrol Compiler group, \uicontrol {Emscripten Compiler}
|
\li In the \uicontrol Compiler group, \uicontrol {Emscripten Compiler}
|
||||||
|
|||||||
@@ -186,7 +186,7 @@
|
|||||||
\uicontrol {Sibling component spacing} field, specify the
|
\uicontrol {Sibling component spacing} field, specify the
|
||||||
distance in pixels between siblings and the snapping lines.
|
distance in pixels between siblings and the snapping lines.
|
||||||
|
|
||||||
\image qtquick-designer-options.png "Qt Quick Designer options"
|
\image qtquick-designer-options.png "Qt Quick Designer preferences"
|
||||||
|
|
||||||
The following image shows the snapping lines (1) when
|
The following image shows the snapping lines (1) when
|
||||||
\uicontrol {Parent component padding} is set to 5 pixels.
|
\uicontrol {Parent component padding} is set to 5 pixels.
|
||||||
|
|||||||
Reference in New Issue
Block a user