forked from qt-creator/qt-creator
Doc: Fix alt text
From Qt 6.10 onwards, QDoc will issue warnings for missing alt text. - Add alt text for all \image commands - Use curly braces around image names and alt text - Try to make alt text more consistent Task-number: QTCREATORBUG-32739 Change-Id: I6c14c23303deec44ab854e5c5f4f088fbf8eed7b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
(\uicontrol Start) to start the application from the
|
(\uicontrol Start) to start the application from the
|
||||||
\uicontrol {Performance Analyzer}.
|
\uicontrol {Performance Analyzer}.
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-toolbar.png {Performance Analyzer toolbar}
|
\image {qtcreator-performance-analyzer-toolbar.png} {Performance Analyzer toolbar}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
In the \uicontrol {Create Memory Trace Points} dialog, modify the
|
In the \uicontrol {Create Memory Trace Points} dialog, modify the
|
||||||
script to run.
|
script to run.
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-create-memory-trace-points.png {Create Memory Trace Points dialog}
|
\image {qtcreator-performance-analyzer-create-memory-trace-points.png} {Create Memory Trace Points dialog}
|
||||||
|
|
||||||
If you need root privileges to run scripts as root, select the privileges to
|
If you need root privileges to run scripts as root, select the privileges to
|
||||||
use in \uicontrol {Elevate privileges using}.
|
use in \uicontrol {Elevate privileges using}.
|
||||||
@@ -122,13 +122,13 @@
|
|||||||
\uicontrol Projects > \uicontrol Run, and then select \uicontrol Details
|
\uicontrol Projects > \uicontrol Run, and then select \uicontrol Details
|
||||||
next to \uicontrol {Performance Analyzer Settings}.
|
next to \uicontrol {Performance Analyzer Settings}.
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-settings.png {Performance Analyzer Settings}
|
\image {qtcreator-performance-analyzer-settings.png} {Performance Analyzer Settings}
|
||||||
|
|
||||||
To edit the settings for the current run configuration, select the
|
To edit the settings for the current run configuration, select the
|
||||||
drop down menu next to \inlineimage icons/recordfill.png on the
|
drop down menu next to \inlineimage icons/recordfill.png on the
|
||||||
Performance Analyzer toolbar.
|
Performance Analyzer toolbar.
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-toolbar.png {Performance Analyzer toolbar}
|
\image {qtcreator-performance-analyzer-toolbar.png} {Performance Analyzer toolbar}
|
||||||
|
|
||||||
\section1 Choosing Event Types
|
\section1 Choosing Event Types
|
||||||
|
|
||||||
@@ -257,7 +257,7 @@
|
|||||||
The \uicontrol Timeline view displays a graphical representation of CPU
|
The \uicontrol Timeline view displays a graphical representation of CPU
|
||||||
usage per thread and a condensed view of all recorded events.
|
usage per thread and a condensed view of all recorded events.
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-timeline.webp {Performance Analyzer Timeline view}
|
\image {qtcreator-performance-analyzer-timeline.webp} {Performance Analyzer Timeline view}
|
||||||
|
|
||||||
Each category in the timeline describes a thread in the application. Move
|
Each category in the timeline describes a thread in the application. Move
|
||||||
the cursor on an event (5) on a row to see how long it takes and which
|
the cursor on an event (5) on a row to see how long it takes and which
|
||||||
@@ -349,7 +349,7 @@
|
|||||||
|
|
||||||
\section1 Viewing Statistics
|
\section1 Viewing Statistics
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-statistics.png
|
\image {qtcreator-performance-analyzer-statistics.png} {Performance Analyzer Statistics view}
|
||||||
|
|
||||||
The \uicontrol Statistics view displays the number of samples each function
|
The \uicontrol Statistics view displays the number of samples each function
|
||||||
in the timeline was contained in, in total and when on the top of the
|
in the timeline was contained in, in total and when on the top of the
|
||||||
@@ -375,7 +375,7 @@
|
|||||||
|
|
||||||
\section2 Visualizing Statistics as Flame Graphs
|
\section2 Visualizing Statistics as Flame Graphs
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-flamegraph.png
|
\image {qtcreator-performance-analyzer-flamegraph.png} {Performance Analyzer Flame Graph view}
|
||||||
|
|
||||||
The \uicontrol {Flame Graph} view shows a more concise statistical overview
|
The \uicontrol {Flame Graph} view shows a more concise statistical overview
|
||||||
of the execution. The horizontal bars show an aspect of the samples
|
of the execution. The horizontal bars show an aspect of the samples
|
||||||
@@ -426,7 +426,7 @@
|
|||||||
\uicontrol {Performance Analyzer Options} > \uicontrol {Load perf.data File}
|
\uicontrol {Performance Analyzer Options} > \uicontrol {Load perf.data File}
|
||||||
to load a file.
|
to load a file.
|
||||||
|
|
||||||
\image qtcreator-cpu-usage-analyzer-load-perf-trace.png
|
\image {qtcreator-cpu-usage-analyzer-load-perf-trace.png} {Load Perf Trace dialog}
|
||||||
|
|
||||||
Performance Analyzer needs to know the context in which the
|
Performance Analyzer needs to know the context in which the
|
||||||
data was recorded to find the debug symbols. Therefore, you have to specify
|
data was recorded to find the debug symbols. Therefore, you have to specify
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
In the \uicontrol Debug mode, switch between tools by selecting them in the
|
In the \uicontrol Debug mode, switch between tools by selecting them in the
|
||||||
menu on the debugger toolbar.
|
menu on the debugger toolbar.
|
||||||
|
|
||||||
\image qtcreator-performance-analyzer-toolbar.png {Performance Analyzer in Debug mode}
|
\image {qtcreator-performance-analyzer-toolbar.png} {Performance Analyzer in Debug mode}
|
||||||
|
|
||||||
Drag the views in the \uicontrol Debug mode to new
|
Drag the views in the \uicontrol Debug mode to new
|
||||||
positions on the screen. The size and position of views are saved for future
|
positions on the screen. The size and position of views are saved for future
|
||||||
|
@@ -22,12 +22,12 @@
|
|||||||
hover over an annotation to bring up a tooltip with a short
|
hover over an annotation to bring up a tooltip with a short
|
||||||
description of the issue.
|
description of the issue.
|
||||||
|
|
||||||
\image qtcreator-axivion-annotation.webp {Annotation popup}
|
\image {qtcreator-axivion-annotation.webp} {Annotation popup}
|
||||||
|
|
||||||
Select \inlineimage icons/info.png to view detailed information about the
|
Select \inlineimage icons/info.png to view detailed information about the
|
||||||
issue in the \uicontrol {Issue Details} view.
|
issue in the \uicontrol {Issue Details} view.
|
||||||
|
|
||||||
\image qtcreator-axivion-view-rule.webp {Issue Details view}
|
\image {qtcreator-axivion-view-rule.webp} {Issue Details view}
|
||||||
|
|
||||||
To hide inline annotations, go to \uicontrol Analyze > \uicontrol Axivion
|
To hide inline annotations, go to \uicontrol Analyze > \uicontrol Axivion
|
||||||
and clear \inlineimage icons/warning.png.
|
and clear \inlineimage icons/warning.png.
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li To go to the \uicontrol Axivion view:
|
\li To go to the \uicontrol Axivion view:
|
||||||
\image qtcreator-axivion-issue-search.webp {Issues in Axivion view}
|
\image {qtcreator-axivion-issue-search.webp} {Issues in Axivion view}
|
||||||
\list
|
\list
|
||||||
\li Go to \uicontrol Analyze > \uicontrol Axivion.
|
\li Go to \uicontrol Analyze > \uicontrol Axivion.
|
||||||
\li In the mode selector, select \uicontrol Debug >
|
\li In the mode selector, select \uicontrol Debug >
|
||||||
@@ -159,10 +159,10 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Analyzer > \uicontrol Axivion.
|
\li Go to \preferences > \uicontrol Analyzer > \uicontrol Axivion.
|
||||||
\image qtcreator-preferences-axivion.webp {Axivion tab in Analyzer Preferences}
|
\image {qtcreator-preferences-axivion.webp} {Axivion tab in Analyzer preferences}
|
||||||
\li Select \uicontrol Add to add a new connection to an Axivion
|
\li Select \uicontrol Add to add a new connection to an Axivion
|
||||||
dashboard server or \uicontrol Edit to change an existing connection:
|
dashboard server or \uicontrol Edit to change an existing connection:
|
||||||
\image qtcreator-edit-dashboard-configuration.webp {Edit Dashboard Configuration dialog}
|
\image {qtcreator-edit-dashboard-configuration.webp} {Edit Dashboard Configuration dialog}
|
||||||
\list
|
\list
|
||||||
\li In \uicontrol {Dashboard URL}, enter the URL of the server.
|
\li In \uicontrol {Dashboard URL}, enter the URL of the server.
|
||||||
\li In \uicontrol Username, enter the username to access the server.
|
\li In \uicontrol Username, enter the username to access the server.
|
||||||
|
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
\li Select the files to apply the checks to.
|
\li Select the files to apply the checks to.
|
||||||
|
|
||||||
\image qtcreator-files-to-analyze.webp {Files to Analyze dialog}
|
\image {qtcreator-files-to-analyze.webp} {Files to Analyze dialog}
|
||||||
|
|
||||||
\li Select \uicontrol Analyze to start the checks.
|
\li Select \uicontrol Analyze to start the checks.
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
The \uicontrol {Clang-Tidy} or \uicontrol {Clazy} view shows the issues:
|
The \uicontrol {Clang-Tidy} or \uicontrol {Clazy} view shows the issues:
|
||||||
|
|
||||||
\image qtcreator-clang-tidy-view.webp {Clang-Tidy view}
|
\image {qtcreator-clang-tidy-view.webp} {Clang-Tidy view}
|
||||||
\caption Diagnostics in the Clang-Tidy view.
|
\caption Diagnostics in the Clang-Tidy view.
|
||||||
|
|
||||||
\note If you select \uicontrol Debug in the mode selector to open the
|
\note If you select \uicontrol Debug in the mode selector to open the
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \inlineimage icons/filtericon.png to open the
|
\li Select \inlineimage icons/filtericon.png to open the
|
||||||
\uicontrol {Filter Diagnostics} dialog.
|
\uicontrol {Filter Diagnostics} dialog.
|
||||||
\image qtcreator-clang-tools-filter-diagnostics.webp {Filter Diagnostics dialog}
|
\image {qtcreator-clang-tools-filter-diagnostics.webp} {Filter Diagnostics dialog}
|
||||||
\li Select the diagnostics to view.
|
\li Select the diagnostics to view.
|
||||||
\li Select \uicontrol OK.
|
\li Select \uicontrol OK.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol Projects > \uicontrol {Project Settings} >
|
\li Select \uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol {Clang Tools}.
|
\uicontrol {Clang Tools}.
|
||||||
\image qtcreator-clang-tools-settings.webp {Clang Tools customized settings}
|
\image {qtcreator-clang-tools-settings.webp} {Clang Tools customized settings}
|
||||||
\li Clear \uicontrol {Use global settings}.
|
\li Clear \uicontrol {Use global settings}.
|
||||||
\li Specify \uicontrol preferences for the project.
|
\li Specify \uicontrol preferences for the project.
|
||||||
\li In \uicontrol {Suppressed diagnostics}, you can view the suppression
|
\li In \uicontrol {Suppressed diagnostics}, you can view the suppression
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
\li Select \preferences > \uicontrol Analyzer >
|
\li Select \preferences > \uicontrol Analyzer >
|
||||||
\uicontrol {Clang Tools}.
|
\uicontrol {Clang Tools}.
|
||||||
|
|
||||||
\image qtcreator-preferences-analyzer-clang-tools.webp {Clang Tools preferences}
|
\image {qtcreator-preferences-analyzer-clang-tools.webp} {Clang Tools tab in Analyzer 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.
|
||||||
@@ -226,14 +226,14 @@
|
|||||||
\li Select \preferences > \uicontrol Analyzer >
|
\li Select \preferences > \uicontrol Analyzer >
|
||||||
\uicontrol {Clang Tools}.
|
\uicontrol {Clang Tools}.
|
||||||
|
|
||||||
\image qtcreator-preferences-analyzer-clang-tools.webp {Clang Tools preferences}
|
\image {qtcreator-preferences-analyzer-clang-tools.webp} {Clang Tools tab in Analyzer preferences}
|
||||||
|
|
||||||
\li The \uicontrol {Diagnostic configuration} field shows the
|
\li The \uicontrol {Diagnostic configuration} field shows the
|
||||||
checks to perform. Click the value of the field to open the
|
checks to perform. Click the value of the field to open the
|
||||||
\uicontrol {Diagnostic Configurations} dialog, where you can
|
\uicontrol {Diagnostic Configurations} dialog, where you can
|
||||||
select and edit the checks to perform.
|
select and edit the checks to perform.
|
||||||
|
|
||||||
\image qtcreator-clang-tools-diagnostics-configuration.png {Diagnostics Configuration dialog}
|
\image {qtcreator-clang-tools-diagnostics-configuration.png} {Diagnostic Configurations dialog}
|
||||||
|
|
||||||
To perform checks from a Clang-Tidy configuration file instead,
|
To perform checks from a Clang-Tidy configuration file instead,
|
||||||
select \uicontrol {Prefer .clang-tidy file, if present} in the
|
select \uicontrol {Prefer .clang-tidy file, if present} in the
|
||||||
@@ -241,7 +241,7 @@
|
|||||||
|
|
||||||
\li Select \uicontrol Copy to copy the selected diagnostics for editing.
|
\li Select \uicontrol Copy to copy the selected diagnostics for editing.
|
||||||
|
|
||||||
\image qtcreator-clang-copy-diagnostic-configuration.png {Copy Diagnostic Configuration dialog}
|
\image {qtcreator-clang-copy-diagnostic-configuration.png} {Copy Diagnostic Configurations dialog}
|
||||||
|
|
||||||
\li In the \uicontrol {Diagnostic configuration name} field, give the
|
\li In the \uicontrol {Diagnostic configuration name} field, give the
|
||||||
configuration a name, and then select \uicontrol OK.
|
configuration a name, and then select \uicontrol OK.
|
||||||
@@ -257,7 +257,7 @@
|
|||||||
To filter the checks, enter a string in the
|
To filter the checks, enter a string in the
|
||||||
\uicontrol {Filter by name} field.
|
\uicontrol {Filter by name} field.
|
||||||
|
|
||||||
\image qtcreator-clang-tidy.png {Clang-Tidy Checks tab}
|
\image {qtcreator-clang-tidy.png} {Clang-Tidy Checks tab in the Diagnostic Configurations dialog}
|
||||||
|
|
||||||
For more information about the available checkers, see
|
For more information about the available checkers, see
|
||||||
\l{https://clang-analyzer.llvm.org/available_checks.html}
|
\l{https://clang-analyzer.llvm.org/available_checks.html}
|
||||||
@@ -269,7 +269,7 @@
|
|||||||
\li In the \uicontrol {Clazy Checks} tab, select the level of Clazy
|
\li In the \uicontrol {Clazy Checks} tab, select the level of Clazy
|
||||||
checks to perform.
|
checks to perform.
|
||||||
|
|
||||||
\image qtcreator-clazy.webp {Clazy Checks tab}
|
\image {qtcreator-clazy.webp} {Clazy Checks tab in the Diagnostic Configurations dialog}
|
||||||
|
|
||||||
\li To edit the selected checks as plain text, select
|
\li To edit the selected checks as plain text, select
|
||||||
\uicontrol {Edit Checks as String}.
|
\uicontrol {Edit Checks as String}.
|
||||||
|
@@ -45,14 +45,14 @@
|
|||||||
off for the build configuration. Select \uicontrol {Enable Coverage}
|
off for the build configuration. Select \uicontrol {Enable Coverage}
|
||||||
or \uicontrol {Disable Coverage} to turn on or off code coverage.
|
or \uicontrol {Disable Coverage} to turn on or off code coverage.
|
||||||
|
|
||||||
\image qtcreator-projects-settings-build-coco.webp {Setting code coverage from a build step}
|
\image {qtcreator-projects-settings-build-coco.webp} {Setting code coverage from a build step}
|
||||||
|
|
||||||
\section1 Set code coverage for a project
|
\section1 Set code coverage for a project
|
||||||
|
|
||||||
To specify code coverage settings for a project, go to \uicontrol Projects >
|
To specify code coverage settings for a project, go to \uicontrol Projects >
|
||||||
\uicontrol {Project Settings} > \uicontrol {Coco Code Coverage}.
|
\uicontrol {Project Settings} > \uicontrol {Coco Code Coverage}.
|
||||||
|
|
||||||
\image qtcreator-projects-settings-coco.webp {Coco Code Coverage settings}
|
\image {qtcreator-projects-settings-coco.webp} {Coco Code Coverage settings}
|
||||||
|
|
||||||
\table
|
\table
|
||||||
\header
|
\header
|
||||||
@@ -150,13 +150,13 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Analyze > \uicontrol {Squish Coco}.
|
\li Go to \uicontrol Analyze > \uicontrol {Squish Coco}.
|
||||||
\image qtcreator-coco.png {Coco CoverageBrowser and CSMes file}
|
\image {qtcreator-coco.png} {Coco CoverageBrowser and CSMes file}
|
||||||
\li In \uicontrol CSMes, select the instrumentation database to load.
|
\li In \uicontrol CSMes, select the instrumentation database to load.
|
||||||
\li Select \uicontrol Open to start CoverageBrowser.
|
\li Select \uicontrol Open to start CoverageBrowser.
|
||||||
\li In CoverageBrowser, go to \uicontrol File >
|
\li In CoverageBrowser, go to \uicontrol File >
|
||||||
\uicontrol {Load Execution Report} and select the \c .csexe file for the
|
\uicontrol {Load Execution Report} and select the \c .csexe file for the
|
||||||
coverage scan.
|
coverage scan.
|
||||||
\image coco-coveragebrowser-load-execution-report.png {Load Execution Report dialog}
|
\image {coco-coveragebrowser-load-execution-report.png} {Load Execution Report dialog}
|
||||||
\li To keep the execution report, clear
|
\li To keep the execution report, clear
|
||||||
\uicontrol {Delete execution report after loading}.
|
\uicontrol {Delete execution report after loading}.
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Analyze > \uicontrol Cppcheck.
|
\li Go to \uicontrol Analyze > \uicontrol Cppcheck.
|
||||||
\image qtcreator-cppcheck-run-configuration.png {Cppcheck run configuration}
|
\image {qtcreator-cppcheck-run-configuration.png} {Cppcheck run configuration}
|
||||||
\li In uicontrol Binary, enter the path to the Cppcheck executable file.
|
\li In uicontrol Binary, enter the path to the Cppcheck executable file.
|
||||||
\li In \uicontrol Checks, select the checks to perform.
|
\li In \uicontrol Checks, select the checks to perform.
|
||||||
\note By default, Cppcheck uses multiple threads to perform checks.
|
\note By default, Cppcheck uses multiple threads to perform checks.
|
||||||
|
@@ -60,7 +60,7 @@
|
|||||||
The \uicontrol Timeline view displays a graphical representation of trace
|
The \uicontrol Timeline view displays a graphical representation of trace
|
||||||
events and a condensed view of all recorded events.
|
events and a condensed view of all recorded events.
|
||||||
|
|
||||||
\image qtcreator-ctf-visualizer-timeline.webp {Timeline view}
|
\image {qtcreator-ctf-visualizer-timeline.webp} {Timeline view}
|
||||||
|
|
||||||
Each category in the timeline describes a thread in the application. Move
|
Each category in the timeline describes a thread in the application. Move
|
||||||
the cursor on an event (5) on a row to view its duration and event category.
|
the cursor on an event (5) on a row to view its duration and event category.
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
\section1 Viewing Statistics
|
\section1 Viewing Statistics
|
||||||
|
|
||||||
\image qtcreator-ctf-visualizer-statistics.png
|
\image {qtcreator-ctf-visualizer-statistics.png} {Statistics view}
|
||||||
|
|
||||||
The \uicontrol Statistics view displays the number of samples each function
|
The \uicontrol Statistics view displays the number of samples each function
|
||||||
in the timeline was contained in, in total and when on the top of the
|
in the timeline was contained in, in total and when on the top of the
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
\li Select \uicontrol Analyze > \uicontrol Heob.
|
\li Select \uicontrol Analyze > \uicontrol Heob.
|
||||||
|
|
||||||
\image qtcreator-heob-settings.png {Heob settings}
|
\image {qtcreator-heob-settings.png} {Heob settings}
|
||||||
|
|
||||||
\li Select the Heob settings profile to use, or select \uicontrol New
|
\li Select the Heob settings profile to use, or select \uicontrol New
|
||||||
to create a new profile.
|
to create a new profile.
|
||||||
@@ -40,13 +40,13 @@
|
|||||||
|
|
||||||
\QC runs the application, and then it runs Heob in a terminal.
|
\QC runs the application, and then it runs Heob in a terminal.
|
||||||
|
|
||||||
\image qtcreator-heob-in-terminal.webp {Heob running in a terminal}
|
\image {qtcreator-heob-in-terminal.webp} {Heob running in a terminal}
|
||||||
|
|
||||||
Heob raises an access violation on buffer overruns and records stack traces
|
Heob raises an access violation on buffer overruns and records stack traces
|
||||||
of the offending instruction and buffer allocation. You can see the results
|
of the offending instruction and buffer allocation. You can see the results
|
||||||
in the \uicontrol Memcheck view after Heob exits normally.
|
in the \uicontrol Memcheck view after Heob exits normally.
|
||||||
|
|
||||||
\image qtcreator-heob-output.png {Results from Heob in the Memcheck view}
|
\image {qtcreator-heob-output.png} {Results from Heob in the Memcheck view}
|
||||||
|
|
||||||
\sa {Analyze}{How To: Analyze}, {Analyzers}, {Heob}, {Analyzing Code}
|
\sa {Analyze}{How To: Analyze}, {Analyzers}, {Heob}, {Analyzing Code}
|
||||||
*/
|
*/
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
To specify settings for Heob, go to \uicontrol Analyze > \uicontrol Heob.
|
To specify settings for Heob, go to \uicontrol Analyze > \uicontrol Heob.
|
||||||
|
|
||||||
\image qtcreator-heob-settings.png {Heob settings}
|
\image {qtcreator-heob-settings.png} {Heob settings}
|
||||||
|
|
||||||
In \uicontrol {Extra arguments}, enter additional arguments for
|
In \uicontrol {Extra arguments}, enter additional arguments for
|
||||||
running Heob. To list the available arguments in the Heob console, enter
|
running Heob. To list the available arguments in the Heob console, enter
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
\li In the mode selector, select \uicontrol Debug > \uicontrol Memcheck.
|
\li In the mode selector, select \uicontrol Debug > \uicontrol Memcheck.
|
||||||
|
|
||||||
\image qtcreator-valgrind-memcheck.webp {Memcheck view}
|
\image {qtcreator-valgrind-memcheck.webp} {Memcheck view}
|
||||||
|
|
||||||
\li Select \inlineimage icons/qtcreator-analyze-start-button.png
|
\li Select \inlineimage icons/qtcreator-analyze-start-button.png
|
||||||
to start the application.
|
to start the application.
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
\uicontrol Analyzer. Set Memcheck preferences in
|
\uicontrol Analyzer. Set Memcheck preferences in
|
||||||
\uicontrol {Memcheck Memory Analysis Options}.
|
\uicontrol {Memcheck Memory Analysis Options}.
|
||||||
|
|
||||||
\image qtcreator-valgrind-memcheck-options.png {Memory Analysis options}
|
\image {qtcreator-valgrind-memcheck-options.png} {Memcheck Memory Analysis Options in the Valgrind tab in Analyzer preferences}
|
||||||
|
|
||||||
In \uicontrol {Extra Memcheck arguments}, specify additional arguments
|
In \uicontrol {Extra Memcheck arguments}, specify additional arguments
|
||||||
for launching the executable.
|
for launching the executable.
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
|
|
||||||
\li In the mode selector, select \uicontrol Debug > \uicontrol Callgrind.
|
\li In the mode selector, select \uicontrol Debug > \uicontrol Callgrind.
|
||||||
|
|
||||||
\image qtcreator-valgrind-callgrind-toolbar.png {Callgrind view toolbar}
|
\image {qtcreator-valgrind-callgrind-toolbar.png} {Callgrind view toolbar}
|
||||||
|
|
||||||
\li Select \inlineimage icons/qtcreator-analyze-start-button.png
|
\li Select \inlineimage icons/qtcreator-analyze-start-button.png
|
||||||
to start the application.
|
to start the application.
|
||||||
@@ -262,7 +262,7 @@
|
|||||||
\inlineimage icons/open.png
|
\inlineimage icons/open.png
|
||||||
to load an external log file into the \uicontrol Callgrind views.
|
to load an external log file into the \uicontrol Callgrind views.
|
||||||
|
|
||||||
\image qtcreator-valgrind-callgrind.png "Callgrind views"
|
\image {qtcreator-valgrind-callgrind.png} {Callgrind views}
|
||||||
|
|
||||||
Enter a string in the \uicontrol Filter field to filter the results.
|
Enter a string in the \uicontrol Filter field to filter the results.
|
||||||
|
|
||||||
@@ -309,10 +309,10 @@
|
|||||||
{run settings} of the project.
|
{run settings} of the project.
|
||||||
|
|
||||||
To set global preferences for Valgrind, select \preferences >
|
To set global preferences for Valgrind, select \preferences >
|
||||||
\uicontrol Analyzer. Set Callgrind preferences in
|
\uicontrol Analyzer > \uicontrol Valgrind. Set Callgrind preferences in
|
||||||
\uicontrol {Callgrind Profiling Options}.
|
\uicontrol {Callgrind Profiling Options}.
|
||||||
|
|
||||||
\image qtcreator-valgrind-callgrind-options.png {Callgrind Profiling Options}
|
\image {qtcreator-valgrind-callgrind-options.png} {Callgrind Profiling Options in the Valgrind tab in Analyzer preferences}
|
||||||
|
|
||||||
In the \uicontrol {KCachegrind executable} field, enter the path to the
|
In the \uicontrol {KCachegrind executable} field, enter the path to the
|
||||||
KCachegrind executable to launch.
|
KCachegrind executable to launch.
|
||||||
@@ -389,7 +389,7 @@
|
|||||||
\li Go to \uicontrol Analyze > \uicontrol {Valgrind Memory Analyzer (External
|
\li Go to \uicontrol Analyze > \uicontrol {Valgrind Memory Analyzer (External
|
||||||
Application)} or \uicontrol {Valgrind Function Profiler (External Application)}.
|
Application)} or \uicontrol {Valgrind Function Profiler (External Application)}.
|
||||||
|
|
||||||
\image qtcreator-valgrind-remote-settings.png {Start Remote Analysis dialog}
|
\image {qtcreator-valgrind-remote-settings.png} {Start Remote Analysis dialog}
|
||||||
|
|
||||||
\li Select the application to run and analyze, as well as the
|
\li Select the application to run and analyze, as well as the
|
||||||
\l{Kits}{kit} to use.
|
\l{Kits}{kit} to use.
|
||||||
|
@@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol SDKs > \uicontrol Android.
|
\li Go to \preferences > \uicontrol SDKs > \uicontrol Android.
|
||||||
\image qtcreator-preferences-android.webp {Android preferences}
|
\image {qtcreator-preferences-android.webp} {Android tab in SDKs preferences}
|
||||||
\li In \uicontrol {JDK location}, set the path to the JDK.
|
\li In \uicontrol {JDK location}, set the path to the JDK.
|
||||||
\QC checks the JDK installation and reports errors.
|
\QC checks the JDK installation and reports errors.
|
||||||
|
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
To view the \l{Android NDK} versions that \QC installed, go to \preferences >
|
To view the \l{Android NDK} versions that \QC installed, go to \preferences >
|
||||||
\uicontrol SDKs > \uicontrol Android.
|
\uicontrol SDKs > \uicontrol Android.
|
||||||
|
|
||||||
\image qtcreator-preferences-android.webp {Android preferences}
|
\image {qtcreator-preferences-android.webp} {Android tab in SDKs preferences}
|
||||||
|
|
||||||
SDK Manager installed the locked items. You can modify them only
|
SDK Manager installed the locked items. You can modify them only
|
||||||
in the \uicontrol {Android SDK Manager} dialog.
|
in the \uicontrol {Android SDK Manager} dialog.
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
To view the installed Android SDK packages, select \preferences >
|
To view the installed Android SDK packages, select \preferences >
|
||||||
\uicontrol SDKs > \uicontrol Android > \uicontrol {SDK Manager}.
|
\uicontrol SDKs > \uicontrol Android > \uicontrol {SDK Manager}.
|
||||||
|
|
||||||
\image qtcreator-android-sdk-manager.webp {Android SDK Manager}
|
\image {qtcreator-android-sdk-manager.webp} {SDK Manager in the Android tab in SDKs preferences}
|
||||||
|
|
||||||
\section1 Show SDK packages
|
\section1 Show SDK packages
|
||||||
|
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
\li Select \uicontrol {Advanced Options}.
|
\li Select \uicontrol {Advanced Options}.
|
||||||
\li In \uicontrol {SDK Manager arguments}, enter sdkmanager options from
|
\li In \uicontrol {SDK Manager arguments}, enter sdkmanager options from
|
||||||
\uicontrol {Available arguments}.
|
\uicontrol {Available arguments}.
|
||||||
\image qtcreator-android-sdk-manager-arguments.png {Android SDK Manager Arguments dialog}
|
\image {qtcreator-android-sdk-manager-arguments.png} {Android SDK Manager Arguments dialog}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\sa {Android}{How To: Develop for Android}, {Developing for Android}
|
\sa {Android}{How To: Develop for Android}, {Developing for Android}
|
||||||
@@ -259,7 +259,7 @@
|
|||||||
To view and add Android Virtual Devices (AVD), go to \preferences >
|
To view and add Android Virtual Devices (AVD), go to \preferences >
|
||||||
\uicontrol Devices.
|
\uicontrol Devices.
|
||||||
|
|
||||||
\image qtcreator-android-avd-manager.webp {Android device in Devices}
|
\image {qtcreator-android-avd-manager.webp} {Android device in Devices preferences}
|
||||||
|
|
||||||
Select an AVD in \uicontrol Device to see its status in
|
Select an AVD in \uicontrol Device to see its status in
|
||||||
\uicontrol {Current state}.
|
\uicontrol {Current state}.
|
||||||
@@ -276,7 +276,7 @@
|
|||||||
|
|
||||||
To set preferences for starting an AVD, select \uicontrol {AVD Arguments}.
|
To set preferences for starting an AVD, select \uicontrol {AVD Arguments}.
|
||||||
|
|
||||||
\image qtcreator-android-avd-arguments.png {Startup options for AVDs}
|
\image {qtcreator-android-avd-arguments.png} {Startup options for AVDs}
|
||||||
|
|
||||||
Set the preferences in \uicontrol {Emulator command-line startup options}.
|
Set the preferences in \uicontrol {Emulator command-line startup options}.
|
||||||
For available options, see \l{Start the emulator from the command line}.
|
For available options, see \l{Start the emulator from the command line}.
|
||||||
@@ -321,7 +321,7 @@
|
|||||||
\li Go to \preferences > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices.
|
||||||
\li Select \uicontrol Add > \uicontrol {Android Device} >
|
\li Select \uicontrol Add > \uicontrol {Android Device} >
|
||||||
\uicontrol {Start Wizard}.
|
\uicontrol {Start Wizard}.
|
||||||
\image qtcreator-android-create-avd.webp {Create New AVD dialog}
|
\image {qtcreator-android-create-avd.webp} {Create New AVD dialog}
|
||||||
\li In \uicontrol Name, give the AVD a name.
|
\li In \uicontrol Name, give the AVD a name.
|
||||||
\li In \uicontrol {Target ABI / API}, select an Android system image
|
\li In \uicontrol {Target ABI / API}, select an Android system image
|
||||||
architecture (ABI) and \l{What is API Level?}{API level} that you
|
architecture (ABI) and \l{What is API Level?}{API level} that you
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
For example, to run the application as a particular user, enter the start
|
For example, to run the application as a particular user, enter the start
|
||||||
option \c {--user 10}, where \c 10 is the user ID of the user account.
|
option \c {--user 10}, where \c 10 is the user ID of the user account.
|
||||||
|
|
||||||
\image qtcreator-android-run-settings.png {Run Settings for an Android device}
|
\image {qtcreator-android-run-settings.png} {Run Settings for an Android device}
|
||||||
|
|
||||||
\section1 Shell Commands
|
\section1 Shell Commands
|
||||||
|
|
||||||
|
@@ -63,7 +63,7 @@
|
|||||||
The \uicontrol Method field lists deployment settings.
|
The \uicontrol Method field lists deployment settings.
|
||||||
To add deployment methods for a project, select \uicontrol Add.
|
To add deployment methods for a project, select \uicontrol Add.
|
||||||
|
|
||||||
\image qtcreator-android-deployment-settings.png {Deployment settings}
|
\image {qtcreator-android-deployment-settings.png} {Deployment settings}
|
||||||
|
|
||||||
To rename the current deployment method, select \uicontrol Rename.
|
To rename the current deployment method, select \uicontrol Rename.
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
\uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build >
|
\uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build >
|
||||||
\uicontrol {Build Android APK} > \uicontrol Details.
|
\uicontrol {Build Android APK} > \uicontrol Details.
|
||||||
|
|
||||||
\image qtcreator-build-settings-android-apk.webp {Build Android APK step}
|
\image {qtcreator-build-settings-android-apk.webp} {Build Android APK step}
|
||||||
|
|
||||||
The \c androiddeployqt tool create APKs based on the settings. For more
|
The \c androiddeployqt tool create APKs based on the settings. For more
|
||||||
information about the available options, see \l{androiddeployqt}.
|
information about the available options, see \l{androiddeployqt}.
|
||||||
@@ -121,18 +121,18 @@
|
|||||||
\uicontrol {Initial Configuration} in the \uicontrol CMake section.
|
\uicontrol {Initial Configuration} in the \uicontrol CMake section.
|
||||||
You can set additional ABIs as values of the \c ANDROID_ABI key:
|
You can set additional ABIs as values of the \c ANDROID_ABI key:
|
||||||
|
|
||||||
\image qtcreator-android-cmake-settings.png {CMake settings for building AABs}
|
\image {qtcreator-android-cmake-settings.png} {CMake settings for building AABs}
|
||||||
|
|
||||||
When building with Qbs or qmake, you can select the ABIs in the
|
When building with Qbs or qmake, you can select the ABIs in the
|
||||||
\uicontrol ABIs field in the \uicontrol {Build Steps}:
|
\uicontrol ABIs field in the \uicontrol {Build Steps}:
|
||||||
|
|
||||||
\image qtcreator-android-build-steps.png {qmake settings for building AABs}
|
\image {qtcreator-android-build-steps.png} {qmake settings for building AABs}
|
||||||
|
|
||||||
\section3 Building AARs
|
\section3 Building AARs
|
||||||
|
|
||||||
Select the AAR target in the \uicontrol {Build Steps} section.
|
Select the AAR target in the \uicontrol {Build Steps} section.
|
||||||
|
|
||||||
\image qt-creator-android-build-aar.webp {Selecting the AAR target}
|
\image {qt-creator-android-build-aar.webp} {Selecting the AAR target}
|
||||||
|
|
||||||
\section3 Signing Android Packages
|
\section3 Signing Android Packages
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
a new keystore that has one key pair in the
|
a new keystore that has one key pair in the
|
||||||
\uicontrol {Create a Keystore and a Certificate} dialog:
|
\uicontrol {Create a Keystore and a Certificate} dialog:
|
||||||
|
|
||||||
\image qtcreator-android-certificate.png
|
\image {qtcreator-android-certificate.png} {Create a Keystore and a Certificate dialog}
|
||||||
|
|
||||||
\li In the \uicontrol Keystore group, enter a password to protect the
|
\li In the \uicontrol Keystore group, enter a password to protect the
|
||||||
keystore.
|
keystore.
|
||||||
@@ -251,7 +251,7 @@
|
|||||||
|
|
||||||
\li Check the path in \uicontrol {Android package source directory}.
|
\li Check the path in \uicontrol {Android package source directory}.
|
||||||
|
|
||||||
\image qtcreator-android-create-template.png {Create Template dialog}
|
\image {qtcreator-android-create-template.png} {Create Template dialog}
|
||||||
|
|
||||||
\li Select \uicontrol {Copy the Gradle files to Android directory} if you
|
\li Select \uicontrol {Copy the Gradle files to Android directory} if you
|
||||||
plan to extend the Java part of your Qt application.
|
plan to extend the Java part of your Qt application.
|
||||||
@@ -259,7 +259,7 @@
|
|||||||
\li Select \uicontrol Finish to copy the template files to the \c android
|
\li Select \uicontrol Finish to copy the template files to the \c android
|
||||||
directory and to open the manifest file for editing.
|
directory and to open the manifest file for editing.
|
||||||
|
|
||||||
\image qtcreator-android-manifest-editor-package.webp {Package info in Android Manifest Editor}
|
\image {qtcreator-android-manifest-editor-package.webp} {Package info in Android Manifest Editor}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -465,7 +465,7 @@
|
|||||||
high, and extra high DPI displays, as needed. Alternatively, set the icons
|
high, and extra high DPI displays, as needed. Alternatively, set the icons
|
||||||
for each resolution separately.
|
for each resolution separately.
|
||||||
|
|
||||||
\image qtcreator-android-manifest-editor-app-icon.webp {Application icons in Android Manifest Editor}
|
\image {qtcreator-android-manifest-editor-app-icon.webp} {Application icons in Android Manifest Editor}
|
||||||
|
|
||||||
\section2 Splash Screens
|
\section2 Splash Screens
|
||||||
|
|
||||||
@@ -473,7 +473,7 @@
|
|||||||
Select images to display as splash screens depending on the device
|
Select images to display as splash screens depending on the device
|
||||||
orientation and screen resolution.
|
orientation and screen resolution.
|
||||||
|
|
||||||
\image qtcreator-android-manifest-editor-splash-screen.webp {Splash screens in Android Manifest Editor}
|
\image {qtcreator-android-manifest-editor-splash-screen.webp} {Splash screens in Android Manifest Editor}
|
||||||
|
|
||||||
By default, drawing an activity hides the splash screen. To keep it visible until
|
By default, drawing an activity hides the splash screen. To keep it visible until
|
||||||
\l{https://doc.qt.io/qt-6/qnativeinterface-qandroidapplication.html#hideSplashScreen}
|
\l{https://doc.qt.io/qt-6/qnativeinterface-qandroidapplication.html#hideSplashScreen}
|
||||||
@@ -499,7 +499,7 @@
|
|||||||
install the application. Android OS then grants the application access to the
|
install the application. Android OS then grants the application access to the
|
||||||
appropriate data and features.
|
appropriate data and features.
|
||||||
|
|
||||||
\image qtcreator-android-manifest-editor-permissions.webp {Permissions in Android Manifest Editor}
|
\image {qtcreator-android-manifest-editor-permissions.webp} {Permissions in Android Manifest Editor}
|
||||||
|
|
||||||
Select the \uicontrol {Include default permissions for Qt modules} and
|
Select the \uicontrol {Include default permissions for Qt modules} and
|
||||||
\uicontrol {Include default features for Qt modules} check boxes to add the
|
\uicontrol {Include default features for Qt modules} check boxes to add the
|
||||||
|
@@ -60,7 +60,7 @@
|
|||||||
selected kit, go to \uicontrol Projects and select \uicontrol {Build & Run}
|
selected kit, go to \uicontrol Projects and select \uicontrol {Build & Run}
|
||||||
> \uicontrol Run.
|
> \uicontrol Run.
|
||||||
|
|
||||||
\image qtcreator-appman-deploy-settings.webp {Deploy to application manager}
|
\image {qtcreator-appman-deploy-settings.webp} {Deploy to application manager}
|
||||||
|
|
||||||
\section2 Automatic deployment configuration selection
|
\section2 Automatic deployment configuration selection
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
\uicontrol Targets to the effective \uicontrol Build command. You can select
|
\uicontrol Targets to the effective \uicontrol Build command. You can select
|
||||||
the targets in the kit selector to deploy and run applications on them.
|
the targets in the kit selector to deploy and run applications on them.
|
||||||
|
|
||||||
\image qtcreator-appman-kit-selector.webp {Automatically generated run targets in the kit selector}
|
\image {qtcreator-appman-kit-selector.webp} {Automatically generated run targets in the kit selector}
|
||||||
|
|
||||||
\section2 Installation settings
|
\section2 Installation settings
|
||||||
|
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
To specify settings for running applications, go to \uicontrol Projects >
|
To specify settings for running applications, go to \uicontrol Projects >
|
||||||
\uicontrol {Run Settings}.
|
\uicontrol {Run Settings}.
|
||||||
|
|
||||||
\image qtcreator-appman-run-settings.webp {Run in Qt Application Manager}
|
\image {qtcreator-appman-run-settings.webp} {Run in Qt Application Manager}
|
||||||
|
|
||||||
The following table summarizes the run settings for each application.
|
The following table summarizes the run settings for each application.
|
||||||
|
|
||||||
|
@@ -86,7 +86,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.webp {Bare metal device preferences for EBlink}
|
\image {qtcreator-baremetal-eblink.webp} {EBlink in the Bare Metal tab in Devices preferences}
|
||||||
|
|
||||||
To set preferences for \EBlink:
|
To set preferences for \EBlink:
|
||||||
|
|
||||||
@@ -133,7 +133,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.webp {Bare metal device preferences for J-Link}
|
\image {qtcreator-baremetal-jlink.webp} {J-Link in the Bare Metal tab in Devices preferences}
|
||||||
|
|
||||||
To set preferences for J-Link debug probes:
|
To set preferences for J-Link debug probes:
|
||||||
|
|
||||||
@@ -174,7 +174,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.webp {Bare metal device preferences for OpenOCD}
|
\image {qtcreator-baremetal-openocd.webp} {OpenOCD in the Bare Metal tab in Devices preferences}
|
||||||
|
|
||||||
To set preferences for \OpenOCD:
|
To set preferences for \OpenOCD:
|
||||||
|
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
\l{https://www.st.com/en/development-tools/stlink-v3-bridge.html}
|
\l{https://www.st.com/en/development-tools/stlink-v3-bridge.html}
|
||||||
{ST-LINK Utility} is used for programming STM32 microcontrollers.
|
{ST-LINK Utility} is used for programming STM32 microcontrollers.
|
||||||
|
|
||||||
\image qtcreator-baremetal-stlink.webp {Bare metal device preferences for St-Link}
|
\image {qtcreator-baremetal-stlink.webp} {St-Link in the Bare Metal tab in Devices preferences}
|
||||||
|
|
||||||
To set preferences for St-Link:
|
To set preferences for St-Link:
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@
|
|||||||
|
|
||||||
\section1 uVision Simulator
|
\section1 uVision Simulator
|
||||||
|
|
||||||
\image qtcreator-baremetal-uvision-simulator.png {Bare metal device preferences for uVision Simulator}
|
\image {qtcreator-baremetal-uvision-simulator.png} {uVision Simulator in the Bare Metal tab in Devices preferences}}
|
||||||
|
|
||||||
To set preferences for uVision Simulator:
|
To set preferences for uVision Simulator:
|
||||||
|
|
||||||
@@ -273,7 +273,7 @@
|
|||||||
|
|
||||||
\section1 uVision St-Link or JLink Debugger
|
\section1 uVision St-Link or JLink Debugger
|
||||||
|
|
||||||
\image qtcreator-baremetal-uvision-st-link.png {Bare metal device preferences for uVision St-Link}
|
\image {qtcreator-baremetal-uvision-st-link.png} {uVision St-Link in the Bare Metal tab in Devices preferences}
|
||||||
|
|
||||||
To set preferences for uVision St-Link or JLink Debugger:
|
To set preferences for uVision St-Link or JLink Debugger:
|
||||||
|
|
||||||
@@ -309,7 +309,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Go to \preferences > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices.
|
||||||
\image qtcreator-baremetal-devices.png {Bare Metal device preferences}
|
\image {qtcreator-baremetal-devices.png} {Bare Metal tab in Devices preferences}
|
||||||
\li Select \uicontrol Add > \uicontrol {Bare Metal Device} >
|
\li Select \uicontrol Add > \uicontrol {Bare Metal Device} >
|
||||||
\uicontrol {Start Wizard}.
|
\uicontrol {Start Wizard}.
|
||||||
|
|
||||||
@@ -325,7 +325,7 @@
|
|||||||
To add a kit for building applications and running them on bare metal
|
To add a kit for building applications and running them on bare metal
|
||||||
devices, go to \preferences > \uicontrol Kits and select \uicontrol Add.
|
devices, go to \preferences > \uicontrol Kits and select \uicontrol Add.
|
||||||
|
|
||||||
\image qtcreator-baremetal-kit.png {Kit preferences for Bare Metal}
|
\image {qtcreator-baremetal-kit.png} {Bare Metal selected in Kits preferences}
|
||||||
|
|
||||||
Build applications for and run them on bare metal devices
|
Build applications for and run them on bare metal devices
|
||||||
in same way as for and on the desktop.
|
in same way as for and on the desktop.
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
\li In the \uicontrol Edit mode, set breakpoints in a CMake file.
|
\li In the \uicontrol Edit mode, set breakpoints in a CMake file.
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||||
\uicontrol {Start CMake Debugging}.
|
\uicontrol {Start CMake Debugging}.
|
||||||
\image qtcreator-debugger-cmake.webp {DAP CMake Preset view in the Debug mode}
|
\image {qtcreator-debugger-cmake.webp} {DAP CMake Preset view in the Debug mode}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
When the application stops at a breakpoint, you can examine data in the
|
When the application stops at a breakpoint, you can examine data in the
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
\uicontrol {Chrome Trace Format Visualizer}, select \uicontrol Analyze >
|
\uicontrol {Chrome Trace Format Visualizer}, select \uicontrol Analyze >
|
||||||
\uicontrol {CMake Profiler}.
|
\uicontrol {CMake Profiler}.
|
||||||
|
|
||||||
\image qtcreator-cmake-profiler.webp {CMake profiling information in Chrome Trace Format Visualizer}
|
\image {qtcreator-cmake-profiler.webp} {CMake profiling information in Chrome Trace Format Visualizer}
|
||||||
|
|
||||||
\sa {CMake}, {Chrome Trace Format Visualizer}
|
\sa {CMake}, {Chrome Trace Format Visualizer}
|
||||||
*/
|
*/
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
\QC constructs using the values of the \uicontrol {Build directory} and
|
\QC constructs using the values of the \uicontrol {Build directory} and
|
||||||
\uicontrol {Build type} fields.
|
\uicontrol {Build type} fields.
|
||||||
|
|
||||||
\image qtcreator-build-settings-cmake-configure.webp {CMake configure command}
|
\image {qtcreator-build-settings-cmake-configure.webp} {CMake configure command}
|
||||||
|
|
||||||
You can specify additional CMake options, such as \c {--find-debug},
|
You can specify additional CMake options, such as \c {--find-debug},
|
||||||
\c {--trace-expand}, or \c {--warn-uninitialized}, in
|
\c {--trace-expand}, or \c {--warn-uninitialized}, in
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
\section1 Initial Configuration
|
\section1 Initial Configuration
|
||||||
|
|
||||||
\image qtcreator-build-settings-cmake-initial.webp {Initial CMake configuration}
|
\image {qtcreator-build-settings-cmake-initial.webp} {Initial CMake configuration}
|
||||||
|
|
||||||
\uicontrol {Initial Configuration} lists the variables that \QC uses to
|
\uicontrol {Initial Configuration} lists the variables that \QC uses to
|
||||||
configure the CMake project for the first time. It shows the default values
|
configure the CMake project for the first time. It shows the default values
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
\section1 Current Configuration
|
\section1 Current Configuration
|
||||||
|
|
||||||
\image qtcreator-build-settings-cmake-current.webp {Current CMake configuration}
|
\image {qtcreator-build-settings-cmake-current.webp} {Current CMake configuration}
|
||||||
|
|
||||||
\uicontrol {Current Configuration} lists the CMake variables in the
|
\uicontrol {Current Configuration} lists the CMake variables in the
|
||||||
\c cmake-file-api JSON export in the \c {.cmake/api/v1/reply} directory.
|
\c cmake-file-api JSON export in the \c {.cmake/api/v1/reply} directory.
|
||||||
@@ -89,14 +89,14 @@
|
|||||||
are passed to CMake in \uicontrol {Initial Configuration} or
|
are passed to CMake in \uicontrol {Initial Configuration} or
|
||||||
\uicontrol {Current Configuration}.
|
\uicontrol {Current Configuration}.
|
||||||
|
|
||||||
\image qtcreator-build-settings-cmake-current.webp {Current CMake configuration}
|
\image {qtcreator-build-settings-cmake-current.webp} {Current CMake configuration}
|
||||||
|
|
||||||
You can select several variables and apply an action to them. To clear
|
You can select several variables and apply an action to them. To clear
|
||||||
the selection, click anywhere in the view.
|
the selection, click anywhere in the view.
|
||||||
|
|
||||||
To batch edit variable values, select \uicontrol {Batch Edit}.
|
To batch edit variable values, select \uicontrol {Batch Edit}.
|
||||||
|
|
||||||
\image qtcreator-edit-cmake-configuration.webp {Edit CMake Configuration dialog}
|
\image {qtcreator-edit-cmake-configuration.webp} {Edit CMake Configuration dialog}
|
||||||
|
|
||||||
To build using the current configuration, select \uicontrol {Run CMake}.
|
To build using the current configuration, select \uicontrol {Run CMake}.
|
||||||
While building, the button text changes to \uicontrol {Stop CMake}. Select
|
While building, the button text changes to \uicontrol {Stop CMake}. Select
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
To view all variables by default, go to \preferences > \uicontrol CMake >
|
To view all variables by default, go to \preferences > \uicontrol CMake >
|
||||||
\uicontrol General and select \uicontrol {Show advanced options by default}.
|
\uicontrol General and select \uicontrol {Show advanced options by default}.
|
||||||
|
|
||||||
\image qtcreator-preferences-cmake-general.webp "General tab in CMake Preferences"
|
\image {qtcreator-preferences-cmake-general.webp} {General tab in CMake preferences}
|
||||||
|
|
||||||
\section1 Re-configuring with Initial Variables
|
\section1 Re-configuring with Initial Variables
|
||||||
|
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
Output from CMake is displayed next to the \uicontrol {Build Settings} and
|
Output from CMake is displayed next to the \uicontrol {Build Settings} and
|
||||||
\uicontrol {Run Settings} panes in the \uicontrol Projects mode.
|
\uicontrol {Run Settings} panes in the \uicontrol Projects mode.
|
||||||
|
|
||||||
\image qtcreator-build-cmake-output.png {CMake output in Projects mode}
|
\image {qtcreator-build-cmake-output.png} {CMake output in Projects mode}
|
||||||
|
|
||||||
To clear the output from CMake, select the \inlineimage icons/clean_pane_small.png
|
To clear the output from CMake, select the \inlineimage icons/clean_pane_small.png
|
||||||
(\uicontrol Clear) button.
|
(\uicontrol Clear) button.
|
||||||
@@ -198,7 +198,7 @@
|
|||||||
If the output looks incorrect or different from earlier \QC versions, try
|
If the output looks incorrect or different from earlier \QC versions, try
|
||||||
setting \c CLICOLOR_FORCE to \e 0 in \uicontrol {Use Build Environment}.
|
setting \c CLICOLOR_FORCE to \e 0 in \uicontrol {Use Build Environment}.
|
||||||
|
|
||||||
\image qtcreator-build-configuration-set-clicolor-force.webp {Build Environment with CLICOLOR_FORCE set}
|
\image {qtcreator-build-configuration-set-clicolor-force.webp} {Build Environment with CLICOLOR_FORCE set}
|
||||||
|
|
||||||
\section1 Using Junction Points on Windows
|
\section1 Using Junction Points on Windows
|
||||||
|
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
operations, go to \preferences > \uicontrol CMake > \uicontrol General and
|
operations, go to \preferences > \uicontrol CMake > \uicontrol General and
|
||||||
select \uicontrol {Use junctions for CMake configuration and build operations}.
|
select \uicontrol {Use junctions for CMake configuration and build operations}.
|
||||||
|
|
||||||
\image qtcreator-preferences-cmake-general.webp {CMake General preferences}
|
\image {qtcreator-preferences-cmake-general.webp} {General tab in CMake preferences}
|
||||||
|
|
||||||
\QC stores junction points in \c {C:\ProgramData\QtCreator\Links}. To use
|
\QC stores junction points in \c {C:\ProgramData\QtCreator\Links}. To use
|
||||||
another path, set it as the value of the \c QTC_CMAKE_JUNCTIONS_DIR
|
another path, set it as the value of the \c QTC_CMAKE_JUNCTIONS_DIR
|
||||||
@@ -230,7 +230,7 @@
|
|||||||
You can add arguments to pass to CMake and the generator and targets for
|
You can add arguments to pass to CMake and the generator and targets for
|
||||||
the build command in \uicontrol {Build Steps}.
|
the build command in \uicontrol {Build Steps}.
|
||||||
|
|
||||||
\image qtcreator-cmake-build-steps.webp {CMake build steps}
|
\image {qtcreator-cmake-build-steps.webp} {CMake build steps}
|
||||||
|
|
||||||
\note While the other CMake generators are installed together with Qt,
|
\note While the other CMake generators are installed together with Qt,
|
||||||
you usually need to install Ninja yourself.
|
you usually need to install Ninja yourself.
|
||||||
@@ -252,10 +252,10 @@
|
|||||||
variable.
|
variable.
|
||||||
\li In \uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build
|
\li In \uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build
|
||||||
> \uicontrol {Build Settings}, select \uicontrol {Kit Configuration}.
|
> \uicontrol {Build Settings}, select \uicontrol {Kit Configuration}.
|
||||||
\image qtcreator-cmake-kit-configuration.png {Kit CMake Configuration dialog}
|
\image {qtcreator-cmake-kit-configuration.png} {Kit CMake Configuration dialog}
|
||||||
\li Select \uicontrol Change next to the \uicontrol {CMake generator}
|
\li Select \uicontrol Change next to the \uicontrol {CMake generator}
|
||||||
field to open the \uicontrol {CMake Generator} dialog.
|
field to open the \uicontrol {CMake Generator} dialog.
|
||||||
\image qtcreator-cmake-generator.webp {CMake Generator dialog}
|
\image {qtcreator-cmake-generator.webp} {CMake Generator dialog}
|
||||||
\li In \uicontrol Generator, select \uicontrol Ninja.
|
\li In \uicontrol Generator, select \uicontrol Ninja.
|
||||||
\li Select \uicontrol OK to save your changes and close the dialog.
|
\li Select \uicontrol OK to save your changes and close the dialog.
|
||||||
\li Select \uicontrol Close to close the
|
\li Select \uicontrol Close to close the
|
||||||
@@ -295,7 +295,7 @@
|
|||||||
When building with CMake, you can add arguments to pass to CMake and the
|
When building with CMake, you can add arguments to pass to CMake and the
|
||||||
generator and targets for the clean command in \uicontrol {Clean Steps}.
|
generator and targets for the clean command in \uicontrol {Clean Steps}.
|
||||||
|
|
||||||
\image qtcreator-cmake-clean-steps.webp {CMake clean steps}
|
\image {qtcreator-cmake-clean-steps.webp} {CMake clean steps}
|
||||||
|
|
||||||
The build errors and warnings are parsed and displayed in \l Issues.
|
The build errors and warnings are parsed and displayed in \l Issues.
|
||||||
|
|
||||||
|
@@ -28,12 +28,12 @@
|
|||||||
{open a project}, when no \c CMakeLists.txt.user file exists or you have
|
{open a project}, when no \c CMakeLists.txt.user file exists or you have
|
||||||
disabled all kits in the project.
|
disabled all kits in the project.
|
||||||
|
|
||||||
\image qtcreator-cmake-presets-configure.webp {Opening a project that has CMake presets}
|
\image {qtcreator-cmake-presets-configure.webp} {Opening a project that has CMake presets}
|
||||||
|
|
||||||
You can view the presets in the \uicontrol {Initial Configuration} field and
|
You can view the presets in the \uicontrol {Initial Configuration} field and
|
||||||
in the environment configuration field below it.
|
in the environment configuration field below it.
|
||||||
|
|
||||||
\image qtcreator-cmake-presets-environment.webp {CMake environment configuration}
|
\image {qtcreator-cmake-presets-environment.webp} {CMake environment configuration}
|
||||||
|
|
||||||
To update changes to the \c CMakePresets.json file, select \uicontrol Build >
|
To update changes to the \c CMakePresets.json file, select \uicontrol Build >
|
||||||
\uicontrol {Reload CMake Presets}, and then select the presets file to load.
|
\uicontrol {Reload CMake Presets}, and then select the presets file to load.
|
||||||
|
@@ -67,12 +67,12 @@
|
|||||||
view when you edit a \c CMakeLists.txt configuration file
|
view when you edit a \c CMakeLists.txt configuration file
|
||||||
in a project. Also, refreshes project information when you build the project.
|
in a project. Also, refreshes project information when you build the project.
|
||||||
|
|
||||||
\image qtcreator-projects-view-edit.png {CMake project in Projects view}
|
\image {qtcreator-projects-view-edit.png} {CMake project in Projects view}
|
||||||
|
|
||||||
To disable this behavior, go to \preferences > \uicontrol CMake >
|
To disable this behavior, go to \preferences > \uicontrol CMake >
|
||||||
\uicontrol General and clear \uicontrol {Autorun CMake}.
|
\uicontrol General and clear \uicontrol {Autorun CMake}.
|
||||||
|
|
||||||
\image qtcreator-preferences-cmake-general.webp {General tab in CMake Preferences}
|
\image {qtcreator-preferences-cmake-general.webp} {General tab in CMake preferences}
|
||||||
|
|
||||||
\section1 Re-configure CMake projects
|
\section1 Re-configure CMake projects
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
|
|
||||||
\li Select \preferences > \uicontrol CMake > \uicontrol Tools.
|
\li Select \preferences > \uicontrol CMake > \uicontrol Tools.
|
||||||
|
|
||||||
\image qtcreator-preferences-cmake-tools.webp {Tools tab in CMake Preferences}
|
\image {qtcreator-preferences-cmake-tools.webp} {Tools tab in CMake preferences}
|
||||||
|
|
||||||
\li The \uicontrol Name field displays a name for the CMake
|
\li The \uicontrol Name field displays a name for the CMake
|
||||||
installation.
|
installation.
|
||||||
@@ -190,7 +190,7 @@
|
|||||||
The kit also specifies the CMake generator that is used for producing
|
The kit also specifies the CMake generator that is used for producing
|
||||||
project files for \QC and the initial configuration parameters:
|
project files for \QC and the initial configuration parameters:
|
||||||
|
|
||||||
\image qtcreator-preferences-kits.webp {Kits preferences}
|
\image {qtcreator-preferences-kits.webp} {Kits preferences}
|
||||||
|
|
||||||
\sa {Build applications on remote Linux devices}, {Build on Docker devices},
|
\sa {Build applications on remote Linux devices}, {Build on Docker devices},
|
||||||
{Build with CMake}{How To: Build with CMake},
|
{Build with CMake}{How To: Build with CMake},
|
||||||
@@ -295,7 +295,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol CMake > \uicontrol Formatter.
|
\li Select \preferences > \uicontrol CMake > \uicontrol Formatter.
|
||||||
\image qtcreator-preferences-cmake-formatter.webp {Formatter tab in CMake Preferences}
|
\image {qtcreator-preferences-cmake-formatter.webp} {Formatter tab in CMake preferences}
|
||||||
\li In \uicontrol {CMakeFormat command}, enter the path to
|
\li In \uicontrol {CMakeFormat command}, enter the path to
|
||||||
\c {cmake-format.exe}.
|
\c {cmake-format.exe}.
|
||||||
\li Select \uicontrol {Automatic formatting on file save} to automatically
|
\li Select \uicontrol {Automatic formatting on file save} to automatically
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Projects > \uicontrol {Project Settings} >
|
\li Go to \uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol CMake.
|
\uicontrol CMake.
|
||||||
\image qtcreator-project-settings-cmake.webp {CMake settings for a project}
|
\image {qtcreator-project-settings-cmake.webp} {CMake settings for a project}
|
||||||
\li Clear \uicontrol {Use global settings}.
|
\li Clear \uicontrol {Use global settings}.
|
||||||
\li Configure CMake for the project.
|
\li Configure CMake for the project.
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
To configure a project to be built using the Conan package manager, select
|
To configure a project to be built using the Conan package manager, select
|
||||||
\uicontrol {Add Build Step} > \uicontrol {Run Conan Install}.
|
\uicontrol {Add Build Step} > \uicontrol {Run Conan Install}.
|
||||||
|
|
||||||
\image qtcreator-build-steps-conan-install.png {Conan Install build step}
|
\image {qtcreator-build-steps-conan-install.png} {Conan Install build step}
|
||||||
|
|
||||||
In the \uicontrol {Conan file} field, enter the location of the
|
In the \uicontrol {Conan file} field, enter the location of the
|
||||||
\e conanfile.txt file for the project.
|
\e conanfile.txt file for the project.
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
and line number of the corresponding source file. This data is shown in the
|
and line number of the corresponding source file. This data is shown in the
|
||||||
\uicontrol Stack view.
|
\uicontrol Stack view.
|
||||||
|
|
||||||
\image qtcreator-debug-stack.png {Stack view}
|
\image {qtcreator-debug-stack.png} {Stack view}
|
||||||
|
|
||||||
Since the call stack leading to the current position may originate or go
|
Since the call stack leading to the current position may originate or go
|
||||||
through code for which no debug information is available, not all stack
|
through code for which no debug information is available, not all stack
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
(\uicontrol {Unclaimed Breakpoint}) icon, when they refer to a position
|
(\uicontrol {Unclaimed Breakpoint}) icon, when they refer to a position
|
||||||
in code.
|
in code.
|
||||||
|
|
||||||
\image qtcreator-debugger-breakpoint-preset.webp {Breakpoint Preset view}
|
\image {qtcreator-debugger-breakpoint-preset.webp} {Breakpoint Preset view}
|
||||||
|
|
||||||
When a debugger starts, the debugging backend identifies breakpoints
|
When a debugger starts, the debugging backend identifies breakpoints
|
||||||
from the set of unclaimed breakpoints that might be handled by the
|
from the set of unclaimed breakpoints that might be handled by the
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
You can then examine the state of the interrupted application, or
|
You can then examine the state of the interrupted application, or
|
||||||
continue execution either line-by-line or continuously.
|
continue execution either line-by-line or continuously.
|
||||||
|
|
||||||
\image qtcreator-debug-breakpoints.webp {Breakpoints view}
|
\image {qtcreator-debug-breakpoints.webp} {Breakpoints view}
|
||||||
|
|
||||||
\if defined(qtdesignstudio)
|
\if defined(qtdesignstudio)
|
||||||
For more information, see:
|
For more information, see:
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
\li In \uicontrol {Breakpoint type}, select the location in the
|
\li In \uicontrol {Breakpoint type}, select the location in the
|
||||||
application code where you want the application to stop.
|
application code where you want the application to stop.
|
||||||
|
|
||||||
\image qtcreator-add-breakpoint.webp {Add Breakpoints} dialog
|
\image {qtcreator-add-breakpoint.webp} {Add Breakpoints dialog}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
Clear \uicontrol Enabled to make the breakpoint temporarily
|
Clear \uicontrol Enabled to make the breakpoint temporarily
|
||||||
@@ -398,7 +398,7 @@
|
|||||||
The \uicontrol {Locals} view consists of the \uicontrol Locals pane and the
|
The \uicontrol {Locals} view consists of the \uicontrol Locals pane and the
|
||||||
\uicontrol {Return Value} pane (hidden when empty).
|
\uicontrol {Return Value} pane (hidden when empty).
|
||||||
|
|
||||||
\image qtcreator-locals.png {Locals view}
|
\image {qtcreator-locals.png} {Locals view}
|
||||||
|
|
||||||
Whenever an application stops under the control of the debugger, it retrieves
|
Whenever an application stops under the control of the debugger, it retrieves
|
||||||
information about the topmost stack frame and displays it in the
|
information about the topmost stack frame and displays it in the
|
||||||
@@ -475,7 +475,7 @@
|
|||||||
You can also use Expression Evaluators as shortcuts to items that are
|
You can also use Expression Evaluators as shortcuts to items that are
|
||||||
nested deeply in the locals tree.
|
nested deeply in the locals tree.
|
||||||
|
|
||||||
\image qtcreator-debugger-expressions.webp {Expressions view}
|
\image {qtcreator-debugger-expressions.webp} {Expressions view}
|
||||||
|
|
||||||
\section1 Adding expression evaluators
|
\section1 Adding expression evaluators
|
||||||
|
|
||||||
@@ -493,7 +493,7 @@
|
|||||||
|
|
||||||
Enter the expression in the \uicontrol {New Evaluated Expression} dialog:
|
Enter the expression in the \uicontrol {New Evaluated Expression} dialog:
|
||||||
|
|
||||||
\image qtcreator-debugger-new-evaluated-expression.webp {New Evaluated Expression dialog}
|
\image {qtcreator-debugger-new-evaluated-expression.webp} {New Evaluated Expression dialog}
|
||||||
|
|
||||||
\omit
|
\omit
|
||||||
## Visible in the context menu, but does not currently work.
|
## Visible in the context menu, but does not currently work.
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
border on the line where we change the cursor position to set a
|
border on the line where we change the cursor position to set a
|
||||||
breakpoint.
|
breakpoint.
|
||||||
|
|
||||||
\image qtcreator-setting-breakpoint1.png
|
\image {qtcreator-setting-breakpoint1.png} {Setting a breakpoint in the editor}
|
||||||
|
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||||
\uicontrol {Start Debugging of Startup Project} or select \key F5.
|
\uicontrol {Start Debugging of Startup Project} or select \key F5.
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
\li To view information about the breakpoint, go to the
|
\li To view information about the breakpoint, go to the
|
||||||
\uicontrol Breakpoints view.
|
\uicontrol Breakpoints view.
|
||||||
|
|
||||||
\image qtcreator-setting-breakpoint2.png
|
\image {qtcreator-setting-breakpoint2.png} {Viewing breakpoint details in the Breakpoints view}
|
||||||
|
|
||||||
\li To remove a breakpoint, right-click it and select
|
\li To remove a breakpoint, right-click it and select
|
||||||
\uicontrol {Delete Breakpoint}.
|
\uicontrol {Delete Breakpoint}.
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
\li To view the base classes and data members of the TextFinder class,
|
\li To view the base classes and data members of the TextFinder class,
|
||||||
go to the \uicontrol Locals view.
|
go to the \uicontrol Locals view.
|
||||||
|
|
||||||
\image qtcreator-watcher.png
|
\image {qtcreator-watcher.png} {Viewing the base classes and data members of a class}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
To set general preferences that are common to all debuggers, go to
|
To set general preferences that are common to all debuggers, go to
|
||||||
\preferences > \uicontrol Debugger > \uicontrol General.
|
\preferences > \uicontrol Debugger > \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-general.webp {Debugger General preferences}
|
\image {qtcreator-preferences-debugger-general.webp} {General tab in Debugger preferences}
|
||||||
|
|
||||||
You can customize the appearance and behavior of the debug views and
|
You can customize the appearance and behavior of the debug views and
|
||||||
setting breakpoints, as well as map source paths to target paths.
|
setting breakpoints, as well as map source paths to target paths.
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
To specify preferences for managing the GDB process, go to \preferences >
|
To specify preferences for managing the GDB process, go to \preferences >
|
||||||
\uicontrol Debugger > \uicontrol GDB.
|
\uicontrol Debugger > \uicontrol GDB.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-gdb.webp {GDB preferences}
|
\image {qtcreator-preferences-debugger-gdb.webp} {GDB tab in Debugger preferences}
|
||||||
|
|
||||||
The following table summarizes the preferences.
|
The following table summarizes the preferences.
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@
|
|||||||
To set preferences for managing the CDB process, go to \preferences >
|
To set preferences for managing the CDB process, go to \preferences >
|
||||||
\uicontrol Debugger > \uicontrol CDB.
|
\uicontrol Debugger > \uicontrol CDB.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-cdb.webp {CDB preferences}
|
\image {qtcreator-preferences-debugger-cdb.webp} {CDB tab in Debugger preferences}
|
||||||
|
|
||||||
The following table summarizes the preferences.
|
The following table summarizes the preferences.
|
||||||
|
|
||||||
@@ -303,7 +303,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Debugger > \uicontrol {CDB Paths}.
|
\li Go to \preferences > \uicontrol Debugger > \uicontrol {CDB Paths}.
|
||||||
\image qtcreator-debugger-cdb-paths.png
|
\image {qtcreator-debugger-cdb-paths.png} {CDB Paths tab in Debugger preferences}
|
||||||
\li In the \uicontrol {Symbol Paths} group, select \uicontrol Insert.
|
\li In the \uicontrol {Symbol Paths} group, select \uicontrol Insert.
|
||||||
\li Select the directory where you want to store the cached information.
|
\li Select the directory where you want to store the cached information.
|
||||||
Use a subfolder in a temporary directory, such as
|
Use a subfolder in a temporary directory, such as
|
||||||
|
@@ -146,7 +146,7 @@
|
|||||||
Install Python and set the interpreter to use in \uicontrol Projects
|
Install Python and set the interpreter to use in \uicontrol Projects
|
||||||
> \uicontrol Run.
|
> \uicontrol Run.
|
||||||
|
|
||||||
\image qtcreator-run-settings-python.webp {Run settings for a Python project}
|
\image {qtcreator-run-settings-python.webp} {Run settings for a Python project}
|
||||||
|
|
||||||
\sa {Debug}{How To: Debug}, {Debugging}, {Debuggers}, {Debugger}, {Kits}
|
\sa {Debug}{How To: Debug}, {Debugging}, {Debuggers}, {Debugger}, {Kits}
|
||||||
*/
|
*/
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
another kit. To specify the debugger and compiler to use for each kit, go to
|
another kit. To specify the debugger and compiler to use for each kit, go to
|
||||||
\preferences > \uicontrol Kits.
|
\preferences > \uicontrol Kits.
|
||||||
|
|
||||||
\image qtcreator-preferences-kits.webp {Kits preferences}
|
\image {qtcreator-preferences-kits.webp} {Kits preferences}
|
||||||
|
|
||||||
You need to set up the debugger only if the automatic setup fails because
|
You need to set up the debugger only if the automatic setup fails because
|
||||||
the debugger is missing (for example, you must install the CDB
|
the debugger is missing (for example, you must install the CDB
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
\preferences > \uicontrol Kits >
|
\preferences > \uicontrol Kits >
|
||||||
\uicontrol Debuggers > \uicontrol Add to add it.
|
\uicontrol Debuggers > \uicontrol Add to add it.
|
||||||
|
|
||||||
\image qtcreator-preferences-kits-debuggers.webp {Debuggers tab in Kits preferences}
|
\image {qtcreator-preferences-kits-debuggers.webp} {Debuggers tab in Kits preferences}
|
||||||
|
|
||||||
To use the debugging tools for Windows, you must install them.
|
To use the debugging tools for Windows, you must install them.
|
||||||
Optionally, you can set up the Microsoft Symbol Server if you need
|
Optionally, you can set up the Microsoft Symbol Server if you need
|
||||||
@@ -311,7 +311,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||||
\uicontrol {Start and Debug External Application}.
|
\uicontrol {Start and Debug External Application}.
|
||||||
\image qtcreator-debugger-start-external.png
|
\image {qtcreator-debugger-start-external.png} {Start and Debug External Application dialog}
|
||||||
\li In \uicontrol Kit, select the build and run kit to
|
\li In \uicontrol Kit, select the build and run kit to
|
||||||
use for building the project.
|
use for building the project.
|
||||||
\li In \uicontrol {Local executable}, specify the path to the
|
\li In \uicontrol {Local executable}, specify the path to the
|
||||||
@@ -358,7 +358,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||||
\uicontrol {Attach to Running Application}.
|
\uicontrol {Attach to Running Application}.
|
||||||
\image qtcreator-debugger-attach-to-running.png
|
\image {qtcreator-debugger-attach-to-running.png} {Attach to Running Application dialog}
|
||||||
\li In \uicontrol Filter, enter a string to filter processes
|
\li In \uicontrol Filter, enter a string to filter processes
|
||||||
by their process ID or name.
|
by their process ID or name.
|
||||||
\li Select a process in the list, and then select
|
\li Select a process in the list, and then select
|
||||||
@@ -392,7 +392,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||||
\uicontrol {Attach to Unstarted Application}.
|
\uicontrol {Attach to Unstarted Application}.
|
||||||
\image qtcreator-debugger-attach-to-process-not-yet-started.png
|
\image {qtcreator-debugger-attach-to-process-not-yet-started.png} {Attach to Unstarted Application dialog}
|
||||||
\li In \uicontrol Kit, select the build and run kit to
|
\li In \uicontrol Kit, select the build and run kit to
|
||||||
use for building the project.
|
use for building the project.
|
||||||
\li In \uicontrol Executable, specify the path to the
|
\li In \uicontrol Executable, specify the path to the
|
||||||
@@ -437,7 +437,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging}, and then
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging}, and then
|
||||||
select \uicontrol {Load Core File}.
|
select \uicontrol {Load Core File}.
|
||||||
\image qtcreator-debugger-load-core-file.png
|
\image {qtcreator-debugger-load-core-file.png} {Load Core File dialog}
|
||||||
\li In \uicontrol Kit, select a build and run kit that was
|
\li In \uicontrol Kit, select a build and run kit that was
|
||||||
used for building the binary for which the core file was created.
|
used for building the binary for which the core file was created.
|
||||||
If the core file stems from a binary not built by \QC or a process
|
If the core file stems from a binary not built by \QC or a process
|
||||||
@@ -555,7 +555,7 @@
|
|||||||
|
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||||
\uicontrol {Attach to Running Debug Server}.
|
\uicontrol {Attach to Running Debug Server}.
|
||||||
\image qtcreator-debugger-attach-to-running-debug-server.png
|
\image {qtcreator-debugger-attach-to-running-debug-server.png} {Attach to Running Debug Server dialog}
|
||||||
\li In \uicontrol Kit, select the build and run kit to
|
\li In \uicontrol Kit, select the build and run kit to
|
||||||
use for building the project.
|
use for building the project.
|
||||||
\li In \uicontrol {Server port}, enter the name of the remote
|
\li In \uicontrol {Server port}, enter the name of the remote
|
||||||
@@ -612,7 +612,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices.
|
||||||
\image qtcreator-preferences-devices-remote-linux.webp {Remote Linux device preferences}
|
\image {qtcreator-preferences-devices-remote-linux.webp} {Remote Linux device in Devices preferences}
|
||||||
\li In \uicontrol Device, select \uicontrol {Remote Linux Device}.
|
\li In \uicontrol Device, select \uicontrol {Remote Linux Device}.
|
||||||
\li Select \uicontrol {Use SSH port forwarding for debugging}.
|
\li Select \uicontrol {Use SSH port forwarding for debugging}.
|
||||||
\li Select \uicontrol OK.
|
\li Select \uicontrol OK.
|
||||||
@@ -713,7 +713,7 @@
|
|||||||
In the \uicontrol Debug mode, you can inspect the state of your
|
In the \uicontrol Debug mode, you can inspect the state of your
|
||||||
application while debugging.
|
application while debugging.
|
||||||
|
|
||||||
\image qtcreator-debugger-views.webp {Debug mode views while debugging}
|
\image {qtcreator-debugger-views.webp} {Debug mode views while debugging}
|
||||||
|
|
||||||
You can interact with the debugger in many ways:
|
You can interact with the debugger in many ways:
|
||||||
|
|
||||||
@@ -819,7 +819,7 @@
|
|||||||
When you are not debugging, the \uicontrol Debug mode shows the
|
When you are not debugging, the \uicontrol Debug mode shows the
|
||||||
\uicontrol {Debugger Preset} perspective:
|
\uicontrol {Debugger Preset} perspective:
|
||||||
|
|
||||||
\image qtcreator-debugger-views-initial.webp {Initial Debug mode views}
|
\image {qtcreator-debugger-views-initial.webp} {Initial Debug mode views}
|
||||||
|
|
||||||
During debugging, the mode shows the views that you usually need to
|
During debugging, the mode shows the views that you usually need to
|
||||||
debug C++ or QML applications. To show other views or to hide views,
|
debug C++ or QML applications. To show other views or to hide views,
|
||||||
@@ -838,7 +838,7 @@
|
|||||||
To change the appearance and behavior of the debug views, set preferences
|
To change the appearance and behavior of the debug views, set preferences
|
||||||
in \preferences > \uicontrol Debugger > \uicontrol General.
|
in \preferences > \uicontrol Debugger > \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-general.webp {General tab in Debugger preferences}
|
\image {qtcreator-preferences-debugger-general.webp} {General tab in Debugger preferences}
|
||||||
|
|
||||||
For example, you can:
|
For example, you can:
|
||||||
|
|
||||||
@@ -867,7 +867,7 @@
|
|||||||
To display the value of a simple variable, hover the mouse pointer over its
|
To display the value of a simple variable, hover the mouse pointer over its
|
||||||
name in the code editor.
|
name in the code editor.
|
||||||
|
|
||||||
\image qtcreator-debugger-value-tooltips.webp {Value tooltip in code editor}
|
\image {qtcreator-debugger-value-tooltips.webp} {Value tooltip in code editor}
|
||||||
|
|
||||||
To keep the tooltip visible, click the pin button.
|
To keep the tooltip visible, click the pin button.
|
||||||
You can expand pinned tooltips to view their full content.
|
You can expand pinned tooltips to view their full content.
|
||||||
@@ -896,7 +896,7 @@
|
|||||||
concise manner to simplify the debugging process without losing the power
|
concise manner to simplify the debugging process without losing the power
|
||||||
of the debuggers.
|
of the debuggers.
|
||||||
|
|
||||||
\image qtcreator-locals.png {Locals view}
|
\image {qtcreator-locals.png} {Locals view}
|
||||||
|
|
||||||
The \l {Local variables and function parameters}{Locals} and
|
The \l {Local variables and function parameters}{Locals} and
|
||||||
\l {Evaluating expressions}{Expressions} views show structured
|
\l {Evaluating expressions}{Expressions} views show structured
|
||||||
@@ -1095,10 +1095,10 @@
|
|||||||
|
|
||||||
If an instance of a class is derived from QObject, you can find all other
|
If an instance of a class is derived from QObject, you can find all other
|
||||||
objects connected to this object's slots with Qt's signals and slots
|
objects connected to this object's slots with Qt's signals and slots
|
||||||
mechanism. Go to \preferences > \uicontrol {Debugging} >
|
mechanism. Go to \preferences > \uicontrol {Debugger} >
|
||||||
\uicontrol {Locals & Expressions} > \uicontrol {Use Debugging Helpers}.
|
\uicontrol {Locals & Expressions} > \uicontrol {Use Debugging Helpers}.
|
||||||
|
|
||||||
\image qtcreator-debugging-helper-options.webp {Locals & Expressions preferences}
|
\image {qtcreator-debugging-helper-options.webp} {Locals & Expressions tab in Debugger preferences}
|
||||||
|
|
||||||
In the \uicontrol Locals view, expand the object's entry and open the slot
|
In the \uicontrol Locals view, expand the object's entry and open the slot
|
||||||
in the \e slots subitem. The view shows the objects connected to this slot
|
in the \e slots subitem. The view shows the objects connected to this slot
|
||||||
@@ -1154,7 +1154,7 @@
|
|||||||
currently active in the application and switch between them in the
|
currently active in the application and switch between them in the
|
||||||
\uicontrol Threads view (1):
|
\uicontrol Threads view (1):
|
||||||
|
|
||||||
\image qtcreator-debugger-threads.webp {Threads view}
|
\image {qtcreator-debugger-threads.webp} {Threads view}
|
||||||
|
|
||||||
You can also select a thread in the \uicontrol Threads field (2) on the
|
You can also select a thread in the \uicontrol Threads field (2) on the
|
||||||
debugger toolbar.
|
debugger toolbar.
|
||||||
@@ -1188,7 +1188,7 @@
|
|||||||
\li A dynamic shared library (\c {.dylib}) in \macos
|
\li A dynamic shared library (\c {.dylib}) in \macos
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\image qtcreator-debugger-modules.webp {Modules view}
|
\image {qtcreator-debugger-modules.webp} {Modules view}
|
||||||
|
|
||||||
In addition, the view displays symbols within the modules and indicates
|
In addition, the view displays symbols within the modules and indicates
|
||||||
where each module was loaded. Right-click column headers to show and
|
where each module was loaded. Right-click column headers to show and
|
||||||
@@ -1228,7 +1228,7 @@
|
|||||||
for the specified modules, go to \preferences > \uicontrol Debugger >
|
for the specified modules, go to \preferences > \uicontrol Debugger >
|
||||||
\uicontrol CDB.
|
\uicontrol CDB.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-cdb.webp {CDB tab in Debugger preferences}
|
\image {qtcreator-preferences-debugger-cdb.webp} {CDB tab in Debugger preferences}
|
||||||
|
|
||||||
For more information, see \l{CDB}.
|
For more information, see \l{CDB}.
|
||||||
|
|
||||||
@@ -1250,7 +1250,7 @@
|
|||||||
the source file is actually part of the project, or whether it was compiled
|
the source file is actually part of the project, or whether it was compiled
|
||||||
elsewhere. The view shows the path to each file in the file system.
|
elsewhere. The view shows the path to each file in the file system.
|
||||||
|
|
||||||
\image qtcreator-debugger-source-files.webp {Source Files view}
|
\image {qtcreator-debugger-source-files.webp} {Source Files view}
|
||||||
|
|
||||||
Right-click the view to select the following actions:
|
Right-click the view to select the following actions:
|
||||||
|
|
||||||
@@ -1270,7 +1270,7 @@
|
|||||||
at which the libraries were built, you can map source paths to target
|
at which the libraries were built, you can map source paths to target
|
||||||
paths in \preferences > \uicontrol Debugger > \uicontrol General.
|
paths in \preferences > \uicontrol Debugger > \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-general.webp {General tab in Debugger preferences}
|
\image {qtcreator-preferences-debugger-general.webp} {General tab in Debugger preferences}
|
||||||
|
|
||||||
For more information, see \l{Source Paths Mapping}.
|
For more information, see \l{Source Paths Mapping}.
|
||||||
|
|
||||||
@@ -1296,7 +1296,7 @@
|
|||||||
and special-purpose CPU registers. The available registers depend on the CPU
|
and special-purpose CPU registers. The available registers depend on the CPU
|
||||||
type.
|
type.
|
||||||
|
|
||||||
\image qtcreator-debugger-registers-view.webp {Registers view}
|
\image {qtcreator-debugger-registers-view.webp} {Registers view}
|
||||||
|
|
||||||
You can view register values when the application stops. Double-click
|
You can view register values when the application stops. Double-click
|
||||||
register values to edit them.
|
register values to edit them.
|
||||||
@@ -1329,7 +1329,7 @@
|
|||||||
and then select \uicontrol {Open Memory Editor at <value>} or
|
and then select \uicontrol {Open Memory Editor at <value>} or
|
||||||
\uicontrol {Open Memory View at <value>} in the context menu:
|
\uicontrol {Open Memory View at <value>} in the context menu:
|
||||||
|
|
||||||
\image qtcreator-debugger-memory-editor.webp {Memory Editor}
|
\image {qtcreator-debugger-memory-editor.webp} {Memory Editor}
|
||||||
|
|
||||||
Hover the mouse pointer on a value to see details as a tooltip.
|
Hover the mouse pointer on a value to see details as a tooltip.
|
||||||
|
|
||||||
@@ -1362,7 +1362,7 @@
|
|||||||
peripheral device, the application accesses its I/O addresses with a load
|
peripheral device, the application accesses its I/O addresses with a load
|
||||||
or store instruction that the CPU issues.
|
or store instruction that the CPU issues.
|
||||||
|
|
||||||
\image qtcreator-debugger-peripheral-registers-view.webp {Peripheral Registers view}
|
\image {qtcreator-debugger-peripheral-registers-view.webp} {Peripheral Registers view}
|
||||||
|
|
||||||
The \uicontrol Access column shows whether the register is read-and-write
|
The \uicontrol Access column shows whether the register is read-and-write
|
||||||
(\uicontrol RW), read-only (\uicontrol RO), or write-only (\uicontrol WO).
|
(\uicontrol RW), read-only (\uicontrol RO), or write-only (\uicontrol WO).
|
||||||
@@ -1396,7 +1396,7 @@
|
|||||||
You can view debug output in the \uicontrol {Debugger Log} view to
|
You can view debug output in the \uicontrol {Debugger Log} view to
|
||||||
\l {Debugger Does Not Work}{troubleshoot the debugger}.
|
\l {Debugger Does Not Work}{troubleshoot the debugger}.
|
||||||
|
|
||||||
\image qtcreator-debugger-log-view.webp {Debugger Log view}
|
\image {qtcreator-debugger-log-view.webp} {Debugger Log view}
|
||||||
|
|
||||||
If debug output is sent to the system log, go to \preferences >
|
If debug output is sent to the system log, go to \preferences >
|
||||||
\uicontrol Debugger > \uicontrol General and select
|
\uicontrol Debugger > \uicontrol General and select
|
||||||
@@ -1451,7 +1451,7 @@
|
|||||||
function. It is useful for low-level commands for checking single
|
function. It is useful for low-level commands for checking single
|
||||||
instructions, such as \uicontrol {Step Into} and \uicontrol {Step Over}.
|
instructions, such as \uicontrol {Step Into} and \uicontrol {Step Over}.
|
||||||
|
|
||||||
\image qtcreator-debugger-disassembler-view.webp {Disassembler view}
|
\image {qtcreator-debugger-disassembler-view.webp} {Disassembler view}
|
||||||
|
|
||||||
By default, GDB shows AT&T style disassembly. To switch to the Intel style,
|
By default, GDB shows AT&T style disassembly. To switch to the Intel style,
|
||||||
go to \preferences > \uicontrol Debugger >
|
go to \preferences > \uicontrol Debugger >
|
||||||
@@ -1475,7 +1475,7 @@
|
|||||||
To start a disassembler from the \uicontrol Registers view, select
|
To start a disassembler from the \uicontrol Registers view, select
|
||||||
\uicontrol {Open Disassembler} and set the disassembler address:
|
\uicontrol {Open Disassembler} and set the disassembler address:
|
||||||
|
|
||||||
\image qcreator-debugger-select-start-address.webp {Select Start Address dialog}
|
\image {qcreator-debugger-select-start-address.webp} {Select Start Address dialog}
|
||||||
|
|
||||||
\sa {Debug}{How To: Debug}, {Debugging}, {Debuggers}, {Debugger}
|
\sa {Debug}{How To: Debug}, {Debugging}, {Debuggers}, {Debugger}
|
||||||
*/
|
*/
|
||||||
@@ -1509,7 +1509,7 @@
|
|||||||
\uicontrol Debugger > \uicontrol GDB > \uicontrol {Load system GDB pretty
|
\uicontrol Debugger > \uicontrol GDB > \uicontrol {Load system GDB pretty
|
||||||
printers}. For more information, see \l{GDB}.
|
printers}. For more information, see \l{GDB}.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-gdb.webp {GDB preferences}
|
\image {qtcreator-preferences-debugger-gdb.webp} {GDB tab in Debugger preferences}
|
||||||
|
|
||||||
\section1 Customizing Built-In Debugging Helpers
|
\section1 Customizing Built-In Debugging Helpers
|
||||||
|
|
||||||
@@ -1519,7 +1519,7 @@
|
|||||||
\uicontrol {Locals & Expressions}, and enter the commands in the
|
\uicontrol {Locals & Expressions}, and enter the commands in the
|
||||||
\uicontrol {Debugging Helper Customization} field.
|
\uicontrol {Debugging Helper Customization} field.
|
||||||
|
|
||||||
\image qtcreator-debugging-helper-options.webp {Locals & Expressions preferences}
|
\image {qtcreator-debugging-helper-options.webp} {Locals & Expressions tab in Debugger 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}
|
||||||
@@ -1728,7 +1728,7 @@
|
|||||||
selecting \preferences > \uicontrol Debugger >
|
selecting \preferences > \uicontrol Debugger >
|
||||||
\uicontrol CDB > \uicontrol {Use Python dumper}.
|
\uicontrol CDB > \uicontrol {Use Python dumper}.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-cdb.webp {CDB preferences}
|
\image {qtcreator-preferences-debugger-cdb.webp} {CDB tab in Debugger preferences}
|
||||||
|
|
||||||
The following sections describe some of the widely-used Dumper classes and
|
The following sections describe some of the widely-used Dumper classes and
|
||||||
members specified in \c qtcreator\share\qtcreator\debugger\dumper.py.
|
members specified in \c qtcreator\share\qtcreator\debugger\dumper.py.
|
||||||
@@ -2182,7 +2182,7 @@
|
|||||||
when loading the same binary in the future. Go to \preferences >
|
when loading the same binary in the future. Go to \preferences >
|
||||||
\uicontrol Debugger > \uicontrol GDB > \uicontrol {Use automatic symbol cache}.
|
\uicontrol Debugger > \uicontrol GDB > \uicontrol {Use automatic symbol cache}.
|
||||||
|
|
||||||
\image qtcreator-preferences-debugger-gdb.webp {GDB preferences}
|
\image {qtcreator-preferences-debugger-gdb.webp} {GDB tab in Debugger preferences}
|
||||||
|
|
||||||
\section2 Minimizing Number of Breakpoints
|
\section2 Minimizing Number of Breakpoints
|
||||||
|
|
||||||
|
@@ -48,7 +48,7 @@
|
|||||||
border on the line where the \c startNewGame() function is
|
border on the line where the \c startNewGame() function is
|
||||||
called (1).
|
called (1).
|
||||||
|
|
||||||
\image qtquick-example-setting-breakpoint1.webp {Breakpoint in the code editor}
|
\image {qtquick-example-setting-breakpoint1.webp} {Breakpoint in the code editor}
|
||||||
|
|
||||||
The red circle indicates that a breakpoint is now set on that line
|
The red circle indicates that a breakpoint is now set on that line
|
||||||
number.
|
number.
|
||||||
@@ -60,20 +60,20 @@
|
|||||||
\li Once the Same Game application starts, select \uicontrol {Puzzle}
|
\li Once the Same Game application starts, select \uicontrol {Puzzle}
|
||||||
to start a new game.
|
to start a new game.
|
||||||
|
|
||||||
\image samegame.png
|
\image {samegame.png} {Same Game application}
|
||||||
|
|
||||||
\li When the debugger hits the breakpoint, it interrupts the
|
\li When the debugger hits the breakpoint, it interrupts the
|
||||||
application. \QC displays the nested function calls leading to the
|
application. \QC displays the nested function calls leading to the
|
||||||
current position as a call stack trace.
|
current position as a call stack trace.
|
||||||
|
|
||||||
\image qtquick-example-setting-breakpoint2.webp {Debugger view}
|
\image {qtquick-example-setting-breakpoint2.webp} {Debugger view}
|
||||||
|
|
||||||
\li Select \inlineimage icons/debugger_stepinto_small.png
|
\li Select \inlineimage icons/debugger_stepinto_small.png
|
||||||
(\uicontrol {Step Into}) on the toolbar or select \key F11 to step
|
(\uicontrol {Step Into}) on the toolbar or select \key F11 to step
|
||||||
into the code in the stack. The samegame.js file opens in the code
|
into the code in the stack. The samegame.js file opens in the code
|
||||||
editor at the function that starts a new game.
|
editor at the function that starts a new game.
|
||||||
|
|
||||||
\image qtquick-example-stack.webp {Stack view}
|
\image {qtquick-example-stack.webp} {Stack view}
|
||||||
|
|
||||||
\li Examine the local variables in the \uicontrol Locals
|
\li Examine the local variables in the \uicontrol Locals
|
||||||
view. Step through the code to see how the information changes in
|
view. Step through the code to see how the information changes in
|
||||||
@@ -83,12 +83,12 @@
|
|||||||
select \inlineimage icons/qtcreator-debugging-continue.png
|
select \inlineimage icons/qtcreator-debugging-continue.png
|
||||||
(\uicontrol Continue) to hit the breakpoint.
|
(\uicontrol Continue) to hit the breakpoint.
|
||||||
|
|
||||||
\image qtquick-example-setting-breakpoint3.webp {Second breakpoint in the Breakpoints view}
|
\image {qtquick-example-setting-breakpoint3.webp} {Second breakpoint in the Breakpoints view}
|
||||||
|
|
||||||
\li To execute JavaScript commands in the current context, open the
|
\li To execute JavaScript commands in the current context, open the
|
||||||
\uicontrol {QML Debugger Console}.
|
\uicontrol {QML Debugger Console}.
|
||||||
|
|
||||||
\image qml-script-console.png
|
\image {qml-script-console.png} {QML Debugger Console}
|
||||||
|
|
||||||
\li To remove a breakpoint, right-click it and select
|
\li To remove a breakpoint, right-click it and select
|
||||||
\uicontrol {Delete Breakpoint}.
|
\uicontrol {Delete Breakpoint}.
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
\li In the \uicontrol Locals view, explore the object structure at
|
\li In the \uicontrol Locals view, explore the object structure at
|
||||||
runtime.
|
runtime.
|
||||||
|
|
||||||
\image qtquick-example-qml-inspector.png
|
\image {qtquick-example-qml-inspector.png} {Locals view}
|
||||||
|
|
||||||
\li Go to \uicontrol Debug > \uicontrol {Show Application on Top} to
|
\li Go to \uicontrol Debug > \uicontrol {Show Application on Top} to
|
||||||
keep the application visible while you interact with the debugger.
|
keep the application visible while you interact with the debugger.
|
||||||
|
@@ -48,7 +48,7 @@
|
|||||||
or \uicontrol Enabled in \uicontrol{Run Settings} >
|
or \uicontrol Enabled in \uicontrol{Run Settings} >
|
||||||
\uicontrol {Debugger Settings} > \uicontrol {QML debugger}.
|
\uicontrol {Debugger Settings} > \uicontrol {QML debugger}.
|
||||||
|
|
||||||
\image qtquick-debugger-settings.webp {Debugger settings section in Run Settings}
|
\image {qtquick-debugger-settings.webp} {Debugger settings section in Run Settings}
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\section2 Debugging Qt Quick applications
|
\section2 Debugging Qt Quick applications
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
\li In \uicontrol {QML debugging and profiling}, select \uicontrol Enable.
|
\li In \uicontrol {QML debugging and profiling}, select \uicontrol Enable.
|
||||||
|
|
||||||
\image qtcreator-build-settings-cmake-configure.webp {Build settings for a CMake project}
|
\image {qtcreator-build-settings-cmake-configure.webp} {Build settings for a CMake project}
|
||||||
|
|
||||||
\note Debugging requires opening a socket at a TCP port,
|
\note Debugging requires opening a socket at a TCP port,
|
||||||
which presents a security risk. Anyone on the Internet could connect
|
which presents a security risk. Anyone on the Internet could connect
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
You can enable or disable QML debugging globally in \preferences >
|
You can enable or disable QML debugging globally in \preferences >
|
||||||
\uicontrol {Build & Run} > \uicontrol {Default Build Properties}.
|
\uicontrol {Build & Run} > \uicontrol {Default Build Properties}.
|
||||||
|
|
||||||
\image qtcreator-build-settings-default.webp "Default Build Properties tab in Build & Run Preferences"
|
\image {qtcreator-build-settings-default.webp} {Default Build Properties tab in Build & Run preferences}
|
||||||
|
|
||||||
The value of the \uicontrol {QML debugging} field determines what happens
|
The value of the \uicontrol {QML debugging} field determines what happens
|
||||||
when creating new build configurations. The values \uicontrol Enable
|
when creating new build configurations. The values \uicontrol Enable
|
||||||
@@ -214,7 +214,7 @@
|
|||||||
While the application is running, you can use the \uicontrol {Locals}
|
While the application is running, you can use the \uicontrol {Locals}
|
||||||
view to explore the QML item structure.
|
view to explore the QML item structure.
|
||||||
|
|
||||||
\image qml-observer-view.png "QML item tree"
|
\image {qml-observer-view.png} {QML item tree in the Locals view}
|
||||||
|
|
||||||
To keep the application visible while you interact with the debugger, select
|
To keep the application visible while you interact with the debugger, select
|
||||||
\uicontrol Debug > \uicontrol {Show Application on Top}.
|
\uicontrol Debug > \uicontrol {Show Application on Top}.
|
||||||
@@ -263,7 +263,7 @@
|
|||||||
current context. To open it, choose \uicontrol View > \uicontrol Output >
|
current context. To open it, choose \uicontrol View > \uicontrol Output >
|
||||||
\uicontrol {QML Debugger Console}.
|
\uicontrol {QML Debugger Console}.
|
||||||
|
|
||||||
\image qml-script-console.png "QML Debugger Console"
|
\image {qml-script-console.png} {QML Debugger Console}
|
||||||
|
|
||||||
You can change property values temporarily, without editing the source, and
|
You can change property values temporarily, without editing the source, and
|
||||||
view the results in the running application. You can change the property
|
view the results in the running application. You can change the property
|
||||||
|
@@ -38,14 +38,14 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol Docker.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol Docker.
|
||||||
\li In \uicontrol Command, enter the path to the Docker CLI.
|
\li In \uicontrol Command, enter the path to the Docker CLI.
|
||||||
\image qtcreator-preferences-devices-docker.webp {Docker tab in Devices preferences}
|
\image {qtcreator-preferences-devices-docker.webp} {Docker tab in Devices preferences}
|
||||||
\li Go to \uicontrol Devices.
|
\li Go to \uicontrol Devices.
|
||||||
\li Select \uicontrol Add > \uicontrol {Docker Device} >
|
\li Select \uicontrol Add > \uicontrol {Docker Device} >
|
||||||
\uicontrol {Start Wizard} to search for images in your
|
\uicontrol {Start Wizard} to search for images in your
|
||||||
local Docker installation.
|
local Docker installation.
|
||||||
\li Select a Docker image, and then select \uicontrol OK.
|
\li Select a Docker image, and then select \uicontrol OK.
|
||||||
\li In \uicontrol Devices, check and change Docker device preferences.
|
\li In \uicontrol Devices, check and change Docker device preferences.
|
||||||
\image qtcreator-preferences-devices-docker-device.png {Docker device preferences}
|
\image {qtcreator-preferences-devices-docker-device.png} {Docker device in the Devices tab in Devices preferences}
|
||||||
\li Select \uicontrol Apply to save your changes.
|
\li Select \uicontrol Apply to save your changes.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
images in your local Docker installation. You can sort the images according
|
images in your local Docker installation. You can sort the images according
|
||||||
to the repository name or tag or the image ID or size.
|
to the repository name or tag or the image ID or size.
|
||||||
|
|
||||||
\image qtcreator-docker-image-selection.webp {Docker Image Selection dialog}
|
\image {qtcreator-docker-image-selection.webp} {Docker Image Selection dialog}
|
||||||
|
|
||||||
Select \uicontrol {Show unnamed images} to show images that are not tagged.
|
Select \uicontrol {Show unnamed images} to show images that are not tagged.
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
||||||
\li In \uicontrol Device, select a Docker device.
|
\li In \uicontrol Device, select a Docker device.
|
||||||
\image qtcreator-preferences-devices-docker-device.png {Docker device preferences}
|
\image {qtcreator-preferences-devices-docker-device.png} {Docker device in the Devices tab in Devices preferences}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
The following table summarizes the preferences you can set.
|
The following table summarizes the preferences you can set.
|
||||||
|
@@ -22,11 +22,11 @@
|
|||||||
the code.
|
the code.
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\image qtcreator-codecompletion.png
|
\image {qtcreator-codecompletion.png} {Suggestions for completing C++ code}
|
||||||
\caption Suggestions for completing C++ code.
|
\caption Suggestions for completing C++ code.
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
\image qml-code-completion.png
|
\image {qml-code-completion.png} {Suggestions for completing QML code}
|
||||||
\caption Suggestions for completing QML code.
|
\caption Suggestions for completing QML code.
|
||||||
|
|
||||||
To open the list of suggestions at any time, select \key {Ctrl+Space}.
|
To open the list of suggestions at any time, select \key {Ctrl+Space}.
|
||||||
@@ -113,11 +113,11 @@
|
|||||||
within the snippet are renamed.
|
within the snippet are renamed.
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\image qmldesigner-code-completion.png "Completing C++ code"
|
\image {qmldesigner-code-completion.png } {C++ code snippet}
|
||||||
\caption C++ code snippet.
|
\caption C++ code snippet.
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
\image qml-code-snippet.png
|
\image {qml-code-snippet.png}{QML code snippet}
|
||||||
\caption QML code snippet.
|
\caption QML code snippet.
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
To set preferences for code completion, select \preferences >
|
To set preferences for code completion, select \preferences >
|
||||||
\uicontrol {Text Editor} > \uicontrol Completion.
|
\uicontrol {Text Editor} > \uicontrol Completion.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-completion.webp {Text Editor Completion preferences}
|
\image {qtcreator-preferences-texteditor-completion.webp} {Completion tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Code Completion Behavior
|
\section1 Code Completion Behavior
|
||||||
|
|
||||||
@@ -226,11 +226,11 @@
|
|||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\image qtcreator-edit-code-snippets.png {C++ snippet preferences}
|
\image {qtcreator-edit-code-snippets.png} {Built in C++ code snippets in the Snippets tab in Text Editor preferences}
|
||||||
\caption Built-in C++ code snippets.
|
\caption Built-in C++ code snippets.
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
\image qml-snippet-editor.png
|
\image {qml-snippet-editor.png} {Built-in QML code snippets in the Snippets tab in Text Editor preferences}
|
||||||
\caption Built-in QML code snippets.
|
\caption Built-in QML code snippets.
|
||||||
|
|
||||||
\section1 Editing Snippets
|
\section1 Editing Snippets
|
||||||
@@ -292,7 +292,7 @@
|
|||||||
void $name:l$() {}
|
void $name:l$() {}
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
\image qtcreator-snippet-modifiers.png
|
\image {qtcreator-snippet-modifiers.png} {Snippet modifiers in the snippet editor}
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
The snippet editor does not check the syntax of the snippets that you edit
|
The snippet editor does not check the syntax of the snippets that you edit
|
||||||
@@ -347,7 +347,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol {Text Editor} > \uicontrol Snippets.
|
\li Select \preferences > \uicontrol {Text Editor} > \uicontrol Snippets.
|
||||||
\image qtcreator-snippet-modifiers.png {Snippets preferences}
|
\image {qtcreator-snippet-modifiers.png} {Snippets tab in Text Editor preferences}
|
||||||
\li In \uicontrol Group, select the type of snippet to add.
|
\li In \uicontrol Group, select the type of snippet to add.
|
||||||
\li Select \uicontrol Add.
|
\li Select \uicontrol Add.
|
||||||
\li Specify a trigger. If the trigger is already in use, add an optional
|
\li Specify a trigger. If the trigger is already in use, add an optional
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
\preferences > \uicontrol {Text Editor} > \uicontrol Behavior
|
\preferences > \uicontrol {Text Editor} > \uicontrol Behavior
|
||||||
and clear \uicontrol {Auto detect}.
|
and clear \uicontrol {Auto detect}.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-behavior-indentation.webp {Text Editor Behavior indentation preferences}
|
\image {qtcreator-preferences-texteditor-behavior-indentation.webp} {Indentation in the Behavior tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Fix indentation in an open file
|
\section1 Fix indentation in an open file
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
\uicontrol {Skip clean whitespace for file types} to
|
\uicontrol {Skip clean whitespace for file types} to
|
||||||
exclude the specified file types.
|
exclude the specified file types.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-behavior.webp {Text Editor Behavior preferences}
|
\image {qtcreator-preferences-texteditor-behavior.webp} {Behavior tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Show whitespace in editor
|
\section1 Show whitespace in editor
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
color of the visualization, change the value of the Visual Whitespace setting
|
color of the visualization, change the value of the Visual Whitespace setting
|
||||||
of the editor color scheme in \uicontrol {Font & Colors}.
|
of the editor color scheme in \uicontrol {Font & Colors}.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-display.png {Text Editor Display preferences}
|
\image {qtcreator-options-text-editor-display.png} {Display tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Display right margin
|
\section1 Display right margin
|
||||||
|
|
||||||
|
@@ -39,9 +39,9 @@
|
|||||||
and number of instances of the symbol in the current project.
|
and number of instances of the symbol in the current project.
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\image qtcreator-refactoring-replace.png
|
\image {qtcreator-refactoring-replace.png} {Rename Symbol Under Cursor}
|
||||||
\else
|
\else
|
||||||
\image qml-rename-symbol.png
|
\image {qml-rename-symbol.png} {Rename Symbol Under Cursor}
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
To replace all selected instances, enter the name of the new symbol
|
To replace all selected instances, enter the name of the new symbol
|
||||||
|
@@ -27,15 +27,15 @@
|
|||||||
|
|
||||||
\QC annotates an error because a semicolon is missing at the end of the line:
|
\QC annotates an error because a semicolon is missing at the end of the line:
|
||||||
|
|
||||||
\image qtcreator-syntaxerror.png {Syntax error in the Edit mode}
|
\image {qtcreator-syntaxerror.png} {Syntax error in the Edit mode}
|
||||||
|
|
||||||
\QC issues a warning because the variable is not used:
|
\QC issues a warning because the variable is not used:
|
||||||
|
|
||||||
\image qtcreator-semanticerror.png
|
\image {qtcreator-semanticerror.png} {Semantic error in the Edit mode}
|
||||||
|
|
||||||
A Qt class name has a typo:
|
A Qt class name has a typo:
|
||||||
|
|
||||||
\image qtcreator-typo-clang.png {Annotation tooltip in the Edit mode}
|
\image {qtcreator-typo-clang.png} {Annotation tooltip in the Edit mode}
|
||||||
|
|
||||||
\section1 Check QML or JavaScript syntax
|
\section1 Check QML or JavaScript syntax
|
||||||
\endif
|
\endif
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
If you turn off \QMLLS, \QC uses a static analyzer. For more information,
|
If you turn off \QMLLS, \QC uses a static analyzer. For more information,
|
||||||
see \l{JavaScript and QML Error Codes}.
|
see \l{JavaScript and QML Error Codes}.
|
||||||
|
|
||||||
\image qml-syntax-check.png {Selecting checks for the static analyzer}
|
\image {qml-syntax-check.png} {Selecting checks for the static analyzer}
|
||||||
|
|
||||||
\section1 Manage messages
|
\section1 Manage messages
|
||||||
|
|
||||||
@@ -79,7 +79,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 preferences}
|
\image {qtcreator-options-text-editor-display.png} {Display tab Text Editor preferences}
|
||||||
|
|
||||||
If you hide the annotations, you can move the mouse pointer over an icon to
|
If you hide the annotations, you can move the mouse pointer over an icon to
|
||||||
view them.
|
view them.
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
\li Go to \preferences > \uicontrol {Qt Quick} >
|
\li Go to \preferences > \uicontrol {Qt Quick} >
|
||||||
\uicontrol {QML/JS Editing}.
|
\uicontrol {QML/JS Editing}.
|
||||||
\li Select \uicontrol {Use customized static analyzer}.
|
\li Select \uicontrol {Use customized static analyzer}.
|
||||||
\image qtcreator-preferences-qtquick-qmljs-editing.webp {QML/JS Editing tab in Qt Quick preferences}
|
\image {qtcreator-preferences-qtquick-qmljs-editing.webp} {QML/JS Editing tab in Qt Quick preferences}
|
||||||
\li In \uicontrol Enabled, select the messages that you want to see.
|
\li In \uicontrol Enabled, select the messages that you want to see.
|
||||||
\li To disable messages for non-Qt Quick UI files, select them in
|
\li To disable messages for non-Qt Quick UI files, select them in
|
||||||
\uicontrol {Disabled for non Qt Quick UI}. You cannot
|
\uicontrol {Disabled for non Qt Quick UI}. You cannot
|
||||||
@@ -795,7 +795,7 @@
|
|||||||
\uicontrol {Qt Quick} > \uicontrol {QML/JS Editing} and select
|
\uicontrol {Qt Quick} > \uicontrol {QML/JS Editing} and select
|
||||||
\uicontrol {Enable auto format on file save}.
|
\uicontrol {Enable auto format on file save}.
|
||||||
|
|
||||||
\image qtcreator-qml-js-editing.webp {QML/JS Editing preferences}
|
\image {qtcreator-qml-js-editing.webp} {QML/JS Editing tab in Qt Quick preferences}
|
||||||
|
|
||||||
To only format files that belong to the current project, select
|
To only format files that belong to the current project, select
|
||||||
\uicontrol {Restrict to files contained in the current project}.
|
\uicontrol {Restrict to files contained in the current project}.
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
To set editor font and colors, select \preferences >
|
To set editor font and colors, select \preferences >
|
||||||
\uicontrol {Text Editor} > \uicontrol {Font & Colors}.
|
\uicontrol {Text Editor} > \uicontrol {Font & Colors}.
|
||||||
|
|
||||||
\image qtcreator-font-colors.png {Font & Colors tab in Text Editor preferences}
|
\image {qtcreator-font-colors.png} {Font & Colors tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Configuring Fonts
|
\section1 Configuring Fonts
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
You can select one of the predefined color schemes for the text editor
|
You can select one of the predefined color schemes for the text editor
|
||||||
or create customized color schemes.
|
or create customized color schemes.
|
||||||
|
|
||||||
\image qtcreator-font-colors.png {Font & Colors tab in Text Editor preferences}
|
\image {qtcreator-font-colors.png} {Font & Colors tab in Text Editor preferences}
|
||||||
|
|
||||||
To create a color scheme:
|
To create a color scheme:
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
file to import. In the \uicontrol {Import Color Scheme} dialog, enter a name
|
file to import. In the \uicontrol {Import Color Scheme} dialog, enter a name
|
||||||
for the color scheme in \uicontrol {Color scheme name}:
|
for the color scheme in \uicontrol {Color scheme name}:
|
||||||
|
|
||||||
\image qtcreator-import-color-scheme.png "Import Color Scheme dialog"
|
\image {qtcreator-import-color-scheme.png} {Import Color Scheme dialog}
|
||||||
|
|
||||||
When you select \uicontrol OK, the color scheme is added to the list of
|
When you select \uicontrol OK, the color scheme is added to the list of
|
||||||
color schemes in the \uicontrol {Font & Colors} tab.
|
color schemes in the \uicontrol {Font & Colors} tab.
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
Model (LLM), it auto-completes your code, gives expert coding advice,
|
Model (LLM), it auto-completes your code, gives expert coding advice,
|
||||||
suggests code fixes, as well as writes test cases and code documentation.
|
suggests code fixes, as well as writes test cases and code documentation.
|
||||||
|
|
||||||
\image qtaiassistant-codecompletion.webp {Automatic Code Completion}
|
\image {qtaiassistant-codecompletion.webp} {Automatic Code Completion}
|
||||||
|
|
||||||
Qt AI Assistant is available for selected commercial Qt developer
|
Qt AI Assistant is available for selected commercial Qt developer
|
||||||
license holders. For more information on licensing, select \uicontrol Compare
|
license holders. For more information on licensing, select \uicontrol Compare
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Extensions, and select \inlineimage icons/settings.png.
|
\li Go to \uicontrol Extensions, and select \inlineimage icons/settings.png.
|
||||||
\image qtcreator-preferences-extensions.webp {Extensions in Preferences}
|
\image {qtcreator-preferences-extensions.webp} {Browser tab in Extensions preferences}
|
||||||
\li Select \uicontrol {Use external repository}.
|
\li Select \uicontrol {Use external repository}.
|
||||||
\li Select \uicontrol {OK}.
|
\li Select \uicontrol {OK}.
|
||||||
\li Back in \uicontrol Extensions, select \uicontrol {AI Assistant}, and
|
\li Back in \uicontrol Extensions, select \uicontrol {AI Assistant}, and
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
To enable code syntax highlighting in the inline chat window, go to
|
To enable code syntax highlighting in the inline chat window, go to
|
||||||
\preferences > \uicontrol {Text Editor} > \uicontrol {Generic Highlighter},
|
\preferences > \uicontrol {Text Editor} > \uicontrol {Generic Highlighter},
|
||||||
and then select \uicontrol {Download Definitions}.
|
and then select \uicontrol {Download Definitions}.
|
||||||
\image qtcreator-syntax-highlighter.png {Generic Highlighter preferences}
|
\image {qtcreator-syntax-highlighter.png} {Generic Highlighter tab in Text Editor preferences}
|
||||||
For more information, see \l{Download highlight definitions}.
|
For more information, see \l{Download highlight definitions}.
|
||||||
|
|
||||||
\section1 Install and use Ollama
|
\section1 Install and use Ollama
|
||||||
@@ -119,10 +119,10 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol {AI Assistant} > \uicontrol General.
|
\li Go to \preferences > \uicontrol {AI Assistant} > \uicontrol General.
|
||||||
\image qtcreator-preferences-qtaiassistant-general.webp {AI Assistant General preferences}
|
\image {qtcreator-preferences-qtaiassistant-general.webp} {General tab in AI Assistant preferences}
|
||||||
\li Select an LLM for each configurable use case.
|
\li Select an LLM for each configurable use case.
|
||||||
\li Go to \uicontrol Advanced.
|
\li Go to \uicontrol Advanced.
|
||||||
\image qtcreator-preferences-qtaiassistant-advanced.webp {AI Assistant Advanced preferences}
|
\image {qtcreator-preferences-qtaiassistant-advanced.webp} {Advanced tab in AI Assistant preferences}
|
||||||
\li Enter the API authentication token and server URL of each LLM.
|
\li Enter the API authentication token and server URL of each LLM.
|
||||||
For more information on where to get the access information, see the
|
For more information on where to get the access information, see the
|
||||||
third-party LLM provider documentation.
|
third-party LLM provider documentation.
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
|
|
||||||
To interact with Qt AI Assistant using the mouse, hover over the suggestion.
|
To interact with Qt AI Assistant using the mouse, hover over the suggestion.
|
||||||
|
|
||||||
\image qtaiassistant-codecompletionbar.webp {Code completion tool bar when hovering over a suggestion}
|
\image {qtaiassistant-codecompletionbar.webp} {Code completion tool bar when hovering over a suggestion}
|
||||||
|
|
||||||
When you hover over a suggestion, you can accept parts of the suggested code
|
When you hover over a suggestion, you can accept parts of the suggested code
|
||||||
snippet word-by-word or line-by-line.
|
snippet word-by-word or line-by-line.
|
||||||
|
@@ -54,14 +54,14 @@
|
|||||||
Beautifier because combining them can lead to unexpected results.
|
Beautifier because combining them can lead to unexpected results.
|
||||||
\li Go to \preferences > \uicontrol Beautifier > \uicontrol General to
|
\li Go to \preferences > \uicontrol Beautifier > \uicontrol General to
|
||||||
select the tool to use.
|
select the tool to use.
|
||||||
\image qtcreator-preferences-beautifier-general.webp {General Beautifier preferences}
|
\image {qtcreator-preferences-beautifier-general.webp} {General tab in Beautifier preferences}
|
||||||
\li Select \uicontrol {Automatic formatting on file save} to
|
\li Select \uicontrol {Automatic formatting on file save} to
|
||||||
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.
|
||||||
\li Go to \uicontrol {Artistic Style}, \uicontrol {ClangFormat}, or
|
\li Go to \uicontrol {Artistic Style}, \uicontrol {ClangFormat}, or
|
||||||
\uicontrol Uncrustify to set the path to the tool executable and
|
\uicontrol Uncrustify to set the path to the tool executable and
|
||||||
to select the configuration file that defines the style to use.
|
to select the configuration file that defines the style to use.
|
||||||
\image beautifier_options.png {Uncrustify Beautifier preferences}
|
\image {beautifier_options.png} {Uncrustify tab in Beautifier preferences}
|
||||||
\caption Beautifier Uncrustify preferences
|
\caption Beautifier Uncrustify preferences
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -123,7 +123,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 qtcreator-preferences-beautifier-general.webp {General Beautifier preferences}
|
\image {qtcreator-preferences-beautifier-general.webp} {General tab in Beautifier preferences}
|
||||||
|
|
||||||
\li In \uicontrol {Restrict to MIME types}, define the MIME
|
\li In \uicontrol {Restrict to MIME types}, 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
|
||||||
@@ -141,7 +141,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 preferences}
|
\image {beautifier_options.png} {Uncrustify tab in Beautifier preferences}
|
||||||
|
|
||||||
\li In \uicontrol Configuration, specify the path to the
|
\li In \uicontrol Configuration, specify the path to the
|
||||||
tool executable in \uicontrol {Artistic Style command},
|
tool executable in \uicontrol {Artistic Style command},
|
||||||
@@ -198,7 +198,7 @@
|
|||||||
To use a predefined ClangFormat style, go to \uicontrol {ClangFormat} and
|
To use a predefined ClangFormat style, go to \uicontrol {ClangFormat} and
|
||||||
select a style in \uicontrol {Use predefined style}.
|
select a style in \uicontrol {Use predefined style}.
|
||||||
|
|
||||||
\image qtcreator-beautifier-options-clangformat.png {ClangFormat Beautifier preferences}
|
\image {qtcreator-beautifier-options-clangformat.png} {ClangFormat tab in Beautifier preferences}
|
||||||
|
|
||||||
Select \uicontrol File to load the style configuration from the
|
Select \uicontrol File to load the style configuration from the
|
||||||
\c .clang-format or \c _clang-format file located in the same
|
\c .clang-format or \c _clang-format file located in the same
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
It offers syntax highlighting, auto-completion, and context-sensitive
|
It offers syntax highlighting, auto-completion, and context-sensitive
|
||||||
help.
|
help.
|
||||||
|
|
||||||
\image beautifier_editor.png {Add Configuration dialog}
|
\image {beautifier_editor.png} {Add Configuration dialog}
|
||||||
|
|
||||||
\sa {Beautify source code}, {Enable and disable plugins}
|
\sa {Beautify source code}, {Enable and disable plugins}
|
||||||
*/
|
*/
|
||||||
|
@@ -114,7 +114,7 @@
|
|||||||
\uicontrol {Toggle Progress Details} (1), and then select \uicontrol X on
|
\uicontrol {Toggle Progress Details} (1), and then select \uicontrol X on
|
||||||
the progress bar.
|
the progress bar.
|
||||||
|
|
||||||
\image qtcreator-toggle-progress-bar.webp {Toggle Progress Details button}
|
\image {qtcreator-toggle-progress-bar.webp} {Toggle Progress Details button}
|
||||||
|
|
||||||
By default, \QC runs one clangd process per project. If you have created
|
By default, \QC runs one clangd process per project. If you have created
|
||||||
\l{Manage sessions}{sessions} that have related projects, you can
|
\l{Manage sessions}{sessions} that have related projects, you can
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Projects > \uicontrol {Project Settings} >
|
\li Go to \uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol {C++ Code Model}.
|
\uicontrol {C++ Code Model}.
|
||||||
\image qtcreator-projects-cpp-code-model.webp {C++ Code Model settings}
|
\image {qtcreator-projects-cpp-code-model.webp} {C++ Code Model settings}
|
||||||
\li Clear \uicontrol {Use global settings}.
|
\li Clear \uicontrol {Use global settings}.
|
||||||
\li Set \uicontrol {C++ Code Model} settings for the project.
|
\li Set \uicontrol {C++ Code Model} settings for the project.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
To configure the C++ code model globally, go to \preferences >
|
To configure the C++ code model globally, go to \preferences >
|
||||||
\uicontrol C++ > \uicontrol {Code Model}.
|
\uicontrol C++ > \uicontrol {Code Model}.
|
||||||
|
|
||||||
\image qtcreator-preferences-code-model.webp {C++ Code Model preferences}
|
\image {qtcreator-preferences-code-model.webp} {Code Model tab in C++ preferences}
|
||||||
|
|
||||||
The following table summarizes the preferences.
|
The following table summarizes the preferences.
|
||||||
|
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol C++ >
|
\li Select \preferences > \uicontrol C++ >
|
||||||
\uicontrol Clangd > \uicontrol {Use clangd}.
|
\uicontrol Clangd > \uicontrol {Use clangd}.
|
||||||
\image qtcreator-preferences-clangd.webp {Clangd preferences}
|
\image {qtcreator-preferences-clangd.webp} {Clangd tab in C++ preferences}
|
||||||
\li In \uicontrol {Path to executable}, enter the path to clangd
|
\li In \uicontrol {Path to executable}, enter the path to clangd
|
||||||
version 14, or later.
|
version 14, or later.
|
||||||
\li In the \uicontrol {Background indexing} field, select \uicontrol Off
|
\li In the \uicontrol {Background indexing} field, select \uicontrol Off
|
||||||
@@ -300,7 +300,7 @@
|
|||||||
the \uicontrol {Diagnostic Configurations} dialog, where you can select and
|
the \uicontrol {Diagnostic Configurations} dialog, where you can select and
|
||||||
edit the checks to perform.
|
edit the checks to perform.
|
||||||
|
|
||||||
\image qtcreator-clang-diagnostic-configurations.webp {Diagnostic Configurations dialog}
|
\image {qtcreator-clang-diagnostic-configurations.webp} {Diagnostic Configurations dialog}
|
||||||
|
|
||||||
In addition to using the built-in checks, you can select \uicontrol Copy to
|
In addition to using the built-in checks, you can select \uicontrol Copy to
|
||||||
create copies of them and edit the copies to fit your needs.
|
create copies of them and edit the copies to fit your needs.
|
||||||
@@ -336,7 +336,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol Projects > \uicontrol {Project Settings} >
|
\li Select \uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol {Clangd}.
|
\uicontrol {Clangd}.
|
||||||
\image qtcreator-projects-settings-clangd.webp {Clangd preferences for a project}
|
\image {qtcreator-projects-settings-clangd.webp} {Clangd preferences for a project}
|
||||||
\li Clear \uicontrol {Use global settings}.
|
\li Clear \uicontrol {Use global settings}.
|
||||||
\li Select \uicontrol {Use clangd}.
|
\li Select \uicontrol {Use clangd}.
|
||||||
\li Specify \uicontrol Clangd preferences for the project.
|
\li Specify \uicontrol Clangd preferences for the project.
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Tools > \uicontrol {Code Pasting} >
|
\li Go to \uicontrol Tools > \uicontrol {Code Pasting} >
|
||||||
\uicontrol {Paste Snippet} or select \key {Alt+C,Alt+P}.
|
\uicontrol {Paste Snippet} or select \key {Alt+C,Alt+P}.
|
||||||
\image qtcreator-send-to-codepaster.webp {Send to Codepaster dialog}
|
\image {qtcreator-send-to-codepaster.webp} {Send to Codepaster dialog}
|
||||||
\li In \uicontrol Protocol, select the code pasting service to use.
|
\li In \uicontrol Protocol, select the code pasting service to use.
|
||||||
\li In \uicontrol {Expires after}, specify the time to keep
|
\li In \uicontrol {Expires after}, specify the time to keep
|
||||||
the pasted snippet on the server.
|
the pasted snippet on the server.
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol {Code Pasting} > \uicontrol General.
|
\li Go to \preferences > \uicontrol {Code Pasting} > \uicontrol General.
|
||||||
\image qtcreator-code-pasting-options.png {Code Pasting preferences}
|
\image {qtcreator-code-pasting-options.png} {General tab in Code Pasting preferences}
|
||||||
\li In \uicontrol {Default protocol}, select a code pasting service to
|
\li In \uicontrol {Default protocol}, select a code pasting service to
|
||||||
use by default.
|
use by default.
|
||||||
\li In \uicontrol Username, enter your username.
|
\li In \uicontrol Username, enter your username.
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Write and navigate code in the \uicontrol Edit mode.
|
Write and navigate code in the \uicontrol Edit mode.
|
||||||
|
|
||||||
\image qtcreator-spliteditorview.png {Code editor}
|
\image {qtcreator-spliteditorview.png} {Code editor}
|
||||||
|
|
||||||
\section1 Editing Code
|
\section1 Editing Code
|
||||||
|
|
||||||
@@ -65,10 +65,10 @@
|
|||||||
The editor toolbar is context sensitive and shows items relevant to the file
|
The editor toolbar is context sensitive and shows items relevant to the file
|
||||||
currently open in the editor.
|
currently open in the editor.
|
||||||
|
|
||||||
\image qtcreator-editor-toolbar.webp {Editor toolbar for a C++ source file}
|
\image {qtcreator-editor-toolbar.webp} {Editor toolbar for a C++ source file}
|
||||||
\caption Editor toolbar when a C++ source file is open
|
\caption Editor toolbar when a C++ source file is open
|
||||||
|
|
||||||
\image qtcreator-editor-toolbar-qml.webp {Editor toolbar for a QML file}
|
\image {qtcreator-editor-toolbar-qml.webp} {Editor toolbar for a QML file}
|
||||||
\caption Editor toolbar when a QML file is open
|
\caption Editor toolbar when a QML file is open
|
||||||
|
|
||||||
\table
|
\table
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
\uicontrol Environment > \uicontrol Interface, and
|
\uicontrol Environment > \uicontrol Interface, and
|
||||||
then select \uicontrol Relaxed in the \uicontrol {Toolbar style} field.
|
then select \uicontrol Relaxed in the \uicontrol {Toolbar style} field.
|
||||||
|
|
||||||
\image qtcreator-preferences-environment-interface.webp {Interface tab in Environment preferences}
|
\image {qtcreator-preferences-environment-interface.webp} {Interface tab in Environment preferences}
|
||||||
|
|
||||||
\section1 Resizing Views
|
\section1 Resizing Views
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
The editor toolbar shows the name of the file that is currently open (1) in
|
The editor toolbar shows the name of the file that is currently open (1) in
|
||||||
the editor.
|
the editor.
|
||||||
|
|
||||||
\image qtcreator-editor-open-files.webp {Current file shown on Edit mode toolbar}
|
\image {qtcreator-editor-open-files.webp} {Current file shown on Edit mode toolbar}
|
||||||
|
|
||||||
Use the locator, \l{Sidebar Views}{sidebar views}, \uicontrol Window menu
|
Use the locator, \l{Sidebar Views}{sidebar views}, \uicontrol Window menu
|
||||||
items, \l{General Keyboard Shortcuts}{keyboard shortcuts}, or
|
items, \l{General Keyboard Shortcuts}{keyboard shortcuts}, or
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \key {Ctrl+K} to activate the locator.
|
\li Select \key {Ctrl+K} to activate the locator.
|
||||||
\li Start typing the filename.
|
\li Start typing the filename.
|
||||||
\image qtcreator-locator-open.webp {List of files in the locator}
|
\image {qtcreator-locator-open.webp} {List of files in the locator}
|
||||||
\li Use the arrow keys to move to the filename in the list and press
|
\li Use the arrow keys to move to the filename in the list and press
|
||||||
\key Enter.
|
\key Enter.
|
||||||
|
|
||||||
@@ -234,7 +234,7 @@
|
|||||||
clear the \uicontrol {Sort results} check box in the \c md
|
clear the \uicontrol {Sort results} check box in the \c md
|
||||||
locator filter configuration.
|
locator filter configuration.
|
||||||
|
|
||||||
\image qtcreator-locator-filter-edit-md.webp {Filter Configuration dialog}
|
\image {qtcreator-locator-filter-edit-md.webp} {Filter Configuration dialog}
|
||||||
|
|
||||||
\section1 Browse location history
|
\section1 Browse location history
|
||||||
|
|
||||||
@@ -273,7 +273,7 @@
|
|||||||
|
|
||||||
The editor toolbar shows the symbol currently under the cursor (1).
|
The editor toolbar shows the symbol currently under the cursor (1).
|
||||||
|
|
||||||
\image qtcreator-editor-symbols.webp {Symbol under the cursor shown on Edit mode toolbar}
|
\image {qtcreator-editor-symbols.webp} {Symbol under the cursor shown on Edit mode toolbar}
|
||||||
|
|
||||||
By default, the list of symbols shows them in the order in which they appear
|
By default, the list of symbols shows them in the order in which they appear
|
||||||
in the file. Right-click the field and go to \uicontrol {Sort Alphabetically}
|
in the file. Right-click the field and go to \uicontrol {Sort Alphabetically}
|
||||||
@@ -306,7 +306,7 @@
|
|||||||
|
|
||||||
The locator lists the results.
|
The locator lists the results.
|
||||||
|
|
||||||
\image qtcreator-locator-example.webp {List of files matching the locator filter}
|
\image {qtcreator-locator-example.webp} {List of files matching the locator filter}
|
||||||
|
|
||||||
Filters locating class and function definitions also accept namespaces,
|
Filters locating class and function definitions also accept namespaces,
|
||||||
such as \c {Utils::*View}.
|
such as \c {Utils::*View}.
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
To enable this moving function, go to \preferences > \uicontrol {Text Editor}
|
To enable this moving function, go to \preferences > \uicontrol {Text Editor}
|
||||||
> \uicontrol Behavior > \uicontrol {Enable mouse navigation}.
|
> \uicontrol Behavior > \uicontrol {Enable mouse navigation}.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-behavior.webp {Text Editor Behavior preferences}
|
\image {qtcreator-preferences-texteditor-behavior.webp} {Behavior tab in Text Editor preferences}
|
||||||
|
|
||||||
\section2 Follow symbols
|
\section2 Follow symbols
|
||||||
|
|
||||||
@@ -369,7 +369,7 @@
|
|||||||
shortcuts for opening link targets in the next split are used
|
shortcuts for opening link targets in the next split are used
|
||||||
to open them in the current split.
|
to open them in the current split.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-display.png {Text Editor Display preferences}
|
\image {qtcreator-options-text-editor-display.png} {Display tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Open resource files for editing
|
\section1 Open resource files for editing
|
||||||
|
|
||||||
@@ -377,7 +377,7 @@
|
|||||||
(.qrc) path, following the symbol opens the specified resource file for
|
(.qrc) path, following the symbol opens the specified resource file for
|
||||||
editing in the \uicontrol {Resource Browser}.
|
editing in the \uicontrol {Resource Browser}.
|
||||||
|
|
||||||
\image qtcreator-add-resource.png {Resource Browser}
|
\image {qtcreator-add-resource.png} {Resource Browser}
|
||||||
|
|
||||||
\sa {Edit Code}{How To: Edit Code}, {Edit Mode}, {Editor Shortcuts},
|
\sa {Edit Code}{How To: Edit Code}, {Edit Mode}, {Editor Shortcuts},
|
||||||
{Navigate with locator}
|
{Navigate with locator}
|
||||||
@@ -391,18 +391,18 @@
|
|||||||
|
|
||||||
\title Change text encoding
|
\title Change text encoding
|
||||||
|
|
||||||
\image qtcreator-editor-toolbar.webp {Edit mode toolbar}
|
\image {qtcreator-editor-toolbar.webp} {Edit mode toolbar}
|
||||||
|
|
||||||
To show the file encoding of the current file on the editor toolbar (4) in
|
To show the file encoding of the current file on the editor toolbar (4) in
|
||||||
the \uicontrol Edit mode, go to \preferences > \uicontrol {Text Editor} >
|
the \uicontrol Edit mode, go to \preferences > \uicontrol {Text Editor} >
|
||||||
\uicontrol Display > \uicontrol {Display file encoding}.
|
\uicontrol Display > \uicontrol {Display file encoding}.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-display.png {Text Editor Display preferences}
|
\image {qtcreator-options-text-editor-display.png} {Display tab in Text Editor preferences}
|
||||||
|
|
||||||
To change the text encoding, select it on the toolbar, and then select new
|
To change the text encoding, select it on the toolbar, and then select new
|
||||||
encoding in the \uicontrol {Text Encoding} dialog:
|
encoding in the \uicontrol {Text Encoding} dialog:
|
||||||
|
|
||||||
\image qtcreator-text-encoding.png {Text Encoding dialog}
|
\image {qtcreator-text-encoding.png} {Text Encoding dialog}
|
||||||
|
|
||||||
To reload the file with the selected encoding, select
|
To reload the file with the selected encoding, select
|
||||||
\uicontrol {Reload with Encoding}.
|
\uicontrol {Reload with Encoding}.
|
||||||
@@ -416,7 +416,7 @@
|
|||||||
\uicontrol {Text Editor} > \uicontrol Behavior, and
|
\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 preferences}
|
\image {qtcreator-options-texteditor-behavior-file-encodings.png} {File encoding in the Behavior tab in Text Editor preferences}
|
||||||
|
|
||||||
Qt requires UTF-8 encoded source files, and therefore the default
|
Qt requires UTF-8 encoded source files, and therefore the default
|
||||||
encoding is set to \uicontrol UTF-8.
|
encoding is set to \uicontrol UTF-8.
|
||||||
@@ -448,7 +448,7 @@
|
|||||||
select the ending style on the editor toolbar (3) in the \uicontrol Edit
|
select the ending style on the editor toolbar (3) in the \uicontrol Edit
|
||||||
mode.
|
mode.
|
||||||
|
|
||||||
\image qtcreator-editor-toolbar.webp {Edit mode toolbar}
|
\image {qtcreator-editor-toolbar.webp} {Edit mode toolbar}
|
||||||
|
|
||||||
To hide this field, go to \preferences > \uicontrol {Text Editor}
|
To hide this field, go to \preferences > \uicontrol {Text Editor}
|
||||||
> \uicontrol Display, and clear \uicontrol {Display file line ending}.
|
> \uicontrol Display, and clear \uicontrol {Display file line ending}.
|
||||||
@@ -459,12 +459,12 @@
|
|||||||
\preferences > \uicontrol {Text Editor} > \uicontrol Behavior and
|
\preferences > \uicontrol {Text Editor} > \uicontrol Behavior and
|
||||||
select the ending style in \uicontrol {Default line endings}.
|
select the ending style in \uicontrol {Default line endings}.
|
||||||
|
|
||||||
\image qtcreator-options-texteditor-behavior-file-encodings.png {Default file ending preferences}
|
\image {qtcreator-options-texteditor-behavior-file-encodings.png} {Default file endings in the Behavior tab in Text Editor preferences}
|
||||||
|
|
||||||
To set the line endings to use for a project, go to \uicontrol Projects >
|
To set the line endings to use for a project, go to \uicontrol Projects >
|
||||||
\uicontrol {Project Settings} > \uicontrol Editor.
|
\uicontrol {Project Settings} > \uicontrol Editor.
|
||||||
|
|
||||||
\image qtcreator-editor-settings.webp {Editor settings for a project}
|
\image {qtcreator-editor-settings.webp} {Editor settings for a project}
|
||||||
|
|
||||||
\sa {Edit Code}{How To: Edit Code}, {Specify editor settings}, {Edit Mode}
|
\sa {Edit Code}{How To: Edit Code}, {Specify editor settings}, {Edit Mode}
|
||||||
*/
|
*/
|
||||||
@@ -482,7 +482,7 @@
|
|||||||
in several places in the file. Any changes you make are applied
|
in several places in the file. Any changes you make are applied
|
||||||
simultaneously at all the cursor positions.
|
simultaneously at all the cursor positions.
|
||||||
|
|
||||||
\image qtcreator-editor-multicursor.webp {Multiple cursors in the editor}
|
\image {qtcreator-editor-multicursor.webp} {Multiple cursors in the editor}
|
||||||
|
|
||||||
To manage cursors:
|
To manage cursors:
|
||||||
|
|
||||||
@@ -511,7 +511,7 @@
|
|||||||
Split the editor view or open the editor in a new window to work on
|
Split the editor view or open the editor in a new window to work on
|
||||||
and view many files on the same screen or on many screens.
|
and view many files on the same screen or on many screens.
|
||||||
|
|
||||||
\image qtcreator-spliteditorview.png {Editor view split horizontally and vertically}
|
\image {qtcreator-spliteditorview.png} {Editor view split horizontally and vertically}
|
||||||
|
|
||||||
View many files at the same time:
|
View many files at the same time:
|
||||||
|
|
||||||
@@ -590,7 +590,7 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\image qtcreator-togglebookmark.png
|
\image {qtcreator-togglebookmark.png} {Toggling bookmarks}
|
||||||
|
|
||||||
\section1 Add notes to bookmarks
|
\section1 Add notes to bookmarks
|
||||||
|
|
||||||
@@ -625,7 +625,7 @@
|
|||||||
the number or string after the space. Double-click a bookmark in the list to
|
the number or string after the space. Double-click a bookmark in the list to
|
||||||
go to it in the editor.
|
go to it in the editor.
|
||||||
|
|
||||||
\image qtcreator-locator-bookmark-filtering.png "Filtering bookmarks in locator"
|
\image {qtcreator-locator-bookmark-filtering.png} {Filtering bookmarks in locator}
|
||||||
|
|
||||||
\section1 View bookmarks
|
\section1 View bookmarks
|
||||||
|
|
||||||
@@ -633,7 +633,7 @@
|
|||||||
move between bookmarks, select the \uicontrol {Previous Bookmark} or
|
move between bookmarks, select the \uicontrol {Previous Bookmark} or
|
||||||
\uicontrol {Next Bookmark} button or use the keyboard shortcuts.
|
\uicontrol {Next Bookmark} button or use the keyboard shortcuts.
|
||||||
|
|
||||||
\image qtcreator-bookmarks-view.webp {Listing bookmarks in Bookmarks view}
|
\image {qtcreator-bookmarks-view.webp} {Listing bookmarks in Bookmarks view}
|
||||||
|
|
||||||
To move bookmarks up and down, select \uicontrol {Move Up} or
|
To move bookmarks up and down, select \uicontrol {Move Up} or
|
||||||
\uicontrol {Move Down} in the context menu or select \key {Ctrl+Alt+,} or
|
\uicontrol {Move Down} in the context menu or select \key {Ctrl+Alt+,} or
|
||||||
@@ -667,7 +667,7 @@
|
|||||||
\uicontrol Edit mode toolbar in \uicontrol #. The button is visible only when
|
\uicontrol Edit mode toolbar in \uicontrol #. The button is visible only when
|
||||||
several parse contexts are available.
|
several parse contexts are available.
|
||||||
|
|
||||||
\image qtcreator-editor-open-files.webp {Edit mode toolbar}
|
\image {qtcreator-editor-open-files.webp} {Edit mode toolbar}
|
||||||
|
|
||||||
To reset the parse context, go to \uicontrol # >
|
To reset the parse context, go to \uicontrol # >
|
||||||
\uicontrol {Clear Preferred Parse Context}.
|
\uicontrol {Clear Preferred Parse Context}.
|
||||||
@@ -705,7 +705,7 @@
|
|||||||
select \uicontrol Tools > \uicontrol {Debug \QC } >
|
select \uicontrol Tools > \uicontrol {Debug \QC } >
|
||||||
\uicontrol {Inspect C++ Code Model} or select \key {Ctrl+Shift+F12}.
|
\uicontrol {Inspect C++ Code Model} or select \key {Ctrl+Shift+F12}.
|
||||||
|
|
||||||
\image qtcreator-code-model-inspector.webp {Code Model Inspector dialog}
|
\image {qtcreator-code-model-inspector.webp} {Code Model Inspector dialog}
|
||||||
|
|
||||||
\QC generates the code model inspection log file in a temporary folder.
|
\QC generates the code model inspection log file in a temporary folder.
|
||||||
|
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Copilot.
|
\li Go to \preferences > \uicontrol Copilot.
|
||||||
\image qtcreator-preferences-copilot.webp {Copilot tab in Preferences}
|
\image {qtcreator-preferences-copilot.webp} {Copilot preferences}
|
||||||
\li Select \uicontrol {Enable Copilot} to use Copilot.
|
\li Select \uicontrol {Enable Copilot} to use Copilot.
|
||||||
\li Select \uicontrol {Sign In} to sign into your subscription, activate
|
\li Select \uicontrol {Sign In} to sign into your subscription, activate
|
||||||
your device, and authorize the GitHub Copilot plugin.
|
your device, and authorize the GitHub Copilot plugin.
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
\uicontrol {Auto request} is enabled, Copilot automatically makes
|
\uicontrol {Auto request} is enabled, Copilot automatically makes
|
||||||
suggestions when you type.
|
suggestions when you type.
|
||||||
|
|
||||||
\image qtcreator-copilot.gif {Receiving suggestions from Copilot in the editor}
|
\image {qtcreator-copilot.gif} {Receiving suggestions from Copilot in the editor}
|
||||||
|
|
||||||
To manually request a suggestion at the current editor's cursor position,
|
To manually request a suggestion at the current editor's cursor position,
|
||||||
enter \uicontrol {t}, followed by \key Space to show
|
enter \uicontrol {t}, followed by \key Space to show
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Projects > \uicontrol {Project Settings} >
|
\li Go to \uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol Copilot.
|
\uicontrol Copilot.
|
||||||
\image qtcreator-project-settings-copilot.webp {Copilot project settings}
|
\image {qtcreator-project-settings-copilot.webp} {Copilot project settings}
|
||||||
\li Clear \uicontrol {Use global settings}.
|
\li Clear \uicontrol {Use global settings}.
|
||||||
\li Select or clear \uicontrol {Enable Copilot}.
|
\li Select or clear \uicontrol {Enable Copilot}.
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
in the header file (inside or outside the class) or in the implementation
|
in the header file (inside or outside the class) or in the implementation
|
||||||
file.
|
file.
|
||||||
|
|
||||||
\image qtcreator-preferences-quick-fixes-function-locations.webp {Generated Function Locations group in Quick Fixes preferences}
|
\image {qtcreator-preferences-quick-fixes-function-locations.webp} {Generated Function Locations in the Quick Fixes tab in C++ preferences}
|
||||||
|
|
||||||
\section1 Function Names and Attributes
|
\section1 Function Names and Attributes
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
\e slots and that signals should be generated with the new value as a
|
\e slots and that signals should be generated with the new value as a
|
||||||
parameter.
|
parameter.
|
||||||
|
|
||||||
\image qtcreator-refactoring-options-generation.png {Getter and Setter generation settings}
|
\image {qtcreator-refactoring-options-generation.png} {Getter and setter generation in the Quick Fixes tab in C++ preferences}
|
||||||
|
|
||||||
\section1 Namespace Handling
|
\section1 Namespace Handling
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
generate missing namespaces, add \c {using namespace} where necessary, or
|
generate missing namespaces, add \c {using namespace} where necessary, or
|
||||||
rewrite types to match the existing namespaces.
|
rewrite types to match the existing namespaces.
|
||||||
|
|
||||||
\image qtcreator-refactoring-options-namespaces.png "Namespace handling settings"
|
\image {qtcreator-refactoring-options-namespaces.png} {Namespace handling in the Quick Fixes tab in C++ preferences}
|
||||||
|
|
||||||
\section1 Custom Parameter Types
|
\section1 Custom Parameter Types
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
and \c <cur> to access the parameter and current value. Use \c <type> to
|
and \c <cur> to access the parameter and current value. Use \c <type> to
|
||||||
access the type and \c <T> for the template parameter.
|
access the type and \c <T> for the template parameter.
|
||||||
|
|
||||||
\image qtcreator-refactoring-options-templates.webp {Settings for handling custom parameter types}
|
\image {qtcreator-refactoring-options-templates.webp} {Handling custom parameter types in the Quick Fixes tab in C++ preferences}
|
||||||
|
|
||||||
Usually, arguments are passed by using a \c const reference. To pass
|
Usually, arguments are passed by using a \c const reference. To pass
|
||||||
arguments of a particular type as values, list them in the
|
arguments of a particular type as values, list them in the
|
||||||
@@ -954,7 +954,7 @@
|
|||||||
\uicontrol Projects > \uicontrol {Project Settings} >
|
\uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol {Quick Fixes} and clear \uicontrol {Use global settings}.
|
\uicontrol {Quick Fixes} and clear \uicontrol {Use global settings}.
|
||||||
|
|
||||||
\image qtcreator-refactoring-options-locations.png {Quick Fixes preferences}
|
\image {qtcreator-refactoring-options-locations.png} {Quick Fixes preferences for a project}
|
||||||
|
|
||||||
To revert to global settings, select \uicontrol {Reset to Global}. To
|
To revert to global settings, select \uicontrol {Reset to Global}. To
|
||||||
delete the custom settings, select \uicontrol {Use global settings}, and
|
delete the custom settings, select \uicontrol {Use global settings}, and
|
||||||
|
@@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
\section1 View changes
|
\section1 View changes
|
||||||
|
|
||||||
\image creator-diff-editor.png {Diff editor output in the Edit mode}
|
\image {creator-diff-editor.png} {Diff editor output in the Edit mode}
|
||||||
|
|
||||||
View the changes in the \uicontrol Edit mode. Color coding is
|
View the changes in the \uicontrol Edit mode. Color coding is
|
||||||
used to mark changed lines. By default, red indicates lines that contain
|
used to mark changed lines. By default, red indicates lines that contain
|
||||||
|
@@ -283,7 +283,7 @@
|
|||||||
To set Vim behavior, go to \preferences > \uicontrol FakeVim >
|
To set Vim behavior, go to \preferences > \uicontrol FakeVim >
|
||||||
\uicontrol General.
|
\uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-preferences-fakevim-general.webp {FakeVim General preferences}
|
\image {qtcreator-preferences-fakevim-general.webp} {General tab in FakeVim preferences}
|
||||||
|
|
||||||
To use presets:
|
To use presets:
|
||||||
|
|
||||||
@@ -340,7 +340,7 @@
|
|||||||
\li Go to \preferences > \uicontrol FakeVim >
|
\li Go to \preferences > \uicontrol FakeVim >
|
||||||
\uicontrol {Ex Command Mapping}.
|
\uicontrol {Ex Command Mapping}.
|
||||||
\li Enter a string in the \uicontrol Filter field to find a \QC function.
|
\li Enter a string in the \uicontrol Filter field to find a \QC function.
|
||||||
\image qtcreator-fakevim-options-ex-command-mapping.png {FakeVim Ex Command Mapping preferences}
|
\image {qtcreator-fakevim-options-ex-command-mapping.png} {Ex Command Mapping tab in FakeVim preferences}
|
||||||
\li Select a function in the list
|
\li Select a function in the list
|
||||||
\li In the \uicontrol {Regular expression} field, nter a string that will
|
\li In the \uicontrol {Regular expression} field, nter a string that will
|
||||||
trigger the function.
|
trigger the function.
|
||||||
@@ -361,7 +361,7 @@
|
|||||||
mapped to the shortcut is executed by FakeVim as if you were typing it
|
mapped to the shortcut is executed by FakeVim as if you were typing it
|
||||||
(as when replaying a macro).
|
(as when replaying a macro).
|
||||||
|
|
||||||
\image qtcreator-fakevim-options-user-command-mapping.png {FakeVim User Command Mapping preferences}
|
\image {qtcreator-fakevim-options-user-command-mapping.png} {User Command Mapping tab FakeVim preferences}
|
||||||
|
|
||||||
\sa {Edit like in Vim}, {FakeVim Modes and Commands}
|
\sa {Edit like in Vim}, {FakeVim Modes and Commands}
|
||||||
*/
|
*/
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
\li Go to \uicontrol Tools > \uicontrol {C++} >
|
\li Go to \uicontrol Tools > \uicontrol {C++} >
|
||||||
\uicontrol {Find References to Symbol Under Cursor},
|
\uicontrol {Find References to Symbol Under Cursor},
|
||||||
or select \key {Ctrl+Shift+U}.
|
or select \key {Ctrl+Shift+U}.
|
||||||
\image qtcreator-find-references-to-symbol-under-cursor.webp {Found symbols in the Search Results view}
|
\image {qtcreator-find-references-to-symbol-under-cursor.webp} {Found symbols in the Search Results view}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\section2 Color-code access type
|
\section2 Color-code access type
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
from files listed as part of the project or from all files that are used by
|
from files listed as part of the project or from all files that are used by
|
||||||
the code, such as include files.
|
the code, such as include files.
|
||||||
|
|
||||||
\image qtcreator-search-cpp-symbols.webp {Search criteria in the Search Results view}
|
\image {qtcreator-search-cpp-symbols.webp} {Search criteria in the Search Results view}
|
||||||
|
|
||||||
\QC searches from the following locations:
|
\QC searches from the following locations:
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
\l{Search Results View} shows the location and number of search hits in the
|
\l{Search Results View} shows the location and number of search hits in the
|
||||||
current project.
|
current project.
|
||||||
|
|
||||||
\image qtcreator-refactoring-find.webp {Found symbols in the Search Results view}
|
\image {qtcreator-refactoring-find.webp} {Found symbols in the Search Results view}
|
||||||
|
|
||||||
\sa {Search}{How To: Search}, {Search Results View}
|
\sa {Search}{How To: Search}, {Search Results View}
|
||||||
*/
|
*/
|
||||||
|
@@ -71,7 +71,7 @@
|
|||||||
\l{https://nodejs.org/en/learn/getting-started/an-introduction-to-the-npm-package-manager}
|
\l{https://nodejs.org/en/learn/getting-started/an-introduction-to-the-npm-package-manager}
|
||||||
{NPM} package manager on the computer.
|
{NPM} package manager on the computer.
|
||||||
|
|
||||||
\image qtcreator-language-server-json.webp {Prompt to install JSON language server}
|
\image {qtcreator-language-server-json.webp} {Prompt to install JSON language server}
|
||||||
|
|
||||||
\l{Add a Java language server} for \l{Developing for Android}
|
\l{Add a Java language server} for \l{Developing for Android}
|
||||||
{Android development}. For other languages,
|
{Android development}. For other languages,
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
To add language servers, go to \preferences > \uicontrol {Language Client}
|
To add language servers, go to \preferences > \uicontrol {Language Client}
|
||||||
and select \uicontrol Add.
|
and select \uicontrol Add.
|
||||||
|
|
||||||
\image qtcreator-preferences-language-client-qmlls.webp {Language Client General preferences}
|
\image {qtcreator-preferences-language-client-qmlls.webp} {General tab in Language Client preferences}
|
||||||
|
|
||||||
To enable a language server, select the checkbox next to the language
|
To enable a language server, select the checkbox next to the language
|
||||||
server name and set server preferences.
|
server name and set server preferences.
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
\QC offers to update the Python language server when you open a Python
|
\QC offers to update the Python language server when you open a Python
|
||||||
file in the editor.
|
file in the editor.
|
||||||
|
|
||||||
\image qtcreator-python-update-language-server.webp {Message about updating Python Language Server}
|
\image {qtcreator-python-update-language-server.webp} {Message about updating Python Language Server}
|
||||||
|
|
||||||
To update the language server, select \uicontrol Update. To save your choice,
|
To update the language server, select \uicontrol Update. To save your choice,
|
||||||
select \uicontrol {Always Update}.
|
select \uicontrol {Always Update}.
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
\li Go to \preferences > \uicontrol {Language Client} >
|
\li Go to \preferences > \uicontrol {Language Client} >
|
||||||
\uicontrol Add > \uicontrol {Generic StdIO Language Server}
|
\uicontrol Add > \uicontrol {Generic StdIO Language Server}
|
||||||
to add a generic language server.
|
to add a generic language server.
|
||||||
\image qtcreator-language-server-generic-stdio.png
|
\image {qtcreator-language-server-generic-stdio.png} {Generic StdIO Language Server in the General tab in Language Client preferences}
|
||||||
\li In the \uicontrol Name field, enter a name for the language server.
|
\li In the \uicontrol Name field, enter a name for the language server.
|
||||||
Select the \inlineimage icons/replace.png
|
Select the \inlineimage icons/replace.png
|
||||||
(\uicontrol {Variables}) button to use a variable for the server
|
(\uicontrol {Variables}) button to use a variable for the server
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
\li Go to \preferences > \uicontrol {Language Client} >
|
\li Go to \preferences > \uicontrol {Language Client} >
|
||||||
\uicontrol Add > \uicontrol {Java Language Server} to add
|
\uicontrol Add > \uicontrol {Java Language Server} to add
|
||||||
a Java language server.
|
a Java language server.
|
||||||
\image qtcreator-language-client-options-java.png {Java language server preferences}
|
\image {qtcreator-language-client-options-java.png} {Java language server in the General tab in Language Client preferences}
|
||||||
\li In the \uicontrol Name field, enter a name for the language server.
|
\li In the \uicontrol Name field, enter a name for the language server.
|
||||||
Select the \inlineimage icons/replace.png
|
Select the \inlineimage icons/replace.png
|
||||||
(\uicontrol {Variables}) button to use a variable for the server
|
(\uicontrol {Variables}) button to use a variable for the server
|
||||||
@@ -211,9 +211,9 @@
|
|||||||
\li Go to \preferences> \uicontrol Python >
|
\li Go to \preferences> \uicontrol Python >
|
||||||
\uicontrol {Language Server Configuration} to
|
\uicontrol {Language Server Configuration} to
|
||||||
select the Python language server plugins to use.
|
select the Python language server plugins to use.
|
||||||
\image qtcreator-python-plugins.png {Python Language Server Configuration}
|
\image {qtcreator-python-plugins.png} {Language Server Configuration in the Python preferences}
|
||||||
\li Select \uicontrol Advanced to configure the plugins.
|
\li Select \uicontrol Advanced to configure the plugins.
|
||||||
\image qtcreator-python-advanced.png {Python language server plugin configuration}
|
\image {qtcreator-python-advanced.png} {Python language server plugin configuration}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
For a complete list of configuration options, see
|
For a complete list of configuration options, see
|
||||||
@@ -241,7 +241,7 @@
|
|||||||
\uicontrol {Language Client} > \uicontrol General and
|
\uicontrol {Language Client} > \uicontrol General and
|
||||||
select \uicontrol {\QMLLS}.
|
select \uicontrol {\QMLLS}.
|
||||||
|
|
||||||
\image qtcreator-preferences-language-client-qmlls.webp {QML Language Server in Language Client preferences}
|
\image {qtcreator-preferences-language-client-qmlls.webp} {General tab in Language Client preferences}
|
||||||
|
|
||||||
\section1 Turn off \QMLLS for all projects
|
\section1 Turn off \QMLLS for all projects
|
||||||
|
|
||||||
@@ -320,7 +320,7 @@
|
|||||||
You can view the \uicontrol Name, \uicontrol Value, and \uicontrol Type
|
You can view the \uicontrol Name, \uicontrol Value, and \uicontrol Type
|
||||||
of the capability.
|
of the capability.
|
||||||
|
|
||||||
\image qtcreator-language-client-inspector-capabilities.webp {Language Client Inspector Capabilities tab}
|
\image {qtcreator-language-client-inspector-capabilities.webp} {Capabilities tab in the Language Client Inspector dialog}
|
||||||
|
|
||||||
For some language servers, \uicontrol {Dynamic Capabilities} lists the
|
For some language servers, \uicontrol {Dynamic Capabilities} lists the
|
||||||
\uicontrol Methods and \uicontrol Options available.
|
\uicontrol Methods and \uicontrol Options available.
|
||||||
@@ -330,7 +330,7 @@
|
|||||||
For a clangd server, you can inspect the total amount of memory used by a
|
For a clangd server, you can inspect the total amount of memory used by a
|
||||||
particular component in \uicontrol {Memory Usage}.
|
particular component in \uicontrol {Memory Usage}.
|
||||||
|
|
||||||
\image qtcreator-language-client-inspector-memory-usage.webp {Language Client Inspector Memory Usage tab}
|
\image {qtcreator-language-client-inspector-memory-usage.webp} {Memory Usage tab in the Language Client Inspector dialog}
|
||||||
|
|
||||||
\sa {Manage Language Servers}{How To: Manage Language Servers},
|
\sa {Manage Language Servers}{How To: Manage Language Servers},
|
||||||
{Language Servers}
|
{Language Servers}
|
||||||
@@ -349,7 +349,7 @@
|
|||||||
\uicontrol Projects > \uicontrol {Project Settings} >
|
\uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol {Language Server}.
|
\uicontrol {Language Server}.
|
||||||
|
|
||||||
\image qtcreator-projects-settings-language-server.webp {Language Server settings for a project}
|
\image {qtcreator-projects-settings-language-server.webp} {Language Server settings for a project}
|
||||||
|
|
||||||
To add language servers and change their preferences, select
|
To add language servers and change their preferences, select
|
||||||
\uicontrol {Global settings}.
|
\uicontrol {Global settings}.
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
as well as trigger global actions and perform other tasks, such as build
|
as well as trigger global actions and perform other tasks, such as build
|
||||||
projects or run external tools.
|
projects or run external tools.
|
||||||
|
|
||||||
\image qtcreator-locator.webp {List of locator filters}
|
\image {qtcreator-locator.webp} {List of locator filters}
|
||||||
|
|
||||||
\section1 Go to the locator
|
\section1 Go to the locator
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@
|
|||||||
\uicontrol Locator, or select
|
\uicontrol Locator, or select
|
||||||
\inlineimage icons/magnifier.png > \uicontrol Configure in the locator field.
|
\inlineimage icons/magnifier.png > \uicontrol Configure in the locator field.
|
||||||
|
|
||||||
\image qtcreator-locator-customize.webp {Locator preferences}
|
\image {qtcreator-locator-customize.webp} {Locator tab in Environment preferences}
|
||||||
|
|
||||||
\section1 Changing Locator Filters
|
\section1 Changing Locator Filters
|
||||||
|
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
|
|
||||||
\li Specify the prefix string.
|
\li Specify the prefix string.
|
||||||
|
|
||||||
\image qtcreator-locator-filter-edit-ai.webp {Filter Configuration dialog}
|
\image {qtcreator-locator-filter-edit-ai.webp} {Filter Configuration dialog}
|
||||||
|
|
||||||
\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}.
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
|
|
||||||
\li Select \uicontrol Add to add a URL filter to the list.
|
\li Select \uicontrol Add to add a URL filter to the list.
|
||||||
|
|
||||||
\image qtcreator-add-online-doc.webp {List of URLs in Filter Configuration dialog}
|
\image {qtcreator-add-online-doc.webp} {List of URLs in Filter Configuration dialog}
|
||||||
|
|
||||||
\li Double-click the new entry to specify a URL and a search command.
|
\li Double-click the new entry to specify a URL and a search command.
|
||||||
For example, \c {http://www.google.com/search?q=%1}.
|
For example, \c {http://www.google.com/search?q=%1}.
|
||||||
@@ -216,7 +216,7 @@
|
|||||||
\li Select \uicontrol Add > \uicontrol {Files in Directories} to add
|
\li Select \uicontrol Add > \uicontrol {Files in Directories} to add
|
||||||
a directory filter.
|
a directory filter.
|
||||||
|
|
||||||
\image qtcreator-locator-generic-directory-filter.png {Filter Configuration dialog}
|
\image {qtcreator-locator-generic-directory-filter.png} {Filter Configuration dialog}
|
||||||
|
|
||||||
\li In \uicontrol Name, enter a name for your filter.
|
\li In \uicontrol Name, enter a name for your filter.
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
or go to \uicontrol File > \uicontrol {New File} and select
|
or go to \uicontrol File > \uicontrol {New File} and select
|
||||||
\uicontrol {General} > \uicontrol {Markdown File} to create a new file.
|
\uicontrol {General} > \uicontrol {Markdown File} to create a new file.
|
||||||
|
|
||||||
\image qtcreator-markdown-editor.webp {Markdown file in Preview and Editor views}
|
\image {qtcreator-markdown-editor.webp} {Markdown file in Preview and Editor views}
|
||||||
|
|
||||||
When you edit the file in the editor, you can see the changes in the preview.
|
When you edit the file in the editor, you can see the changes in the preview.
|
||||||
|
|
||||||
|
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
\li Go to \preferences > \uicontrol Environment > \uicontrol {MIME Types}.
|
\li Go to \preferences > \uicontrol Environment > \uicontrol {MIME Types}.
|
||||||
|
|
||||||
\image qtcreator-mime-types.png {MIME Types}
|
\image {qtcreator-mime-types.png} {MIME Types tab in Environment preferences}
|
||||||
|
|
||||||
\li In \uicontrol {MIME Type}, select a MIME type.
|
\li In \uicontrol {MIME Type}, select a MIME type.
|
||||||
|
|
||||||
@@ -94,10 +94,10 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li In \uicontrol {Mime Types}, select \uicontrol Add to add
|
\li In \uicontrol {MIME Types}, select \uicontrol Add to add magic
|
||||||
\uicontrol {Magic Headers}.
|
headers.
|
||||||
|
|
||||||
\image qtcreator-mime-types-magic-header.png {Magic Header}
|
\image {qtcreator-mime-types-magic-header.png} {Add Magic Header dialog}
|
||||||
|
|
||||||
\li In \uicontrol Value, specify a text string or bytes that
|
\li In \uicontrol Value, specify a text string or bytes that
|
||||||
appear in the files.
|
appear in the files.
|
||||||
|
@@ -59,7 +59,7 @@
|
|||||||
diagrams. Add elements to the diagrams and specify properties for them. Use
|
diagrams. Add elements to the diagrams and specify properties for them. Use
|
||||||
standard model elements or add your own elements with custom icons.
|
standard model elements or add your own elements with custom icons.
|
||||||
|
|
||||||
\image qtcreator-modeleditor.webp {Class diagram in the model editor}
|
\image {qtcreator-modeleditor.webp} {Class diagram in the model editor}
|
||||||
\caption A class diagram in the model editor.
|
\caption A class diagram in the model editor.
|
||||||
|
|
||||||
Add elements to diagrams in the following ways:
|
Add elements to diagrams in the following ways:
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
To use custom icons for the built-in elements, select an image file in
|
To use custom icons for the built-in elements, select an image file in
|
||||||
\uicontrol {Image} in element properties.
|
\uicontrol {Image} in element properties.
|
||||||
|
|
||||||
\image qtcreator-model-editor-component-diagram.webp {Component properties}
|
\image {qtcreator-model-editor-component-diagram.webp} {Component properties}
|
||||||
\caption The Image field in Component properties.
|
\caption The Image field in Component properties.
|
||||||
|
|
||||||
\section2 Using Definition Files
|
\section2 Using Definition Files
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
\li Drag model elements to the editor and select them to
|
\li Drag model elements to the editor and select them to
|
||||||
specify properties for them:
|
specify properties for them:
|
||||||
|
|
||||||
\image qtcreator-modeleditor-packages.webp {Package diagram in the model editor}
|
\image {qtcreator-modeleditor-packages.webp} {Package diagram in the model editor}
|
||||||
\caption A package diagram in the model editor.
|
\caption A package diagram in the model editor.
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
@@ -387,7 +387,7 @@
|
|||||||
Elements stacked on other elements of the same type are automatically drawn
|
Elements stacked on other elements of the same type are automatically drawn
|
||||||
in a darker shade of the selected color.
|
in a darker shade of the selected color.
|
||||||
|
|
||||||
\image qtcreator-modeleditor-packages.webp {Package diagram in the model editor}
|
\image {qtcreator-modeleditor-packages.webp} {Package diagram in the model editor}
|
||||||
\caption A package diagram in the model editor.
|
\caption A package diagram in the model editor.
|
||||||
|
|
||||||
Right-click a package to open a context menu, and select
|
Right-click a package to open a context menu, and select
|
||||||
@@ -413,7 +413,7 @@
|
|||||||
classes, dependencies, inheritance, associations, aggregation, and
|
classes, dependencies, inheritance, associations, aggregation, and
|
||||||
composition to visualize a system in an object-oriented way.
|
composition to visualize a system in an object-oriented way.
|
||||||
|
|
||||||
\image qtcreator-modeleditor-classes.webp {Class diagram in the model editor}
|
\image {qtcreator-modeleditor-classes.webp} {Class diagram in the model editor}
|
||||||
\caption A class diagram in the model editor.
|
\caption A class diagram in the model editor.
|
||||||
|
|
||||||
To create class diagrams:
|
To create class diagrams:
|
||||||
@@ -577,7 +577,7 @@
|
|||||||
\li Select \uicontrol {Add Component}.
|
\li Select \uicontrol {Add Component}.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\image qtcreator-model-editor-component-diagram.webp {Component diagram in the model editor}
|
\image {qtcreator-model-editor-component-diagram.webp} {Component diagram in the model editor}
|
||||||
\caption A component diagram in the model editor.
|
\caption A component diagram in the model editor.
|
||||||
|
|
||||||
To navigate from a component in a diagram to the source code, double-click
|
To navigate from a component in a diagram to the source code, double-click
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
To specify global indentation settings for the C++ editor:
|
To specify global indentation settings for the C++ editor:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol {C++}.
|
\li Go to \preferences > \uicontrol {C++} > \uicontrol {Code Style}.
|
||||||
\image qtcreator-code-style-clang-format-global.webp {Code Style preferences}
|
\image {qtcreator-code-style-clang-format-global.webp} {Code Style tab in C++ preferences}
|
||||||
\li In \uicontrol {Formatting mode}, select:
|
\li In \uicontrol {Formatting mode}, select:
|
||||||
\list
|
\list
|
||||||
\li \uicontrol {Indenting Only} to only indent code.
|
\li \uicontrol {Indenting Only} to only indent code.
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
\section1 Using Built-In Indenter
|
\section1 Using Built-In Indenter
|
||||||
|
|
||||||
\image qtcreator-code-style-built-in-indenter.webp {Code Style preferences for built-in indenter}
|
\image {qtcreator-code-style-built-in-indenter.webp} {Code Style preferences for built-in indenter}
|
||||||
|
|
||||||
If you select \uicontrol {Use Built-In Indenter} in
|
If you select \uicontrol {Use Built-In Indenter} in
|
||||||
\uicontrol {Formatting mode}, you can specify how to:
|
\uicontrol {Formatting mode}, you can specify how to:
|
||||||
@@ -72,21 +72,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 preferences}
|
\image {qtcreator-code-style-content.png} {Content tab in the Code Style tab in C++ preferences}
|
||||||
|
|
||||||
\section2 Specifying Settings for Braces
|
\section2 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 preferences}
|
\image {qtcreator-code-style-braces.png} {Braces tab in the Code Style tab in C++ preferences}
|
||||||
|
|
||||||
\section2 Specifying Settings for Switch Statements
|
\section2 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 preferences}
|
\image {qtcreator-code-style-switch.png} {"switch" tab in the Code Style tab in C++ preferences}
|
||||||
|
|
||||||
\section2 Specifying Alignment
|
\section2 Specifying Alignment
|
||||||
|
|
||||||
@@ -99,7 +99,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 preferences}
|
\image {qtcreator-code-style-alignment.png} {Alignment tab in the Code Style tab in C++ preferences}
|
||||||
|
|
||||||
\section2 Binding Pointers and References
|
\section2 Binding Pointers and References
|
||||||
|
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
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 preferences}
|
\image {qtcreator-pointers-references.png} {Pointers and References tab in the Code Style tab in C++ preferences}
|
||||||
|
|
||||||
\section1 Creating ClangFormat Files from Command Line
|
\section1 Creating ClangFormat Files from Command Line
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
\li Go to \preferences > \uicontrol Nim.
|
\li Go to \preferences > \uicontrol Nim.
|
||||||
\li In \uicontrol {Custom settings}, select the settings to
|
\li In \uicontrol {Custom settings}, select the settings to
|
||||||
modify, and then select \uicontrol Copy.
|
modify, and then select \uicontrol Copy.
|
||||||
\image qtcreator-preferences-nim-code-style.webp {Nim Code Style preferences}
|
\image {qtcreator-preferences-nim-code-style.webp} {Code Style tab in Nim preferences}
|
||||||
\li Give a name to the settings, and select \uicontrol OK.
|
\li Give a name to the settings, and select \uicontrol OK.
|
||||||
\li Specify how to interpret the \key Tab key presses and how to align
|
\li Specify how to interpret the \key Tab key presses and how to align
|
||||||
continuation lines.
|
continuation lines.
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
To use Nimsuggest, you must install it on the development PC and enter the
|
To use Nimsuggest, you must install it on the development PC and enter the
|
||||||
path to the tool executable in \uicontrol Path.
|
path to the tool executable in \uicontrol Path.
|
||||||
|
|
||||||
\image qtcreator-preferences-nim-tools.webp
|
\image {qtcreator-preferences-nim-tools.webp} {Tools tab in Nim preferences}
|
||||||
|
|
||||||
\sa {Add code snippets to the auto-complete menu}, {Complete code},
|
\sa {Add code snippets to the auto-complete menu}, {Complete code},
|
||||||
{Find preferences}, {Indent text or code}, {Specify code style},
|
{Find preferences}, {Indent text or code}, {Specify code style},
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
When you open an .scxml file, it opens in the SCXML editor:
|
When you open an .scxml file, it opens in the SCXML editor:
|
||||||
|
|
||||||
\image qtcreator-scxml-editor.webp {SCXML editor}
|
\image {qtcreator-scxml-editor.webp} {SCXML editor}
|
||||||
|
|
||||||
Drag states from the \uicontrol {Common States} view (1) to
|
Drag states from the \uicontrol {Common States} view (1) to
|
||||||
the state editor (2). Select a state in the state editor and use the tool
|
the state editor (2). Select a state in the state editor and use the tool
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
Use the toolbar buttons to align states in the state editor, to adjust
|
Use the toolbar buttons to align states in the state editor, to adjust
|
||||||
their size, color, and fonts, and to change the default color scheme.
|
their size, color, and fonts, and to change the default color scheme.
|
||||||
|
|
||||||
\image qtcreator-scxml-editor-state-toolbar.webp {Buttons for editing states}
|
\image {qtcreator-scxml-editor-state-toolbar.webp} {Buttons for editing states}
|
||||||
|
|
||||||
Overlapping states are marked in red color.
|
Overlapping states are marked in red color.
|
||||||
|
|
||||||
@@ -292,7 +292,7 @@
|
|||||||
use the classes in the \l {Qt SCXML} module to embed state machines created
|
use the classes in the \l {Qt SCXML} module to embed state machines created
|
||||||
from the files in Qt applications.
|
from the files in Qt applications.
|
||||||
|
|
||||||
\image qtcreator-scxml-editor.webp {SCXML editor}
|
\image {qtcreator-scxml-editor.webp} {SCXML editor}
|
||||||
|
|
||||||
To create a state chart:
|
To create a state chart:
|
||||||
|
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
To view and remove saved macros, go to \preferences >
|
To view and remove saved macros, go to \preferences >
|
||||||
\uicontrol {Text Editor} > \uicontrol Macros.
|
\uicontrol {Text Editor} > \uicontrol Macros.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-macros.webp {Macros tab in Text Editor Preferences}
|
\image {qtcreator-preferences-texteditor-macros.webp} {Macros tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Assign keyboard shortcuts to macros
|
\section1 Assign keyboard shortcuts to macros
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
QML code (such as Python code files), select \preferences >
|
QML code (such as Python code files), select \preferences >
|
||||||
\uicontrol {Text Editor} > \uicontrol Behavior.
|
\uicontrol {Text Editor} > \uicontrol Behavior.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-behavior-indentation.webp {Text Editor Behavior preferences}
|
\image {qtcreator-preferences-texteditor-behavior-indentation.webp} {Behavior tab in Text Editor preferences}
|
||||||
|
|
||||||
You can specify how to interpret the \key Tab and \key Backspace key
|
You can specify how to interpret the \key Tab and \key Backspace key
|
||||||
presses and how to align continuation lines.
|
presses and how to align continuation lines.
|
||||||
|
@@ -57,7 +57,7 @@
|
|||||||
specify whether the member functions are generated inline or outside the
|
specify whether the member functions are generated inline or outside the
|
||||||
class.
|
class.
|
||||||
|
|
||||||
\image qtcreator-refactoring-member-function-implementations.png "Implement Member Functions dialog"
|
\image {qtcreator-refactoring-member-function-implementations.png} {Implement Member Functions dialog}
|
||||||
|
|
||||||
\section2 Insert virtual functions
|
\section2 Insert virtual functions
|
||||||
|
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
quick fix to insert declarations and the corresponding definitions
|
quick fix to insert declarations and the corresponding definitions
|
||||||
inside or outside the class or in an implementation file (if it exists).
|
inside or outside the class or in an implementation file (if it exists).
|
||||||
|
|
||||||
\image qtcreator-refactoring-virtual-function-dialog.png "Insert Virtual Functions dialog"
|
\image {qtcreator-refactoring-virtual-function-dialog.png} {Insert Virtual Functions dialog}
|
||||||
|
|
||||||
Select the functions to insert in the list of available functions.
|
Select the functions to insert in the list of available functions.
|
||||||
Filter the list and hide reimplemented functions from it.
|
Filter the list and hide reimplemented functions from it.
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
quick fix to create either both getter and setter member functions
|
quick fix to create either both getter and setter member functions
|
||||||
for member variables or only a getter or setter.
|
for member variables or only a getter or setter.
|
||||||
|
|
||||||
\image qtcreator-refactoring-getters-and-setters.png "Getters and Setters dialog"
|
\image {qtcreator-refactoring-getters-and-setters.png} {Getters and Setters dialog}
|
||||||
|
|
||||||
\section2 Generate constructors
|
\section2 Generate constructors
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
class members to initialize in the constructor. Drag the parameters
|
class members to initialize in the constructor. Drag the parameters
|
||||||
to specify their order in the constructor.
|
to specify their order in the constructor.
|
||||||
|
|
||||||
\image qtcreator-refactoring-constructor.png "Constructor dialog"
|
\image {qtcreator-refactoring-constructor.png} {Constructor dialog}
|
||||||
|
|
||||||
\sa {Find symbols}, {Specify settings for quick fixes}, {Quick Fixes},
|
\sa {Find symbols}, {Specify settings for quick fixes}, {Quick Fixes},
|
||||||
{C++ Quick Fixes}
|
{C++ Quick Fixes}
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
Apply the \uicontrol {Move Class to a Dedicated Set of Source Files} quick
|
Apply the \uicontrol {Move Class to a Dedicated Set of Source Files} quick
|
||||||
fix to move a class to a separate set of header and implementation files.
|
fix to move a class to a separate set of header and implementation files.
|
||||||
|
|
||||||
\image qtcreator-move-class-to-separate-files.webp {Give names to header and implementation files}
|
\image {qtcreator-move-class-to-separate-files.webp} {Give names to header and implementation files}
|
||||||
|
|
||||||
Specify paths and file names for the header and implementation file.
|
Specify paths and file names for the header and implementation file.
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@
|
|||||||
name and select whether properties are set for the new component
|
name and select whether properties are set for the new component
|
||||||
or for the original one.
|
or for the original one.
|
||||||
|
|
||||||
\image qtcreator-move-component-into-separate-file.png
|
\image {qtcreator-move-component-into-separate-file.png} {Move Component into Separate File dialog}
|
||||||
|
|
||||||
\li QML type name.
|
\li QML type name.
|
||||||
\if defined(qtdesignstudio)
|
\if defined(qtdesignstudio)
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
\li In \uicontrol Find, enter the text you are looking for.
|
\li In \uicontrol Find, enter the text you are looking for.
|
||||||
|
|
||||||
\image qtcreator-find-from-current-file.webp {Search hits highlighted in editor}
|
\image {qtcreator-find-from-current-file.webp} {Search hits highlighted in the editor}
|
||||||
|
|
||||||
All occurrences of the text are highlighted in the editor as you
|
All occurrences of the text are highlighted in the editor as you
|
||||||
type.
|
type.
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
\preferences > \uicontrol {Text Editor} >
|
\preferences > \uicontrol {Text Editor} >
|
||||||
\uicontrol Display > \uicontrol {Highlight search results on the scrollbar}.
|
\uicontrol Display > \uicontrol {Highlight search results on the scrollbar}.
|
||||||
|
|
||||||
\image qtcreator-options-text-editor-display.png {Text Editor Display preferences}
|
\image {qtcreator-options-text-editor-display.png} {Display tab in Text Editor preferences}
|
||||||
|
|
||||||
\section1 Search globally
|
\section1 Search globally
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
\uicontrol {Find/Replace} > \uicontrol {Advanced Find} >
|
\uicontrol {Find/Replace} > \uicontrol {Advanced Find} >
|
||||||
\uicontrol {Open Advanced Find}.
|
\uicontrol {Open Advanced Find}.
|
||||||
\li In \uicontrol Scope, select \uicontrol {All Projects}.
|
\li In \uicontrol Scope, select \uicontrol {All Projects}.
|
||||||
\image qtcreator-search-all-projects.webp {Search Results view}
|
\image {qtcreator-search-all-projects.webp} {Search Results view}
|
||||||
\li In \uicontrol {Search for}, enter the string you are looking for.
|
\li In \uicontrol {Search for}, enter the string you are looking for.
|
||||||
\li Select options to make the search case sensitive, search only whole
|
\li Select options to make the search case sensitive, search only whole
|
||||||
words, use regular expressions, or ignore binary files.
|
words, use regular expressions, or ignore binary files.
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li In \uicontrol Scope, select \uicontrol {Files in File System}.
|
\li In \uicontrol Scope, select \uicontrol {Files in File System}.
|
||||||
\image qtcreator-search-file-system.webp {Search Results view}
|
\image {qtcreator-search-file-system.webp} {Search Results view}
|
||||||
\li In \uicontrol {Search for}, enter the string you are looking for.
|
\li In \uicontrol {Search for}, enter the string you are looking for.
|
||||||
\li In \uicontrol {Search engine}, select the search engine to use:
|
\li In \uicontrol {Search engine}, select the search engine to use:
|
||||||
\list
|
\list
|
||||||
@@ -205,7 +205,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol {Search & Replace}.
|
\li Select \uicontrol {Search & Replace}.
|
||||||
\image qtcreator-search-results-reg-exp.webp {Search results when searching and replacing}
|
\image {qtcreator-search-results-reg-exp.webp} {Search results when searching and replacing}
|
||||||
\li Enter the new text in \uicontrol {Replace with}.
|
\li Enter the new text in \uicontrol {Replace with}.
|
||||||
\li Select \uicontrol Replace.
|
\li Select \uicontrol Replace.
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
\uicontrol {Text Editor} > \uicontrol {Generic Highlighter} and select
|
\uicontrol {Text Editor} > \uicontrol {Generic Highlighter} and select
|
||||||
\uicontrol {Reset Remembered Definitions}.
|
\uicontrol {Reset Remembered Definitions}.
|
||||||
|
|
||||||
\image qtcreator-syntax-highlighter.png {Generic Highlighter preferences}
|
\image {qtcreator-syntax-highlighter.png} {Generic Highlighter tab in Text Editor preferences}
|
||||||
|
|
||||||
\section2 Download definitions
|
\section2 Download definitions
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
For example, when you place the cursor within a set of braces, the code
|
For example, when you place the cursor within a set of braces, the code
|
||||||
enclosed in braces is highlighted.
|
enclosed in braces is highlighted.
|
||||||
|
|
||||||
\image qtcreator-blockhighlighting.png {A code block highlighted in the editor}
|
\image {qtcreator-blockhighlighting.png} {A code block highlighted in the editor}
|
||||||
|
|
||||||
To enable block highlighting, go to \preferences > \uicontrol {Text Editor}
|
To enable block highlighting, go to \preferences > \uicontrol {Text Editor}
|
||||||
> \uicontrol Display and select \uicontrol {Highlight blocks}.
|
> \uicontrol Display and select \uicontrol {Highlight blocks}.
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
\uicontrol {Text Editor} > \uicontrol Display and select
|
\uicontrol {Text Editor} > \uicontrol Display and select
|
||||||
\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 preferences}
|
\image {qtcreator-options-text-editor-display.png} {Display tab in Text Editor preferences}
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\section1 Fold all comment blocks
|
\section1 Fold all comment blocks
|
||||||
|
@@ -31,9 +31,10 @@
|
|||||||
\section1 Configure external tools
|
\section1 Configure external tools
|
||||||
|
|
||||||
You can change the configuration of preconfigured tools and configure
|
You can change the configuration of preconfigured tools and configure
|
||||||
additional tools in \QC \preferences.
|
additional tools in \preferences > \uicontrol {Environment} >
|
||||||
|
\uicontrol {External Tools}.
|
||||||
|
|
||||||
\image qtcreator-external-tools.webp {External Tools preferences}
|
\image {qtcreator-external-tools.webp} {External Tools tab in Environment preferences}
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
Select the \inlineimage icons/replace.png
|
Select the \inlineimage icons/replace.png
|
||||||
|
@@ -42,12 +42,12 @@
|
|||||||
\if defined(qtdesignstudio)
|
\if defined(qtdesignstudio)
|
||||||
The following image shows the context sensitive help in the \l Code view.
|
The following image shows the context sensitive help in the \l Code view.
|
||||||
|
|
||||||
\image qds-help-in-code-view.webp {Context-sensitive help in the Code view.}
|
\image {qds-help-in-code-view.webp} {Context-sensitive help in the Code view.}
|
||||||
\else
|
\else
|
||||||
The following image shows the context sensitive help in the \uicontrol Edit
|
The following image shows the context sensitive help in the \uicontrol Edit
|
||||||
mode.
|
mode.
|
||||||
|
|
||||||
\image qtcreator-context-sensitive-help.webp {Context-sensitive help in Edit mode}
|
\image {qtcreator-context-sensitive-help.webp} {Context-sensitive help in Edit mode}
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
\section1 Change the font
|
\section1 Change the font
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
family, style, and size in \preferences > \uicontrol Help >
|
family, style, and size in \preferences > \uicontrol Help >
|
||||||
\uicontrol General.
|
\uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-preferences-help-general.webp {General tab in Help preferences}
|
\image {qtcreator-preferences-help-general.webp} {General tab in Help preferences}
|
||||||
|
|
||||||
Set the default zoom level in \uicontrol Zoom. When viewing help pages, use
|
Set the default zoom level in \uicontrol Zoom. When viewing help pages, use
|
||||||
the mouse scroll wheel to zoom them. To turn off this feature, clear
|
the mouse scroll wheel to zoom them. To turn off this feature, clear
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol {Text Editor} > \uicontrol Behavior.
|
\li Go to \preferences > \uicontrol {Text Editor} > \uicontrol Behavior.
|
||||||
\image qtcreator-preferences-texteditor-behavior.webp {Text Editor Behavior preferences}
|
\image {qtcreator-preferences-texteditor-behavior.webp} {Behavior tab in Text Editor preferences}
|
||||||
\li In \uicontrol {Show help tooltips using the mouse}, select
|
\li In \uicontrol {Show help tooltips using the mouse}, select
|
||||||
\uicontrol {On Shift+Mouseover}.
|
\uicontrol {On Shift+Mouseover}.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -126,11 +126,11 @@
|
|||||||
\uicontrol {Qt Versions} and select an option in
|
\uicontrol {Qt Versions} and select an option in
|
||||||
\uicontrol {Register documentation}.
|
\uicontrol {Register documentation}.
|
||||||
|
|
||||||
\image qtcreator-qt-versions.png {Register documentation in Qt Versions preferences}
|
\image {qtcreator-qt-versions.png} {Register documentation in the Qt Versions tab in Kits preferences}
|
||||||
|
|
||||||
\section1 Help mode sidebar views
|
\section1 Help mode sidebar views
|
||||||
|
|
||||||
\image qtcreator-sidebar-help-mode.webp {Sidebar views in the Help mode}
|
\image {qtcreator-sidebar-help-mode.webp} {Sidebar views in the Help mode}
|
||||||
|
|
||||||
To find information in the documentation in the \uicontrol Help mode, select:
|
To find information in the documentation in the \uicontrol Help mode, select:
|
||||||
|
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
bookmark or change it to any text. You can organize the bookmarks in
|
bookmark or change it to any text. You can organize the bookmarks in
|
||||||
folders in the view.
|
folders in the view.
|
||||||
|
|
||||||
\image qtcreator-help-add-bookmark-dlg.png {Add Bookmark dialog}
|
\image {qtcreator-help-add-bookmark-dlg.png} {Add Bookmark dialog}
|
||||||
|
|
||||||
To add a bookmark to an open help page:
|
To add a bookmark to an open help page:
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
the number of search hits that the documents have. Select a document in
|
the number of search hits that the documents have. Select a document in
|
||||||
the list to open it.
|
the list to open it.
|
||||||
|
|
||||||
\image qtcreator-help-search.png {Help mode Search pane}
|
\image {qtcreator-help-search.png} {Help mode Search pane}
|
||||||
|
|
||||||
The following are examples of common search patterns:
|
The following are examples of common search patterns:
|
||||||
|
|
||||||
@@ -283,7 +283,7 @@
|
|||||||
\li To add the .qch file to \QC, go to \preferences >
|
\li To add the .qch file to \QC, go to \preferences >
|
||||||
\uicontrol Help > \uicontrol Documentation > \uicontrol Add.
|
\uicontrol Help > \uicontrol Documentation > \uicontrol Add.
|
||||||
|
|
||||||
\image qtcreator-preferences-help-documentation.webp {Documentation tab in Help Preferences}
|
\image {qtcreator-preferences-help-documentation.webp} {Documentation tab in Help preferences}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -309,15 +309,15 @@
|
|||||||
space, the help opens in the full-screen help mode.
|
space, the help opens in the full-screen help mode.
|
||||||
|
|
||||||
\if defined(qtdesignstudio)
|
\if defined(qtdesignstudio)
|
||||||
\image qds-help-in-code-view.webp {Context-sensitive help in the Code view.}
|
\image {qds-help-in-code-view.webp} {Context-sensitive help in the Code view.}
|
||||||
\else
|
\else
|
||||||
\image qtcreator-context-sensitive-help.webp {Context-sensitive help in Edit mode}
|
\image {qtcreator-context-sensitive-help.webp} {Context-sensitive help in Edit mode}
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
To specify that the help always opens in full-screen mode or in an external
|
To specify that the help always opens in full-screen mode or in an external
|
||||||
window, go to \preferences > \uicontrol Help > \uicontrol General.
|
window, go to \preferences > \uicontrol Help > \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-preferences-help-general.webp {General tab in Help preferences}
|
\image {qtcreator-preferences-help-general.webp} {General tab in Help preferences}
|
||||||
|
|
||||||
Set preferences for viewing context-sensitive help
|
Set preferences for viewing context-sensitive help
|
||||||
in \uicontrol {On context help}. To detach the help window, select
|
in \uicontrol {On context help}. To detach the help window, select
|
||||||
@@ -346,7 +346,7 @@
|
|||||||
\preferences > \uicontrol Help > \uicontrol General and select
|
\preferences > \uicontrol Help > \uicontrol General and select
|
||||||
\uicontrol {On help start}.
|
\uicontrol {On help start}.
|
||||||
|
|
||||||
\image qtcreator-preferences-help-general.webp {General tab in Help preferences}
|
\image {qtcreator-preferences-help-general.webp} {General tab in Help preferences}
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li To show the page and help views that were open when you exited the mode,
|
\li To show the page and help views that were open when you exited the mode,
|
||||||
@@ -384,7 +384,7 @@
|
|||||||
contents of the \uicontrol Index and \uicontrol Contents
|
contents of the \uicontrol Index and \uicontrol Contents
|
||||||
view in the sidebar change accordingly.
|
view in the sidebar change accordingly.
|
||||||
|
|
||||||
\image qtcreator-help-filters.png {Filters on the Help mode toolbar}
|
\image {qtcreator-help-filters.png} {Filters on the Help mode toolbar}
|
||||||
|
|
||||||
\section1 Add filters
|
\section1 Add filters
|
||||||
|
|
||||||
@@ -397,7 +397,7 @@
|
|||||||
|
|
||||||
\li Go to \preferences > \uicontrol Help > \uicontrol Filters.
|
\li Go to \preferences > \uicontrol Help > \uicontrol Filters.
|
||||||
|
|
||||||
\image qtcreator-help-filter-attributes.png {Filters tab in Help preferences}
|
\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.
|
||||||
|
@@ -31,14 +31,14 @@
|
|||||||
To sort the preference categories in alphabetic order, select the
|
To sort the preference categories in alphabetic order, select the
|
||||||
\uicontrol {Sort categories} check box.
|
\uicontrol {Sort categories} check box.
|
||||||
|
|
||||||
\image qtcreator-preferences-sort.webp {Preference categories in alphabetic order}
|
\image {qtcreator-preferences-sort.webp} {Preference categories in alphabetic order}
|
||||||
|
|
||||||
\section1 Filter preferences
|
\section1 Filter preferences
|
||||||
|
|
||||||
To find a particular preference, use the filter located at the top left of
|
To find a particular preference, use the filter located at the top left of
|
||||||
the \uicontrol Preferences dialog.
|
the \uicontrol Preferences dialog.
|
||||||
|
|
||||||
\image qtcreator-preferences.webp {Filtering preferences}
|
\image {qtcreator-preferences.webp} {Filtering preferences}
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\section1 Go to tabs in Preferences
|
\section1 Go to tabs in Preferences
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
to open the \uicontrol Interface tab, enter \c {t preferences interface}
|
to open the \uicontrol Interface tab, enter \c {t preferences interface}
|
||||||
in the locator.
|
in the locator.
|
||||||
|
|
||||||
\image qtcreator-locator-filter-t.webp {Using the locator to open a tab in Preferences}
|
\image {qtcreator-locator-filter-t.webp} {Using the locator to open a tab in Preferences}
|
||||||
|
|
||||||
\sa {Navigate with locator}
|
\sa {Navigate with locator}
|
||||||
\endif
|
\endif
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences >
|
\li Select \preferences >
|
||||||
\uicontrol Environment > \uicontrol Interface.
|
\uicontrol Environment > \uicontrol Interface.
|
||||||
\image qtcreator-preferences-environment-interface.webp {Interface tab in Environment preferences}
|
\image {qtcreator-preferences-environment-interface.webp} {Interface tab in Environment preferences}
|
||||||
\li In \uicontrol {DPI rounding policy}, select an option to round
|
\li In \uicontrol {DPI rounding policy}, select an option to round
|
||||||
DPI up or down.
|
DPI up or down.
|
||||||
\li Restart \QC to have the change take effect.
|
\li Restart \QC to have the change take effect.
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences >
|
\li Select \preferences >
|
||||||
\uicontrol Environment > \uicontrol Interface.
|
\uicontrol Environment > \uicontrol Interface.
|
||||||
\image qtcreator-preferences-environment-interface.webp {Interface preferences}
|
\image {qtcreator-preferences-environment-interface.webp} {Interface tab in Environment preferences}
|
||||||
\li In \uicontrol Theme, select a theme.
|
\li In \uicontrol Theme, select a theme.
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
\QC opens image files in the image viewer.
|
\QC opens image files in the image viewer.
|
||||||
|
|
||||||
\image qtcreator-image-viewer.png {Image viewer}
|
\image {qtcreator-image-viewer.png} {Image viewer}
|
||||||
|
|
||||||
Use the toolbar buttons or \l{Keyboard Shortcuts}{keyboard shortcuts} to:
|
Use the toolbar buttons or \l{Keyboard Shortcuts}{keyboard shortcuts} to:
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
\image {qtcreator-keyboard-shortcuts.png} {Keyboard tab in Environment preferences}
|
||||||
|
|
||||||
\li Select a command from the list.
|
\li Select a command from the list.
|
||||||
|
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
\image {qtcreator-keyboard-shortcuts.png} {Keyboard tab in Environment preferences}
|
||||||
\li Start typing the name of a function or shortcut in the
|
\li Start typing the name of a function or shortcut in the
|
||||||
\uicontrol Filter field.
|
\uicontrol Filter field.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
\image {qtcreator-keyboard-shortcuts.png} {Keyboard tab in Environment preferences}
|
||||||
|
|
||||||
\li To import a keyboard shortcut mapping scheme, click \uicontrol Import
|
\li To import a keyboard shortcut mapping scheme, click \uicontrol Import
|
||||||
and select the .kms file that has the keyboard shortcut mapping scheme
|
and select the .kms file that has the keyboard shortcut mapping scheme
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
\li Select \uicontrol {Qt Test Project} > \uicontrol Choose.
|
\li Select \uicontrol {Qt Test Project} > \uicontrol Choose.
|
||||||
\li In the \uicontrol {Project and Test Information} dialog, specify
|
\li In the \uicontrol {Project and Test Information} dialog, specify
|
||||||
settings for the project and test.
|
settings for the project and test.
|
||||||
\image qtcreator-new-project-qt-test.webp {Project and Test Information - Qt Test}
|
\image {qtcreator-new-project-qt-test.webp} {Project and Test Information dialog in the Qt Test Project wizard}
|
||||||
\li In \uicontrol {Test case name}, enter a name for the test case.
|
\li In \uicontrol {Test case name}, enter a name for the test case.
|
||||||
\li Select \uicontrol {Requires \QApplication} to add the include
|
\li Select \uicontrol {Requires \QApplication} to add the include
|
||||||
statement for QApplication to the main.cpp file of the project.
|
statement for QApplication to the main.cpp file of the project.
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
\li Select \uicontrol {Qt Quick Test Project} > \uicontrol Choose.
|
\li Select \uicontrol {Qt Quick Test Project} > \uicontrol Choose.
|
||||||
\li In the \uicontrol {Project and Test Information} dialog, specify
|
\li In the \uicontrol {Project and Test Information} dialog, specify
|
||||||
settings for the project and test.
|
settings for the project and test.
|
||||||
\image qtcreator-new-project-qtquick-test.webp {Project and Test Information - Qt Quick Test}
|
\image {qtcreator-new-project-qtquick-test.webp} {Project and Test Information dialog in the Qt Quick Test Project wizard}
|
||||||
\li In \uicontrol {Test case name}, enter a name for the test case.
|
\li In \uicontrol {Test case name}, enter a name for the test case.
|
||||||
\li Select \uicontrol {Generate setup code} to execute C++
|
\li Select \uicontrol {Generate setup code} to execute C++
|
||||||
code before running any of the QML tests. The testing
|
code before running any of the QML tests. The testing
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
\li In the \uicontrol {Project and Test Information} dialog, specify
|
\li In the \uicontrol {Project and Test Information} dialog, specify
|
||||||
settings for the project and test:
|
settings for the project and test:
|
||||||
|
|
||||||
\image qtcreator-new-project-google-test.webp {Project and Test Information - Google test}
|
\image {qtcreator-new-project-google-test.webp} {Project and Test Information dialog in the Google Test Project wizard}
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
Boost test.
|
Boost test.
|
||||||
\li In the \uicontrol {Project and Test Information} dialog, specify
|
\li In the \uicontrol {Project and Test Information} dialog, specify
|
||||||
settings for the project and test:
|
settings for the project and test:
|
||||||
\image qtcreator-new-project-boost-test.webp {Project and Test Information - Boost test}
|
\image {qtcreator-new-project-boost-test.webp} {Project and Test Information dialog in the Boost Test Project wizard}
|
||||||
\list 1
|
\list 1
|
||||||
\li In \uicontrol {Test framework}, select
|
\li In \uicontrol {Test framework}, select
|
||||||
\uicontrol {Boost Test (header only)} to include needed
|
\uicontrol {Boost Test (header only)} to include needed
|
||||||
@@ -219,7 +219,7 @@
|
|||||||
a project with boilerplate code for a Catch2 test.
|
a project with boilerplate code for a Catch2 test.
|
||||||
\li In the \uicontrol {Project and Test Information} dialog, specify
|
\li In the \uicontrol {Project and Test Information} dialog, specify
|
||||||
settings for the project and test:
|
settings for the project and test:
|
||||||
\image qtcreator-new-project-catch2-test.webp {Project and Test Information dialog - Catch2 test}
|
\image {qtcreator-new-project-catch2-test.webp} {Project and Test Information dialog in the Catch2 Test Project wizard}
|
||||||
\list 1
|
\list 1
|
||||||
\li In \uicontrol {Test framework}, select
|
\li In \uicontrol {Test framework}, select
|
||||||
\uicontrol {Catch2 v3 (shared libraries)} to link against
|
\uicontrol {Catch2 v3 (shared libraries)} to link against
|
||||||
@@ -296,7 +296,7 @@
|
|||||||
\li In \uicontrol {Test framework}, select the test framework in use.
|
\li In \uicontrol {Test framework}, select the test framework in use.
|
||||||
This has to match the test framework you are using inside the project
|
This has to match the test framework you are using inside the project
|
||||||
you want to add this file to.
|
you want to add this file to.
|
||||||
\image qtcreator-new-file-test-case.webp {Test Information dialog}
|
\image {qtcreator-new-file-test-case.webp} {Test Information dialog in the Test Case wizard}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
The settings to specify depend on the selected test framework.
|
The settings to specify depend on the selected test framework.
|
||||||
@@ -364,7 +364,7 @@
|
|||||||
The \uicontrol Tests view shows all the tests found for the currently active
|
The \uicontrol Tests view shows all the tests found for the currently active
|
||||||
test frameworks in the current project. Select the test cases to run.
|
test frameworks in the current project. Select the test cases to run.
|
||||||
|
|
||||||
\image qtcreator-tests-view.png
|
\image {qtcreator-tests-view.png} {Tests view}
|
||||||
|
|
||||||
If a Qt Quick test case does not have a name, it is marked
|
If a Qt Quick test case does not have a name, it is marked
|
||||||
\uicontrol Unnamed in the list. \uicontrol {Run All Tests} executes
|
\uicontrol Unnamed in the list. \uicontrol {Run All Tests} executes
|
||||||
@@ -442,7 +442,7 @@
|
|||||||
To set preferences for handling tests, go to
|
To set preferences for handling tests, go to
|
||||||
\preferences > \uicontrol {Testing} > \uicontrol General.
|
\preferences > \uicontrol {Testing} > \uicontrol General.
|
||||||
|
|
||||||
\image qtcreator-preferences-testing-general.webp {General tab in Testing preferences}
|
\image {qtcreator-preferences-testing-general.webp} {General tab in Testing preferences}
|
||||||
|
|
||||||
The following table summarizes the general testing preferences.
|
The following table summarizes the general testing preferences.
|
||||||
|
|
||||||
@@ -523,7 +523,7 @@
|
|||||||
To set preference for Qt tests, go to \preferences > \uicontrol {Testing} >
|
To set preference for Qt tests, go to \preferences > \uicontrol {Testing} >
|
||||||
\uicontrol {Qt Test}.
|
\uicontrol {Qt Test}.
|
||||||
|
|
||||||
\image qtcreator-preferences-testing-qttest.webp {Qt Tests tab in Testing preferences}
|
\image {qtcreator-preferences-testing-qttest.webp} {Qt Test tab in Testing preferences}
|
||||||
|
|
||||||
The code inside a benchmark test is measured, and possibly also repeated
|
The code inside a benchmark test is measured, and possibly also repeated
|
||||||
several times in order to get an accurate measurement. This depends on the
|
several times in order to get an accurate measurement. This depends on the
|
||||||
@@ -586,7 +586,7 @@
|
|||||||
To specify settings for running Google tests, go to \preferences >
|
To specify settings for running Google tests, go to \preferences >
|
||||||
\uicontrol {Testing} > \uicontrol {Google Test}.
|
\uicontrol {Testing} > \uicontrol {Google Test}.
|
||||||
|
|
||||||
\image qtcreator-preferences-testing-googletest.webp {Gooble Test tab in Testing preferences}
|
\image {qtcreator-preferences-testing-googletest.webp} {Google Test tab in Testing preferences}
|
||||||
|
|
||||||
The following table summarizes the Google test preferences.
|
The following table summarizes the Google test preferences.
|
||||||
|
|
||||||
@@ -634,7 +634,7 @@
|
|||||||
To specify settings for running Boost tests, go to \preferences >
|
To specify settings for running Boost tests, go to \preferences >
|
||||||
\uicontrol {Testing} > \uicontrol {Boost Test}.
|
\uicontrol {Testing} > \uicontrol {Boost Test}.
|
||||||
|
|
||||||
\image qtcreator-preferences-testing-boosttest.webp {Boost Test tab in Testing preferences}
|
\image {qtcreator-preferences-testing-boosttest.webp} {Boost Test tab in Testing preferences}
|
||||||
|
|
||||||
The following table summarizes the Boost test preferences.
|
The following table summarizes the Boost test preferences.
|
||||||
|
|
||||||
@@ -673,7 +673,7 @@
|
|||||||
To specify settings for running Catch2 tests, go to \preferences >
|
To specify settings for running Catch2 tests, go to \preferences >
|
||||||
\uicontrol {Testing} > \uicontrol {Catch Test}.
|
\uicontrol {Testing} > \uicontrol {Catch Test}.
|
||||||
|
|
||||||
\image qtcreator-preferences-testing-catchtest.webp {Catch Test tab in Testing preferences}
|
\image {qtcreator-preferences-testing-catchtest.webp} {Catch Test tab in Testing preferences}
|
||||||
|
|
||||||
The following table summarizes the Catch2 test preferences.
|
The following table summarizes the Catch2 test preferences.
|
||||||
|
|
||||||
@@ -720,7 +720,7 @@
|
|||||||
To specify settings for running CTest-based tests, go to \preferences >
|
To specify settings for running CTest-based tests, go to \preferences >
|
||||||
\uicontrol {Testing} > \uicontrol {CTest}.
|
\uicontrol {Testing} > \uicontrol {CTest}.
|
||||||
|
|
||||||
\image qtcreator-preferences-testing-ctest.webp {CTest tab in Testing preferences}
|
\image {qtcreator-preferences-testing-ctest.webp} {CTest tab in Testing preferences}
|
||||||
|
|
||||||
The following table summarizes the CTest preferences.
|
The following table summarizes the CTest preferences.
|
||||||
|
|
||||||
@@ -769,7 +769,7 @@
|
|||||||
|
|
||||||
View and filter test results in the \uicontrol{Test Results} view.
|
View and filter test results in the \uicontrol{Test Results} view.
|
||||||
|
|
||||||
\image qtcreator-test-results.webp {Visual display in the Test Results view}
|
\image {qtcreator-test-results.webp} {Visual display in the Test Results view}
|
||||||
|
|
||||||
The view shows test duration for the test frameworks that support it. To
|
The view shows test duration for the test frameworks that support it. To
|
||||||
show and hide duration information, select \inlineimage icons/stopwatch.png.
|
show and hide duration information, select \inlineimage icons/stopwatch.png.
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
\uicontrol {Documentation Comments}, and clear the
|
\uicontrol {Documentation Comments}, and clear the
|
||||||
\uicontrol {Use global settings} check box.
|
\uicontrol {Use global settings} check box.
|
||||||
|
|
||||||
\image qtcreator-preferences-documentation-comments.webp {Documentation Comments settings}
|
\image {qtcreator-preferences-documentation-comments.webp} {Documentation Comments in Project Settings}
|
||||||
|
|
||||||
To set global preferences, select \preferences >
|
To set global preferences, select \preferences >
|
||||||
\uicontrol {Text Editor} > \uicontrol {Documentation Comments}.
|
\uicontrol {Text Editor} > \uicontrol {Documentation Comments}.
|
||||||
|
@@ -38,12 +38,12 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol {About Plugins}.
|
\li Go to \uicontrol {About Plugins}.
|
||||||
\li Start typing in the \uicontrol Filter field to find a plugin.
|
\li Start typing in the \uicontrol Filter field to find a plugin.
|
||||||
\image qtcreator-installed-plugins.webp {Installed Plugins dialog}
|
\image {qtcreator-installed-plugins.webp} {Installed Plugins dialog}
|
||||||
\li Select the \uicontrol Load checkbox to enable a plugin, or clear
|
\li Select the \uicontrol Load checkbox to enable a plugin, or clear
|
||||||
it to disable a plugin.
|
it to disable a plugin.
|
||||||
\li Select \uicontrol Details to see more information about a plugin,
|
\li Select \uicontrol Details to see more information about a plugin,
|
||||||
such as its purpose, vendor, license, and dependencies.
|
such as its purpose, vendor, license, and dependencies.
|
||||||
\image qtcreator-plugin-details.webp {Plugin Details dialog}
|
\image {qtcreator-plugin-details.webp} {Plugin Details dialog}
|
||||||
\li Select \uicontrol OK.
|
\li Select \uicontrol OK.
|
||||||
\li Select \uicontrol {Restart Now} to restart \QC and have the changes
|
\li Select \uicontrol {Restart Now} to restart \QC and have the changes
|
||||||
take effect.
|
take effect.
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
In the experimental \uicontrol Extensions mode, you can install extensions
|
In the experimental \uicontrol Extensions mode, you can install extensions
|
||||||
from the computer or the web, as well as load and unload them.
|
from the computer or the web, as well as load and unload them.
|
||||||
|
|
||||||
\image qtcreator-extension-mode.webp {Extensions mode}
|
\image {qtcreator-extension-mode.webp} {Extensions mode}
|
||||||
|
|
||||||
To find extensions, start typing in \uicontrol Search.
|
To find extensions, start typing in \uicontrol Search.
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Extensions.
|
\li Go to \uicontrol Extensions.
|
||||||
\image qtcreator-extension-mode.webp {Extensions mode}
|
\image {qtcreator-extension-mode.webp} {Extensions mode}
|
||||||
\li Select an extension.
|
\li Select an extension.
|
||||||
\li Select \uicontrol {Load on start}.
|
\li Select \uicontrol {Load on start}.
|
||||||
\li Select \uicontrol {Restart Now} to restart \QC and load the plugin.
|
\li Select \uicontrol {Restart Now} to restart \QC and load the plugin.
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Extensions.
|
\li Go to \preferences > \uicontrol Extensions.
|
||||||
\image qtcreator-preferences-extensions.webp {Extensions in Preferences}
|
\image {qtcreator-preferences-extensions.webp} {Extensions preferences}
|
||||||
\li Select \uicontrol {Use external repository}.
|
\li Select \uicontrol {Use external repository}.
|
||||||
\li In \uicontrol {Server URL} enter the URL of the external repository.
|
\li In \uicontrol {Server URL} enter the URL of the external repository.
|
||||||
\li Select \uicontrol {OK}.
|
\li Select \uicontrol {OK}.
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol Extensions.
|
\li Go to \uicontrol Extensions.
|
||||||
\image qtcreator-extension-mode.webp {Extensions mode}
|
\image {qtcreator-extension-mode.webp} {Extensions mode}
|
||||||
\li Select an extension.
|
\li Select an extension.
|
||||||
\li Select \uicontrol {Install}.
|
\li Select \uicontrol {Install}.
|
||||||
\include creator-how-to-install-plugins.qdoc install-plugins
|
\include creator-how-to-install-plugins.qdoc install-plugins
|
||||||
|
@@ -25,19 +25,19 @@
|
|||||||
//! [install-plugins]
|
//! [install-plugins]
|
||||||
\li In the \uicontrol Source dialog, enter the path to the archive
|
\li In the \uicontrol Source dialog, enter the path to the archive
|
||||||
or library that has the plugin.
|
or library that has the plugin.
|
||||||
\image qtcreator-install-plugin-source.webp {Source dialog}
|
\image {qtcreator-install-plugin-source.webp} {Source dialog}
|
||||||
\li In the \uicontrol {Accept Terms and Connections} dialog, select
|
\li In the \uicontrol {Accept Terms and Connections} dialog, select
|
||||||
\uicontrol {I accept terms and conditions}.
|
\uicontrol {I accept terms and conditions}.
|
||||||
\image qtcreator-install-plugin-accept-terms-and-conditions.webp {Accept Terms and Connections dialog}
|
\image {qtcreator-install-plugin-accept-terms-and-conditions.webp} {Accept Terms and Connections dialog}
|
||||||
\li In the \uicontrol {Install Location} dialog, select
|
\li In the \uicontrol {Install Location} dialog, select
|
||||||
\uicontrol {User plugins} to make the plugin available for the
|
\uicontrol {User plugins} to make the plugin available for the
|
||||||
current user in all compatible \QC instances or
|
current user in all compatible \QC instances or
|
||||||
\uicontrol {\QC installation} to make the plugin available for
|
\uicontrol {\QC installation} to make the plugin available for
|
||||||
all users of a particular \QC instance.
|
all users of a particular \QC instance.
|
||||||
\image qtcreator-install-plugin-location.webp {Install Location dialog}
|
\image {qtcreator-install-plugin-location.webp} {Install Location dialog}
|
||||||
\li In the \uicontrol Summary dialog, select \uicontrol Finish to
|
\li In the \uicontrol Summary dialog, select \uicontrol Finish to
|
||||||
install the plugin.
|
install the plugin.
|
||||||
\image qtcreator-install-plugin-summary.png {Summary dialog}
|
\image {qtcreator-install-plugin-summary.png} {Summary dialog}
|
||||||
\li Select \uicontrol {Restart Now} to restart \QC and load the plugin.
|
\li Select \uicontrol {Restart Now} to restart \QC and load the plugin.
|
||||||
//! [install-plugins]
|
//! [install-plugins]
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol Tools > \uicontrol {Screen Recording}.
|
\li Select \uicontrol Tools > \uicontrol {Screen Recording}.
|
||||||
\image qtcreator-record-screen.webp {Record Screen dialog}
|
\image {qtcreator-record-screen.webp} {Record Screen dialog}
|
||||||
\li Select \inlineimage icons/settings.png
|
\li Select \inlineimage icons/settings.png
|
||||||
to select the screen to record from and to set the recorded
|
to select the screen to record from and to set the recorded
|
||||||
screen area.
|
screen area.
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
Set the screen and the area to record in the
|
Set the screen and the area to record in the
|
||||||
\uicontrol {Screen Recording Options} dialog.
|
\uicontrol {Screen Recording Options} dialog.
|
||||||
|
|
||||||
\image qtcreator-screen-recording-options.webp {Screen Recording Options dialog}
|
\image {qtcreator-screen-recording-options.webp} {Screen Recording Options dialog}
|
||||||
|
|
||||||
To select a screen and area:
|
To select a screen and area:
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
You can crop and trim the recording in the \uicontrol {Crop and Trim} dialog.
|
You can crop and trim the recording in the \uicontrol {Crop and Trim} dialog.
|
||||||
|
|
||||||
\image qtcreator-crop-and-trim.webp {Crop and Trim}
|
\image {qtcreator-crop-and-trim.webp} {Crop and Trim}
|
||||||
|
|
||||||
To crop a recording, in \uicontrol Cropping, drag the guides to set the
|
To crop a recording, in \uicontrol Cropping, drag the guides to set the
|
||||||
\uicontrol x and \uicontrol y coordinates of the starting point of
|
\uicontrol x and \uicontrol y coordinates of the starting point of
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol Help > \uicontrol {Screen Recording}.
|
\li Select \preferences > \uicontrol Help > \uicontrol {Screen Recording}.
|
||||||
\image qtcreator-preferences-screen-recording.webp {Screen Recording preferences}
|
\image {qtcreator-preferences-screen-recording.webp} {Screen Recording tab in Help preferences}
|
||||||
\li In \uicontrol {ffmpeg tool}, set the path to the FFmpeg executable.
|
\li In \uicontrol {ffmpeg tool}, set the path to the FFmpeg executable.
|
||||||
\li In \uicontrol {ffprobe tool}, set the path to the FFprobe executable.
|
\li In \uicontrol {ffprobe tool}, set the path to the FFprobe executable.
|
||||||
\li Set preferences for recording screens and saving the recordings.
|
\li Set preferences for recording screens and saving the recordings.
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol SDKs > \uicontrol {Windows App SDK}.
|
\li Go to \preferences > \uicontrol SDKs > \uicontrol {Windows App SDK}.
|
||||||
\image qtcreator-preferences-windows-app-sdk.webp {Win App SDK Preferences}
|
\image {qtcreator-preferences-windows-app-sdk.webp} {Win App SDK tab in SDKs preferences}
|
||||||
\li In \uicontrol {Download location}, specify the path to a folder where
|
\li In \uicontrol {Download location}, specify the path to a folder where
|
||||||
NuGet and the SDK will be downloaded.
|
NuGet and the SDK will be downloaded.
|
||||||
\li In \uicontrol {NuGet location}, specify the path to NuGet, or
|
\li In \uicontrol {NuGet location}, specify the path to NuGet, or
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
You can use Silver Searcher as a search engine in \QC if you install
|
You can use Silver Searcher as a search engine in \QC if you install
|
||||||
Silver Searcher on the computer.
|
Silver Searcher on the computer.
|
||||||
|
|
||||||
\image qtcreator-search-file-system.webp {Files in File System scope in Search Results view}
|
\image {qtcreator-search-file-system.webp} {Files in File System scope in Search Results view}
|
||||||
|
|
||||||
\note Enable the SilverSearcher plugin to use it.
|
\note Enable the SilverSearcher plugin to use it.
|
||||||
|
|
||||||
@@ -38,14 +38,14 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Environment > \uicontrol System.
|
\li Go to \preferences > \uicontrol Environment > \uicontrol System.
|
||||||
\image qtcreator-preferences-environment-system.webp {System preferences}
|
\image {qtcreator-preferences-environment-system.webp} {System tab in Environment preferences}
|
||||||
\li In \uicontrol Environment, select \uicontrol Change.
|
\li In \uicontrol Environment, select \uicontrol Change.
|
||||||
\li In \uicontrol {Edit Environment}, add the path to the Silver Searcher
|
\li In \uicontrol {Edit Environment}, add the path to the Silver Searcher
|
||||||
executable:
|
executable:
|
||||||
\badcode
|
\badcode
|
||||||
PATH=</path/to/bin>:${PATH}
|
PATH=</path/to/bin>:${PATH}
|
||||||
\endcode
|
\endcode
|
||||||
\image qtcreator-edit-environment.webp {Edit Environment dialog}
|
\image {qtcreator-edit-environment.webp} {Edit Environment dialog}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\sa {Enable and disable plugins}, {Search}{How To: Search},
|
\sa {Enable and disable plugins}, {Search}{How To: Search},
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Environment > \uicontrol System.
|
\li Go to \preferences > \uicontrol Environment > \uicontrol System.
|
||||||
\image qtcreator-preferences-environment-system.webp {System preferences}
|
\image {qtcreator-preferences-environment-system.webp} {System tab in Environment preferences}
|
||||||
\li Select \uicontrol {Enable crash reporting}.
|
\li Select \uicontrol {Enable crash reporting}.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
@@ -398,7 +398,7 @@
|
|||||||
Use the \uicontrol Locator to browse
|
Use the \uicontrol Locator to browse
|
||||||
through projects, files, classes, functions, documentation, and file systems.
|
through projects, files, classes, functions, documentation, and file systems.
|
||||||
|
|
||||||
\image qtcreator-locator-open.webp "List of found files"
|
\image {qtcreator-locator-open.webp} {List of found files in the locator}
|
||||||
|
|
||||||
To quickly access files not directly mentioned in your project, you can
|
To quickly access files not directly mentioned in your project, you can
|
||||||
create your own locator filters. That way you can locate files in a
|
create your own locator filters. That way you can locate files in a
|
||||||
@@ -407,7 +407,7 @@
|
|||||||
To create locator filters, select \preferences >
|
To create locator filters, select \preferences >
|
||||||
\uicontrol Environment > \uicontrol Locator > \uicontrol Add.
|
\uicontrol Environment > \uicontrol Locator > \uicontrol Add.
|
||||||
|
|
||||||
\image qtcreator-locator-customize.webp "Locator preferences"
|
\image {qtcreator-locator-customize.webp} {Locator tab in Environment preferences}
|
||||||
|
|
||||||
\sa {Creating Locator Filters}, {Edit Code}{How To: Edit Code}, {Edit Mode}
|
\sa {Creating Locator Filters}, {Edit Code}{How To: Edit Code}, {Edit Mode}
|
||||||
*/
|
*/
|
||||||
@@ -425,7 +425,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Press \key {Ctrl+K} (\key {Cmd+K} on \macos) to activate the locator.
|
\li Press \key {Ctrl+K} (\key {Cmd+K} on \macos) to activate the locator.
|
||||||
\li Enter \c =, followed by a space.
|
\li Enter \c =, followed by a space.
|
||||||
\image qtcreator-locator.webp {List of locator filters}
|
\image {qtcreator-locator.webp} {List of locator filters}
|
||||||
\li Perform calculations.
|
\li Perform calculations.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -532,7 +532,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Press \key {Ctrl+K} to activate the locator.
|
\li Press \key {Ctrl+K} to activate the locator.
|
||||||
\li Type m, followed by a space.
|
\li Type m, followed by a space.
|
||||||
\image qtcreator-locator-m-filter.webp {The m filter in the locator}
|
\image {qtcreator-locator-m-filter.webp} {The m filter in the locator}
|
||||||
\li Double-click a QML method in the list to move to it in the editor.
|
\li Double-click a QML method in the list to move to it in the editor.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -578,7 +578,7 @@
|
|||||||
Specify a file that has a license header for C++ in \preferences >
|
Specify a file that has a license header for C++ in \preferences >
|
||||||
\uicontrol C++ > \uicontrol {File Naming} > \uicontrol {License template}.
|
\uicontrol C++ > \uicontrol {File Naming} > \uicontrol {License template}.
|
||||||
|
|
||||||
\image qtcreator-options-cpp-files.png "File Naming preferences"
|
\image {qtcreator-options-cpp-files.png} {File Naming tab in C++ preferences}
|
||||||
|
|
||||||
The license file may have special placeholders enclosed
|
The license file may have special placeholders enclosed
|
||||||
in \c{%%} that are replaced when generating a new file:
|
in \c{%%} that are replaced when generating a new file:
|
||||||
@@ -640,7 +640,7 @@
|
|||||||
To specify whether to automatically insert matching characters,
|
To specify whether to automatically insert matching characters,
|
||||||
select \preferences > \uicontrol {Text Editor} > \uicontrol Completion.
|
select \preferences > \uicontrol {Text Editor} > \uicontrol Completion.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-completion.webp "Completion preferences"
|
\image {qtcreator-preferences-texteditor-completion.webp} {Completion tab in Text Editor preferences}
|
||||||
|
|
||||||
\sa {Completion}, {Edit Code}{How To: Edit Code}, {Edit Mode}
|
\sa {Completion}, {Edit Code}{How To: Edit Code}, {Edit Mode}
|
||||||
*/
|
*/
|
||||||
@@ -666,7 +666,7 @@
|
|||||||
> \uicontrol {Text Editor} > \uicontrol Behavior and select
|
> \uicontrol {Text Editor} > \uicontrol Behavior and select
|
||||||
\uicontrol {Enable smart selection changing}.
|
\uicontrol {Enable smart selection changing}.
|
||||||
|
|
||||||
\image qtcreator-preferences-texteditor-behavior.webp {Text Editor Behavior preferences}
|
\image {qtcreator-preferences-texteditor-behavior.webp} {Behavior tab in Text Editor preferences}
|
||||||
|
|
||||||
\sa {Edit Code}{How To: Edit Code}, {Edit Mode}
|
\sa {Edit Code}{How To: Edit Code}, {Edit Mode}
|
||||||
*/
|
*/
|
||||||
@@ -683,7 +683,7 @@
|
|||||||
later, create a new empty text file and save it to a temporary directory
|
later, create a new empty text file and save it to a temporary directory
|
||||||
on your machine.
|
on your machine.
|
||||||
|
|
||||||
\image qtcreator-scratch-buffer.webp {Scratch file open in the text editor}
|
\image {qtcreator-scratch-buffer.webp} {Scratch file open in the text editor}
|
||||||
|
|
||||||
To create a scratch file and open it in the text editor:
|
To create a scratch file and open it in the text editor:
|
||||||
|
|
||||||
@@ -713,7 +713,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol Environment > \uicontrol System.
|
\li Select \preferences > \uicontrol Environment > \uicontrol System.
|
||||||
\image qtcreator-preferences-environment-system.webp {System preferences}
|
\image {qtcreator-preferences-environment-system.webp} {System tab in Environment preferences}
|
||||||
\li In \uicontrol {Maximum number of entries in "Recent Files"}, set
|
\li In \uicontrol {Maximum number of entries in "Recent Files"}, set
|
||||||
the number of files to show.
|
the number of files to show.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -743,7 +743,7 @@
|
|||||||
\li Press \key {Ctrl+Shift+F} or go to \uicontrol Edit >
|
\li Press \key {Ctrl+Shift+F} or go to \uicontrol Edit >
|
||||||
\uicontrol {Find/Replace} > \uicontrol {Advanced Find} >
|
\uicontrol {Find/Replace} > \uicontrol {Advanced Find} >
|
||||||
\uicontrol {Open Advanced Find} to open \uicontrol {Search Results}.
|
\uicontrol {Open Advanced Find} to open \uicontrol {Search Results}.
|
||||||
\image qtcreator-search-reg-exp.webp {Regular expression in Search Results view}
|
\image {qtcreator-search-reg-exp.webp} {Regular expression in Search Results view}
|
||||||
\li In \uicontrol Scope, select whatever is appropriate for your search.
|
\li In \uicontrol Scope, select whatever is appropriate for your search.
|
||||||
\li Select \uicontrol {Use regular expressions}.
|
\li Select \uicontrol {Use regular expressions}.
|
||||||
\li Enter the following text in \uicontrol {Search for}:
|
\li Enter the following text in \uicontrol {Search for}:
|
||||||
@@ -751,7 +751,7 @@
|
|||||||
if \((.*) == (.*)\)
|
if \((.*) == (.*)\)
|
||||||
\endcode
|
\endcode
|
||||||
\li Select \uicontrol {Search & Replace} to see a list of search results.
|
\li Select \uicontrol {Search & Replace} to see a list of search results.
|
||||||
\image qtcreator-search-results-reg-exp.webp {Search results for the regular expression}
|
\image {qtcreator-search-results-reg-exp.webp} {Search results for the regular expression}
|
||||||
\li In \uicontrol {Replace with}, enter the following text:
|
\li In \uicontrol {Replace with}, enter the following text:
|
||||||
\badcode
|
\badcode
|
||||||
if (\1.strictlyEquals(\2))
|
if (\1.strictlyEquals(\2))
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
To open the log viewer and start collecting log information, select
|
To open the log viewer and start collecting log information, select
|
||||||
\uicontrol Tools > \uicontrol {Debug \QC} > \uicontrol {Show Logs}.
|
\uicontrol Tools > \uicontrol {Debug \QC} > \uicontrol {Show Logs}.
|
||||||
|
|
||||||
\image qtcreator-logging-category-viewer.png
|
\image {qtcreator-logging-category-viewer.png} {Logging Category Viewer dialog}
|
||||||
|
|
||||||
The viewer displays log messages from the selected logging categories.
|
The viewer displays log messages from the selected logging categories.
|
||||||
If you have logging rules defined, they might be listed on startup.
|
If you have logging rules defined, they might be listed on startup.
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
To create a connection to Squish Server:
|
To create a connection to Squish Server:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol Squish.
|
\li Select \preferences > \uicontrol Squish > \uicontrol General.
|
||||||
\image qtcreator-squish-preferences.png {Squish general preferences}
|
\image {qtcreator-squish-preferences.png} {General tab in Squish preferences}
|
||||||
\li In \uicontrol {Squish path}, specify the path to the Squish
|
\li In \uicontrol {Squish path}, specify the path to the Squish
|
||||||
installation directory.
|
installation directory.
|
||||||
\li In \uicontrol {License path}, specify the path to your
|
\li In \uicontrol {License path}, specify the path to your
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
To select applications to test using Squish, go to \uicontrol {Tools} >
|
To select applications to test using Squish, go to \uicontrol {Tools} >
|
||||||
\uicontrol {Squish} > \uicontrol {Server Settings}.
|
\uicontrol {Squish} > \uicontrol {Server Settings}.
|
||||||
|
|
||||||
\image qtcreator-squish-server-settings.png {Squish Server Settings}
|
\image {qtcreator-squish-server-settings.png} {Squish Server Settings dialog}
|
||||||
|
|
||||||
When running test suites or cases, the Squish Runner instructs the Squish
|
When running test suites or cases, the Squish Runner instructs the Squish
|
||||||
Server to start the application under test (AUT). The server can be running
|
Server to start the application under test (AUT). The server can be running
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
\uicontrol Add. In the \uicontrol {Add Attachable AUT} dialog, specify a
|
\uicontrol Add. In the \uicontrol {Add Attachable AUT} dialog, specify a
|
||||||
connection to a running application to register an attachable AUT.
|
connection to a running application to register an attachable AUT.
|
||||||
|
|
||||||
\image qtcreator-squish-server-settings-add-attachable-aut.png {Add Attachable AUT dialog}
|
\image {qtcreator-squish-server-settings-add-attachable-aut.png} {Add Attachable AUT dialog}
|
||||||
|
|
||||||
To change the connection to the selected AUT, select \uicontrol {Edit}.
|
To change the connection to the selected AUT, select \uicontrol {Edit}.
|
||||||
|
|
||||||
@@ -136,12 +136,12 @@
|
|||||||
Manage Squish test suites and cases in the \uicontrol Squish
|
Manage Squish test suites and cases in the \uicontrol Squish
|
||||||
\l {Show and hide sidebars}{sidebar view}.
|
\l {Show and hide sidebars}{sidebar view}.
|
||||||
|
|
||||||
\image qtcreator-squish-view.png {Squish sidebar view}
|
\image {qtcreator-squish-view.png} {Squish sidebar view}
|
||||||
|
|
||||||
To show existing test suites in \uicontrol {Test Suites}, select
|
To show existing test suites in \uicontrol {Test Suites}, select
|
||||||
\uicontrol {Open Squish Suites} in the context menu.
|
\uicontrol {Open Squish Suites} in the context menu.
|
||||||
|
|
||||||
\image qtcreator-squish-view-open-squish-suites.png {Open Squish Test Suites dialog}
|
\image {qtcreator-squish-view-open-squish-suites.png} {Open Squish Test Suites dialog}
|
||||||
|
|
||||||
To open the \uicontrol {Squish Test Suite} wizard for creating a new
|
To open the \uicontrol {Squish Test Suite} wizard for creating a new
|
||||||
test suite, select \uicontrol {Create New Test Suite} in the context
|
test suite, select \uicontrol {Create New Test Suite} in the context
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
application under test (AUT) that you selected for the test suite is
|
application under test (AUT) that you selected for the test suite is
|
||||||
displayed and you can start recording the test case.
|
displayed and you can start recording the test case.
|
||||||
|
|
||||||
\image qtcreator-squish-control-bar-record-test-case.png {Squish control bar for recording test cases}
|
\image {qtcreator-squish-control-bar-record-test-case.png} {Squish control bar for recording test cases}
|
||||||
|
|
||||||
When you are done, select the \inlineimage icons/stop_small.png
|
When you are done, select the \inlineimage icons/stop_small.png
|
||||||
(\uicontrol {Stop}) button in the \uicontrol {Control Bar}.
|
(\uicontrol {Stop}) button in the \uicontrol {Control Bar}.
|
||||||
@@ -178,7 +178,7 @@
|
|||||||
Edit recorded test scripts or copy parts of them into manually
|
Edit recorded test scripts or copy parts of them into manually
|
||||||
created test scripts.
|
created test scripts.
|
||||||
|
|
||||||
\image qtcreator-squish-test-script-edit.png {A test script open in the editor}
|
\image {qtcreator-squish-test-script-edit.png} {A test script open in the editor}
|
||||||
|
|
||||||
\section1 Run test suites
|
\section1 Run test suites
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
To run a test case, select the \inlineimage icons/run_small.png
|
To run a test case, select the \inlineimage icons/run_small.png
|
||||||
(\uicontrol {Run}) button next to the test case in \uicontrol {Test Suites}.
|
(\uicontrol {Run}) button next to the test case in \uicontrol {Test Suites}.
|
||||||
|
|
||||||
\image qtcreator-squish-control-bar-run-test-case.png {Squish control bar for running test cases}
|
\image {qtcreator-squish-control-bar-run-test-case.png} {Squish control bar for running test cases}
|
||||||
|
|
||||||
While the test is running, you can view test results as well as interrupt and
|
While the test is running, you can view test results as well as interrupt and
|
||||||
stop tests in the \uicontrol {Control Bar}.
|
stop tests in the \uicontrol {Control Bar}.
|
||||||
@@ -216,7 +216,7 @@
|
|||||||
(\uicontrol {Object Map}) button next to the test
|
(\uicontrol {Object Map}) button next to the test
|
||||||
suite in \uicontrol {Test Suites}.
|
suite in \uicontrol {Test Suites}.
|
||||||
|
|
||||||
\image qtcreator-squish-symbolic-names.png {Symbolic Names view}
|
\image {qtcreator-squish-symbolic-names.png} {Symbolic Names view}
|
||||||
|
|
||||||
You can filter the symbolic names in the \uicontrol {Symbolic Names} view.
|
You can filter the symbolic names in the \uicontrol {Symbolic Names} view.
|
||||||
To edit a symbolic name or the names or values of its properties,
|
To edit a symbolic name or the names or values of its properties,
|
||||||
@@ -239,13 +239,13 @@
|
|||||||
inspect the contents of local variables in the \uicontrol {Squish Locals}
|
inspect the contents of local variables in the \uicontrol {Squish Locals}
|
||||||
view.
|
view.
|
||||||
|
|
||||||
\image qtcreator-squish-locals.png {Squish Locals view}
|
\image {qtcreator-squish-locals.png} {Squish Locals view}
|
||||||
|
|
||||||
Use the \uicontrol {Step Into}, \uicontrol {Step Over}, and
|
Use the \uicontrol {Step Into}, \uicontrol {Step Over}, and
|
||||||
\uicontrol {Step Out} buttons in the \uicontrol Squish debugging
|
\uicontrol {Step Out} buttons in the \uicontrol Squish debugging
|
||||||
view to step through the code.
|
view to step through the code.
|
||||||
|
|
||||||
\image qtcreator-squish-debugging-view.png {Squish debugging view}
|
\image{ qtcreator-squish-debugging-view.png} {Squish debugging view}
|
||||||
|
|
||||||
\sa {Connect to Squish Server}, {Create Squish test suites},
|
\sa {Connect to Squish Server}, {Create Squish test suites},
|
||||||
{Enable and disable plugins}, {Select Squish AUTs}, {Squish}
|
{Enable and disable plugins}, {Select Squish AUTs}, {Squish}
|
||||||
@@ -265,24 +265,24 @@
|
|||||||
\li Go to \uicontrol File > \uicontrol {New Project}.
|
\li Go to \uicontrol File > \uicontrol {New Project}.
|
||||||
\li Select \uicontrol {Squish} > \uicontrol {Squish Test Suite} >
|
\li Select \uicontrol {Squish} > \uicontrol {Squish Test Suite} >
|
||||||
\uicontrol Choose.
|
\uicontrol Choose.
|
||||||
\image qtcreator-squish-create-test-suite.png {Create Squish Test Suite wizard}
|
\image {qtcreator-squish-create-test-suite.png} {Create Squish Test Suite wizard}
|
||||||
\li On the \uicontrol {Location} page, in \uicontrol {Test Suite Name},
|
\li On the \uicontrol {Location} page, in \uicontrol {Test Suite Name},
|
||||||
enter a name for the test suite.
|
enter a name for the test suite.
|
||||||
\image qtcreator-squish-create-test-suite-location.png {Location page}
|
\image {qtcreator-squish-create-test-suite-location.png} {Location page}
|
||||||
\li In \uicontrol {Test Suite folder's parent folder}, enter the path to
|
\li In \uicontrol {Test Suite folder's parent folder}, enter the path to
|
||||||
the folder to create the test suite folder, and then select
|
the folder to create the test suite folder, and then select
|
||||||
\uicontrol Next.
|
\uicontrol Next.
|
||||||
\li On the \uicontrol Setup page, select the GUI toolkit used by the
|
\li On the \uicontrol Setup page, select the GUI toolkit used by the
|
||||||
application under test (AUT), and then select \uicontrol Next.
|
application under test (AUT), and then select \uicontrol Next.
|
||||||
\image qtcreator-squish-create-test-suite-setup.png {Setup page}
|
\image {qtcreator-squish-create-test-suite-setup.png} {Setup page}
|
||||||
Currently, only desktop GUI toolkits are supported.
|
Currently, only desktop GUI toolkits are supported.
|
||||||
\li On the \uicontrol {Script Language} page, select the scripting
|
\li On the \uicontrol {Script Language} page, select the scripting
|
||||||
language to use for the test suite's test scripts, and then select
|
language to use for the test suite's test scripts, and then select
|
||||||
\uicontrol Next.
|
\uicontrol Next.
|
||||||
\image qtcreator-squish-create-test-suite-language.png {Languages page}
|
\image {qtcreator-squish-create-test-suite-language.png} {Languages page}
|
||||||
\li On the \uicontrol {AUT} page, select the AUT to test, and then select
|
\li On the \uicontrol {AUT} page, select the AUT to test, and then select
|
||||||
\uicontrol Next.
|
\uicontrol Next.
|
||||||
\image qtcreator-squish-create-test-suite-aut.png {AUT page}
|
\image {qtcreator-squish-create-test-suite-aut.png} {AUT page}
|
||||||
\li On the \uicontrol {Summary} page, review the test suite settings, and
|
\li On the \uicontrol {Summary} page, review the test suite settings, and
|
||||||
then select \uicontrol Finish to create the test suite.
|
then select \uicontrol Finish to create the test suite.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -312,7 +312,7 @@
|
|||||||
To view the test log, go to the \uicontrol Squish output,
|
To view the test log, go to the \uicontrol Squish output,
|
||||||
\uicontrol {Test Results} tab.
|
\uicontrol {Test Results} tab.
|
||||||
|
|
||||||
\image qtcreator-squish-output-test-results.png {Test Results output}
|
\image {qtcreator-squish-output-test-results.png} {Test Results output}
|
||||||
|
|
||||||
The \uicontrol Result column displays the time when each test run started
|
The \uicontrol Result column displays the time when each test run started
|
||||||
and finished, log information and warnings, and test result status:
|
and finished, log information and warnings, and test result status:
|
||||||
@@ -336,7 +336,7 @@
|
|||||||
To view the Squish Runner and Server logs, go to the \uicontrol Squish
|
To view the Squish Runner and Server logs, go to the \uicontrol Squish
|
||||||
output, \uicontrol {Runner/Server Log} tab.
|
output, \uicontrol {Runner/Server Log} tab.
|
||||||
|
|
||||||
\image qtcreator-squish-output-runner-server-log.png {Runner and Server Log output}
|
\image {qtcreator-squish-output-runner-server-log.png} {Runner and Server Log output}
|
||||||
|
|
||||||
\sa {Connect to Squish Server}, {Create Squish test suites},
|
\sa {Connect to Squish Server}, {Create Squish test suites},
|
||||||
{Enable and disable plugins}, {Manage Squish test suites and cases},
|
{Enable and disable plugins}, {Manage Squish test suites and cases},
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
\uicontrol Telemetry > \uicontrol {Usage Statistics}, and then select
|
\uicontrol Telemetry > \uicontrol {Usage Statistics}, and then select
|
||||||
\uicontrol {Send pseudonymous usage statistics}.
|
\uicontrol {Send pseudonymous usage statistics}.
|
||||||
|
|
||||||
\image qtcreator-preferences-telemetry-usage-statistics.webp {Usage Statistics}
|
\image {qtcreator-preferences-telemetry-usage-statistics.webp} {Usage Statistics tab in Telemetry preferences}
|
||||||
|
|
||||||
\sa {Installation}
|
\sa {Installation}
|
||||||
*/
|
*/
|
||||||
|
@@ -26,12 +26,12 @@
|
|||||||
automatic setup, select \preferences > \uicontrol CMake > \uicontrol General
|
automatic setup, select \preferences > \uicontrol CMake > \uicontrol General
|
||||||
> \uicontrol {Package manager auto setup}.
|
> \uicontrol {Package manager auto setup}.
|
||||||
|
|
||||||
\image qtcreator-preferences-cmake-general.webp {General tab in CMake Preferences}
|
\image {qtcreator-preferences-cmake-general.webp} {General tab in CMake preferences}
|
||||||
|
|
||||||
To set the \uicontrol Path to the directory where you installed vcpkg, select
|
To set the \uicontrol Path to the directory where you installed vcpkg, select
|
||||||
\preferences > \uicontrol CMake > \uicontrol Vcpkg.
|
\preferences > \uicontrol CMake > \uicontrol Vcpkg.
|
||||||
|
|
||||||
\image qtcreator-preferences-cmake-vcpkg.webp {Vcpkg tab in CMake Preferences}
|
\image {qtcreator-preferences-cmake-vcpkg.webp} {Vcpkg tab in CMake preferences}
|
||||||
|
|
||||||
Select \inlineimage icons/online.png
|
Select \inlineimage icons/online.png
|
||||||
to download vcpkg if you have not installed it yet.
|
to download vcpkg if you have not installed it yet.
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
\li In \uicontrol Path, enter the path for the manifest file.
|
\li In \uicontrol Path, enter the path for the manifest file.
|
||||||
\li Select \uicontrol Next to open the
|
\li Select \uicontrol Next to open the
|
||||||
\uicontrol {vcpkg.json Manifest File} dialog.
|
\uicontrol {vcpkg.json Manifest File} dialog.
|
||||||
\image qtcreator-file-new-file-vcpkg-manifest-file.webp {vcpkg.json Manifest File dialog}
|
\image {qtcreator-file-new-file-vcpkg-manifest-file.webp} {vcpkg.json Manifest File dialog}
|
||||||
\li In \uicontrol Name, enter a name for the manifest file.
|
\li In \uicontrol Name, enter a name for the manifest file.
|
||||||
\li In \uicontrol {Version string}, enter a version number for the file.
|
\li In \uicontrol {Version string}, enter a version number for the file.
|
||||||
\li In \uicontrol Dependencies, enter the packages to manage.
|
\li In \uicontrol Dependencies, enter the packages to manage.
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
When you open a vcpkg.json file, it opens in the manifest file editor:
|
When you open a vcpkg.json file, it opens in the manifest file editor:
|
||||||
|
|
||||||
\image qtcreator-vcpkg-manifest-file-editor.webp {vcpkg.json file in the manifest file editor}
|
\image {qtcreator-vcpkg-manifest-file-editor.webp} {vcpkg.json file in the manifest file editor}
|
||||||
|
|
||||||
\section1 Add packages to manage
|
\section1 Add packages to manage
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
\li Select the \inlineimage icons/vcpkg.png
|
\li Select the \inlineimage icons/vcpkg.png
|
||||||
(\uicontrol {Add vcpkg Package}) button on the manifest editor
|
(\uicontrol {Add vcpkg Package}) button on the manifest editor
|
||||||
toolbar.
|
toolbar.
|
||||||
\image qtcreator-vcpkg-package-selector.webp {Add vcpkg Package dialog}
|
\image {qtcreator-vcpkg-package-selector.webp} {Add vcpkg Package dialog}
|
||||||
\li Select the package to add to your project.
|
\li Select the package to add to your project.
|
||||||
\li Select \uicontrol OK to return to the editor.
|
\li Select \uicontrol OK to return to the editor.
|
||||||
\li Repeat to add more packages.
|
\li Repeat to add more packages.
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select the \inlineimage icons/cmake.png (\uicontrol {CMake Code})
|
\li Select the \inlineimage icons/cmake.png (\uicontrol {CMake Code})
|
||||||
button on the manifest editor toolbar.
|
button on the manifest editor toolbar.
|
||||||
\image qtcreator-vcpkg-cmake-config.webp {CMake Code dialog}
|
\image {qtcreator-vcpkg-cmake-config.webp} {CMake Code dialog}
|
||||||
\li Select the example code you need and copy-paste it to the
|
\li Select the example code you need and copy-paste it to the
|
||||||
CMakeLists.txt file.
|
CMakeLists.txt file.
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
To manage sessions, select \uicontrol File > \uicontrol Sessions > \uicontrol Manage.
|
To manage sessions, select \uicontrol File > \uicontrol Sessions > \uicontrol Manage.
|
||||||
|
|
||||||
\image qtcreator-session-manager.png {Session Manager}
|
\image {qtcreator-session-manager.png} {Session Manager}
|
||||||
|
|
||||||
To save a session under a new name, select \uicontrol Clone.
|
To save a session under a new name, select \uicontrol Clone.
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
\key Ctrl+Alt+<number>, where \e <number> is the number of the session to
|
\key Ctrl+Alt+<number>, where \e <number> is the number of the session to
|
||||||
open (available for the first nine sessions).
|
open (available for the first nine sessions).
|
||||||
|
|
||||||
\image qtcreator-welcome-session.webp {Sessions in the Welcome mode}
|
\image {qtcreator-welcome-session.webp} {Sessions in the Welcome mode}
|
||||||
|
|
||||||
To view more information about a session, select the down arrow icon that
|
To view more information about a session, select the down arrow icon that
|
||||||
appears when you move the mouse cursor over the session name. Select actions
|
appears when you move the mouse cursor over the session name. Select actions
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
\uicontrol {IncrediBuild for Linux} or
|
\uicontrol {IncrediBuild for Linux} or
|
||||||
\uicontrol {IncrediBuild for Windows}.
|
\uicontrol {IncrediBuild for Windows}.
|
||||||
|
|
||||||
\image qtcreator-incredibuild-build-steps-general.png
|
\image {qtcreator-incredibuild-build-steps-general.png} {IncrediBuild build steps}
|
||||||
|
|
||||||
IncrediBuild automatically detects the build step by iterating over the
|
IncrediBuild automatically detects the build step by iterating over the
|
||||||
build steps you already defined. The initial build step settings will
|
build steps you already defined. The initial build step settings will
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
\section2 Distribution Control Settings on Linux
|
\section2 Distribution Control Settings on Linux
|
||||||
|
|
||||||
\image qtcreator-incredibuild-build-steps-linux.png
|
\image {qtcreator-incredibuild-build-steps-linux.png} {IncrediBuild build steps for Linux}
|
||||||
|
|
||||||
You can specify the following settings for Linux builds:
|
You can specify the following settings for Linux builds:
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
\section2 Distribution Control Settings on Windows
|
\section2 Distribution Control Settings on Windows
|
||||||
|
|
||||||
\image qtcreator-incredibuild-build-steps-windows.png
|
\image {qtcreator-incredibuild-build-steps-windows.png} {IncrediBuild build steps for Windows}
|
||||||
|
|
||||||
You can specify the following settings for Windows builds:
|
You can specify the following settings for Windows builds:
|
||||||
|
|
||||||
|
@@ -99,14 +99,14 @@
|
|||||||
\li Go to \uicontrol Projects > \uicontrol {Build & Run} to select
|
\li Go to \uicontrol Projects > \uicontrol {Build & Run} to select
|
||||||
the kit for building applications for and running them on iOS.
|
the kit for building applications for and running them on iOS.
|
||||||
|
|
||||||
\image qtcreator-ios-add-kit.png "Build & Run Settings"
|
\image {qtcreator-ios-add-kit.png} {iOS kit selected for a project in Build & Run}
|
||||||
|
|
||||||
\li In \uicontrol {iOS Settings}, select the development team to use
|
\li In \uicontrol {iOS Settings}, select the development team to use
|
||||||
for signing and provisioning applications. You must configure
|
for signing and provisioning applications. You must configure
|
||||||
development teams and provisioning profiles in Xcode using an
|
development teams and provisioning profiles in Xcode using an
|
||||||
Apple developer account.
|
Apple developer account.
|
||||||
|
|
||||||
\image qtcreator-build-settings-ios.png "iOS build settings"
|
\image {qtcreator-build-settings-ios.png} {iOS build settings}
|
||||||
|
|
||||||
\li Select \uicontrol {Automatically manage signing}
|
\li Select \uicontrol {Automatically manage signing}
|
||||||
to automatically select the provisioning profile and signing
|
to automatically select the provisioning profile and signing
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
To view information about the connected device, go to \uicontrol Preferences >
|
To view information about the connected device, go to \uicontrol Preferences >
|
||||||
\uicontrol Devices.
|
\uicontrol Devices.
|
||||||
|
|
||||||
\image qtcreator-ios-device-configurations.png {Devices dialog}
|
\image {qtcreator-ios-device-configurations.png} {Devices tab in Devices preferences}
|
||||||
|
|
||||||
If the current device state is \uicontrol Connected, (the traffic light icon is
|
If the current device state is \uicontrol Connected, (the traffic light icon is
|
||||||
orange), you need to configure the device using Xcode.
|
orange), you need to configure the device using Xcode.
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
settings for the project. Go to \uicontrol Projects > \uicontrol Run, and then select
|
settings for the project. Go to \uicontrol Projects > \uicontrol Run, and then select
|
||||||
the device to simulate in the \uicontrol {Device type} field.
|
the device to simulate in the \uicontrol {Device type} field.
|
||||||
|
|
||||||
\image qtcreator-ios-simulator-deploy.png
|
\image {qtcreator-ios-simulator-deploy.png} {Deployment settings for iOS Simulator}
|
||||||
|
|
||||||
The simulator starts automatically when you run the application.
|
The simulator starts automatically when you run the application.
|
||||||
To start the simulator manually, either start the Simulator application
|
To start the simulator manually, either start the Simulator application
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
\uicontrol \B2Q device type to build applications for and run them on
|
\uicontrol \B2Q device type to build applications for and run them on
|
||||||
the devices.
|
the devices.
|
||||||
|
|
||||||
\image qtcreator-boot2qt-device-configurations.webp {Devices tab in Preferences}
|
\image {qtcreator-boot2qt-device-configurations.webp} {Devices tab in Devices preferences}
|
||||||
|
|
||||||
\include linuxdev.qdoc openssh
|
\include linuxdev.qdoc openssh
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
applications.
|
applications.
|
||||||
\li Go to \uicontrol Tools > \uicontrol {Flash \B2Q}
|
\li Go to \uicontrol Tools > \uicontrol {Flash \B2Q}
|
||||||
to flash the \B2Q image to an SD card with \B2Q Flashing Wizard.
|
to flash the \B2Q image to an SD card with \B2Q Flashing Wizard.
|
||||||
\image qtcreator-boot2qt-flashing-wizard.png {\B2Q Flashing Wizard}
|
\image {qtcreator-boot2qt-flashing-wizard.png} {\B2Q Flashing Wizard}
|
||||||
\li Follow the instructions of the wizard to flash the image to the SD
|
\li Follow the instructions of the wizard to flash the image to the SD
|
||||||
card.
|
card.
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
||||||
@@ -111,10 +111,10 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
||||||
\image qtcreator-boot2qt-device-configurations.webp {Devices tab in Preferences}
|
\image {qtcreator-boot2qt-device-configurations.webp} {Devices tab in Devices preferences}
|
||||||
\li Select \uicontrol Add > \uicontrol {Boot2Qt Device} to create
|
\li Select \uicontrol Add > \uicontrol {Boot2Qt Device} to create
|
||||||
a network connection to the device.
|
a network connection to the device.
|
||||||
\image qtcreator-devices-boot2qt.png {Boot to Qt Network Device Setup wizard}
|
\image {qtcreator-devices-boot2qt.png} {Boot to Qt Network Device Setup wizard}
|
||||||
\li In \uicontrol {Device name}, enter a name for the connection.
|
\li In \uicontrol {Device name}, enter a name for the connection.
|
||||||
\li In \uicontrol {Device address}, enter the host
|
\li In \uicontrol {Device address}, enter the host
|
||||||
name or IP address of the device. This value becomes the value of the
|
name or IP address of the device. This value becomes the value of the
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
{\B2Q} devices in the project configuration file and in \uicontrol Projects
|
{\B2Q} devices in the project configuration file and in \uicontrol Projects
|
||||||
> \uicontrol {Run Settings} > \uicontrol Deployment.
|
> \uicontrol {Run Settings} > \uicontrol Deployment.
|
||||||
|
|
||||||
\image qtcreator-boot2qt-deployment-steps.png {Boot to Qt deployment steps}
|
\image {qtcreator-boot2qt-deployment-steps.png} {Boot to Qt deployment steps in Run Settings}
|
||||||
|
|
||||||
The deployment process is described in more detail in
|
The deployment process is described in more detail in
|
||||||
\l{Remote Linux Deploy Configuration}.
|
\l{Remote Linux Deploy Configuration}.
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
Linux devices in the project configuration file and in \uicontrol Projects >
|
Linux devices in the project configuration file and in \uicontrol Projects >
|
||||||
\uicontrol {Run Settings} > \uicontrol Deployment.
|
\uicontrol {Run Settings} > \uicontrol Deployment.
|
||||||
|
|
||||||
\image qtcreator-embedded-linux-deployment-details.png "Deploy to remote Linux devices"
|
\image {qtcreator-embedded-linux-deployment-details.png} {Deployment to remote Linux devices}
|
||||||
|
|
||||||
The files to be installed are listed in the \uicontrol {Deployment} step,
|
The files to be installed are listed in the \uicontrol {Deployment} step,
|
||||||
the \uicontrol {Files to deploy} field. The \uicontrol {Source File Path}
|
the \uicontrol {Files to deploy} field. The \uicontrol {Source File Path}
|
||||||
|
@@ -21,12 +21,12 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol VxWorks.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol VxWorks.
|
||||||
\image qtcreator-preferences-devices-vxworks.webp {VxWorks Preferences}
|
\image {qtcreator-preferences-devices-vxworks.webp} {VxWorks tab in Devices preferences}
|
||||||
\li In \uicontrol {VxWorks installation folder}, select the directory
|
\li In \uicontrol {VxWorks installation folder}, select the directory
|
||||||
where the WindRiver installer installed VxWorks.
|
where the WindRiver installer installed VxWorks.
|
||||||
\li Select \uicontrol {Add Kit}.
|
\li Select \uicontrol {Add Kit}.
|
||||||
\li In \uicontrol {Kit name}, enter a name for the kit.
|
\li In \uicontrol {Kit name}, enter a name for the kit.
|
||||||
\image qtcreator-create-new-kit-vxworks.webp {Create New Kit dialog}
|
\image {qtcreator-create-new-kit-vxworks.webp} {Create New Kit dialog}
|
||||||
\li In \uicontrol {Qt version}, select the folder that contains qmake for
|
\li In \uicontrol {Qt version}, select the folder that contains qmake for
|
||||||
the Qt VxWorks build.
|
the Qt VxWorks build.
|
||||||
\li In \uicontrol {VBS path}, enter the path to the VxWorks VSB directory.
|
\li In \uicontrol {VBS path}, enter the path to the VxWorks VSB directory.
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
command in the \uicontrol {Alternate executable on device} field and select the
|
command in the \uicontrol {Alternate executable on device} field and select the
|
||||||
\uicontrol {Use this command instead} check box.
|
\uicontrol {Use this command instead} check box.
|
||||||
|
|
||||||
\image qtcreator-run-settings-remote-linux.webp {Run settings for Linux-based devices}
|
\image {qtcreator-run-settings-remote-linux.webp} {Run settings for Linux-based devices}
|
||||||
|
|
||||||
You can specify arguments to pass to your application in the
|
You can specify arguments to pass to your application in the
|
||||||
\uicontrol {Command line arguments} field.
|
\uicontrol {Command line arguments} field.
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol SSH.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol SSH.
|
||||||
\image qtcreator-ssh-options.png "SSH preferences"
|
\image {qtcreator-ssh-options.png} {SSH tab in Devices preferences}
|
||||||
\li Clear \uicontrol {Enable connection sharing} to
|
\li Clear \uicontrol {Enable connection sharing} to
|
||||||
create a new SSH connection for each deploy and run procedure. This
|
create a new SSH connection for each deploy and run procedure. This
|
||||||
option is grayed on Windows, where connection sharing is not
|
option is grayed on Windows, where connection sharing is not
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices
|
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices
|
||||||
\li Select \uicontrol {Create New}.
|
\li Select \uicontrol {Create New}.
|
||||||
\image qtcreator-ssh-key-configuration.png {SSH Key Configuration dialog}
|
\image {qtcreator-ssh-key-configuration.png} {SSH Key Configuration dialog}
|
||||||
\li In \uicontrol {Private key file}, select the location to save
|
\li In \uicontrol {Private key file}, select the location to save
|
||||||
the private key.
|
the private key.
|
||||||
\uicontrol {Public key file} displays the location to save the
|
\uicontrol {Public key file} displays the location to save the
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
||||||
\li Select an embedded device.
|
\li Select an embedded device.
|
||||||
\image qtcreator-preferences-devices-remote-linux.webp {Remote Linux Device in Devices}
|
\image {qtcreator-preferences-devices-remote-linux.webp} {Remote Linux device in the Devices tab in Devices preferences}
|
||||||
\li Select \uicontrol {Show Running Processes}.
|
\li Select \uicontrol {Show Running Processes}.
|
||||||
\li Filter the processes by name or ID.
|
\li Filter the processes by name or ID.
|
||||||
\li To update the process list, select \uicontrol {Update List}.
|
\li To update the process list, select \uicontrol {Update List}.
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
Use a wizard to connect remote Linux devices to the computer. You can edit
|
Use a wizard to connect remote Linux devices to the computer. You can edit
|
||||||
the settings later in \preferences > \uicontrol Devices > \uicontrol Devices.
|
the settings later in \preferences > \uicontrol Devices > \uicontrol Devices.
|
||||||
|
|
||||||
\image qtcreator-preferences-devices-remote-linux.webp {Remote Linux Device in Devices}
|
\image {qtcreator-preferences-devices-remote-linux.webp} {Remote Linux device in the Devices tab in Devices preferences}
|
||||||
|
|
||||||
//! [openssh]
|
//! [openssh]
|
||||||
\section1 Protecting Device Connections
|
\section1 Protecting Device Connections
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
\uicontrol {Connection sharing timeout} field. Windows does not support
|
\uicontrol {Connection sharing timeout} field. Windows does not support
|
||||||
shared connections.
|
shared connections.
|
||||||
|
|
||||||
\image qtcreator-ssh-options.png {SSH preferences}
|
\image {qtcreator-ssh-options.png} {SSH tab in Devices preferences}
|
||||||
//! [openssh]
|
//! [openssh]
|
||||||
|
|
||||||
\sa {Add Docker devices}, {Remote Linux}{How To: Develop for remote Linux},
|
\sa {Add Docker devices}, {Remote Linux}{How To: Develop for remote Linux},
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
Create connections between generic Linux devices and \QC to run, debug, and
|
Create connections between generic Linux devices and \QC to run, debug, and
|
||||||
analyze applications on them.
|
analyze applications on them.
|
||||||
|
|
||||||
\image qtcreator-preferences-devices-remote-linux.webp {Remote Linux Device in Devices}
|
\image {qtcreator-preferences-devices-remote-linux.webp} {Remote Linux device in the Devices tab in Devices preferences}
|
||||||
\caption Remote Linux Device preferences
|
\caption Remote Linux Device preferences
|
||||||
|
|
||||||
\include qtcreator-add-linux-device.qdocinc {add linux device} {Remote Linux Device}
|
\include qtcreator-add-linux-device.qdocinc {add linux device} {Remote Linux Device}
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
\li Go to \preferences > \uicontrol Devices > \uicontrol Devices.
|
||||||
\li Select \uicontrol Add > \uicontrol {\1} > \uicontrol {Start Wizard}.
|
\li Select \uicontrol Add > \uicontrol {\1} > \uicontrol {Start Wizard}.
|
||||||
\image qtcreator-preferences-devices-remote-linux-connection.webp {Connection Data wizard}
|
\image {qtcreator-preferences-devices-remote-linux-connection.webp} {Connection Data wizard}
|
||||||
\li In \uicontrol {The name to identify this configuration},
|
\li In \uicontrol {The name to identify this configuration},
|
||||||
enter a name for the connection.
|
enter a name for the connection.
|
||||||
\li In \uicontrol {The device's host name or IP address},
|
\li In \uicontrol {The device's host name or IP address},
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
becomes the value of the \c %{Device:UserName} variable.
|
becomes the value of the \c %{Device:UserName} variable.
|
||||||
\li Select \uicontrol {Next} to open the \uicontrol {Key Deployment}
|
\li Select \uicontrol {Next} to open the \uicontrol {Key Deployment}
|
||||||
dialog.
|
dialog.
|
||||||
\image qtcreator-preferences-devices-remote-linux-key-deployment.webp {Key Deployment dialog}
|
\image {qtcreator-preferences-devices-remote-linux-key-deployment.webp} {Key Deployment dialog}
|
||||||
\li In \uicontrol {Private key file}, select a private key file
|
\li In \uicontrol {Private key file}, select a private key file
|
||||||
for authentication. This becomes the value of the
|
for authentication. This becomes the value of the
|
||||||
\c %{Device:PrivateKeyFile} variable.
|
\c %{Device:PrivateKeyFile} variable.
|
||||||
|
@@ -125,7 +125,7 @@
|
|||||||
\li Go to \preferences > \uicontrol SDKs > \uicontrol MCU.
|
\li Go to \preferences > \uicontrol SDKs > \uicontrol MCU.
|
||||||
\li In \uicontrol {\QMCU SDK}, specify the path to the directory where
|
\li In \uicontrol {\QMCU SDK}, specify the path to the directory where
|
||||||
you installed \QMCU SDK.
|
you installed \QMCU SDK.
|
||||||
\image qtcreator-preferences-mcu.webp {MCU preferences}
|
\image {qtcreator-preferences-mcu.webp} {MCU tab in SDKs preferences}
|
||||||
\li In \uicontrol {Targets supported by the \QMCU SDK}, select your MCU
|
\li In \uicontrol {Targets supported by the \QMCU SDK}, select your MCU
|
||||||
board.
|
board.
|
||||||
\li In \uicontrol Requirements, check that the platform-specific
|
\li In \uicontrol Requirements, check that the platform-specific
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
\uicontrol Apply in \preferences > \uicontrol SDKs > \uicontrol MCU after
|
\uicontrol Apply in \preferences > \uicontrol SDKs > \uicontrol MCU after
|
||||||
adding an SDK.
|
adding an SDK.
|
||||||
|
|
||||||
\image qtcreator-mcu-device.webp {MCU devices}
|
\image {qtcreator-mcu-device.webp} {MCU device in the Devices tab in Devices preferences}
|
||||||
|
|
||||||
To add MCU devices, select \preferences > \uicontrol Devices > \uicontrol Add
|
To add MCU devices, select \preferences > \uicontrol Devices > \uicontrol Add
|
||||||
> \uicontrol {MCU Device} > \uicontrol {Start Wizard}:
|
> \uicontrol {MCU Device} > \uicontrol {Start Wizard}:
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
in \preferences > \uicontrol SDKs > \uicontrol MCU. This setting is selected
|
in \preferences > \uicontrol SDKs > \uicontrol MCU. This setting is selected
|
||||||
by default.
|
by default.
|
||||||
|
|
||||||
\image qtcreator-mcu-new-kit.webp {Automatically create MCU kits}
|
\image {qtcreator-mcu-new-kit.webp} {Automatically create MCU kits in the MCU tab in SDKs preferences}
|
||||||
|
|
||||||
\note When you update the \QMCU SDK, \QC asks you whether you want to replace
|
\note When you update the \QMCU SDK, \QC asks you whether you want to replace
|
||||||
the existing kits or create additional kits. To do this manually for each
|
the existing kits or create additional kits. To do this manually for each
|
||||||
@@ -232,7 +232,7 @@
|
|||||||
|
|
||||||
To change or remove individual kits, go to \preferences > \uicontrol Kits.
|
To change or remove individual kits, go to \preferences > \uicontrol Kits.
|
||||||
|
|
||||||
\image qtcreator-preferences-kits-mcu.webp {MCU kit}
|
\image {qtcreator-preferences-kits-mcu.webp} {MCU kit in the Kits tab in Kits preferences}
|
||||||
|
|
||||||
The \uicontrol {MCU dependencies} field displays paths to 3rd party
|
The \uicontrol {MCU dependencies} field displays paths to 3rd party
|
||||||
software required for MCU development with the current kit.
|
software required for MCU development with the current kit.
|
||||||
@@ -260,7 +260,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Go to \uicontrol File > \uicontrol {New Project}.
|
\li Go to \uicontrol File > \uicontrol {New Project}.
|
||||||
\image qtcreator-mcu-new-project.webp {New Project dialog}
|
\image {qtcreator-mcu-new-project.webp} {New Project dialog}
|
||||||
\li Select \uicontrol {QmlProject Application (\QMCU)} >
|
\li Select \uicontrol {QmlProject Application (\QMCU)} >
|
||||||
\uicontrol {Qt for MCUs Empty Application} or
|
\uicontrol {Qt for MCUs Empty Application} or
|
||||||
\uicontrol {Qt for MCUs Example Application} > \uicontrol Choose.
|
\uicontrol {Qt for MCUs Example Application} > \uicontrol Choose.
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
\uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build >
|
\uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build >
|
||||||
\uicontrol {Build Settings}.
|
\uicontrol {Build Settings}.
|
||||||
|
|
||||||
\image qtcreator-meson-build-settings.png {Meson build settings}
|
\image {qtcreator-meson-build-settings.png} {Meson build settings}
|
||||||
|
|
||||||
Meson builds projects in the directory specified in the
|
Meson builds projects in the directory specified in the
|
||||||
\uicontrol {Build directory} field.
|
\uicontrol {Build directory} field.
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
You can add arguments and targets for the build command in
|
You can add arguments and targets for the build command in
|
||||||
\uicontrol {Build Steps}.
|
\uicontrol {Build Steps}.
|
||||||
|
|
||||||
\image qtcreator-meson-build-steps.png {Meson build steps}
|
\image {qtcreator-meson-build-steps.png} {Meson build steps}
|
||||||
|
|
||||||
The build errors and warnings are parsed and displayed in \l Issues.
|
The build errors and warnings are parsed and displayed in \l Issues.
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
When building with Meson, you can add arguments and targets for the clean
|
When building with Meson, you can add arguments and targets for the clean
|
||||||
command in \uicontrol {Clean Steps}.
|
command in \uicontrol {Clean Steps}.
|
||||||
|
|
||||||
\image qtcreator-meson-clean-steps.png {Meson clean steps}
|
\image {qtcreator-meson-clean-steps.png} {Meson clean steps}
|
||||||
|
|
||||||
The build errors and warnings are parsed and displayed in \uicontrol Issues.
|
The build errors and warnings are parsed and displayed in \uicontrol Issues.
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
\li Select \preferences > \uicontrol Meson >
|
\li Select \preferences > \uicontrol Meson >
|
||||||
\uicontrol Tools > \uicontrol Add.
|
\uicontrol Tools > \uicontrol Add.
|
||||||
|
|
||||||
\image qtcreator-mesonexecutable.png
|
\image {qtcreator-mesonexecutable.png} {Tools tab in the Meson preferences}
|
||||||
|
|
||||||
\li In the \uicontrol Name field, specify a name for the tool.
|
\li In the \uicontrol Name field, specify a name for the tool.
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
\preferences > \uicontrol Kits > \uicontrol Kits
|
\preferences > \uicontrol Kits > \uicontrol Kits
|
||||||
tab to add the Meson tools to a build and run kit:
|
tab to add the Meson tools to a build and run kit:
|
||||||
|
|
||||||
\image qtcreator-kits-meson.png "Setting Meson executable in Kit preferences"
|
\image {qtcreator-kits-meson.png} {Setting the Meson executable in the Kits tab in Kits preferences}
|
||||||
|
|
||||||
For more information, see \l {Kits}.
|
For more information, see \l {Kits}.
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
To view all \QC functions and their keyboard shortcuts, select
|
To view all \QC functions and their keyboard shortcuts, select
|
||||||
\preferences > \uicontrol Environment > \uicontrol Keyboard.
|
\preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||||
|
|
||||||
\image qtcreator-keyboard-shortcuts.png
|
\image {qtcreator-keyboard-shortcuts.png} {Keyboard tab in Environment preferences}
|
||||||
|
|
||||||
The tables in this topic list the default keyboard shortcuts. They are
|
The tables in this topic list the default keyboard shortcuts. They are
|
||||||
categorized by actions.
|
categorized by actions.
|
||||||
@@ -52,7 +52,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-preferences-environment-interface.webp {Interface tab in Environment preferences}
|
\image {qtcreator-preferences-environment-interface.webp} {Interface tab in Environment preferences}
|
||||||
|
|
||||||
\section1 Top 5 General Shortcuts
|
\section1 Top 5 General Shortcuts
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
project, designing a UI, and writing code to building applications and
|
project, designing a UI, and writing code to building applications and
|
||||||
deploying them to the target platforms for running and debugging.
|
deploying them to the target platforms for running and debugging.
|
||||||
|
|
||||||
\image qt-app-dev-flow.webp {Application development life-cycle}
|
\image {qt-app-dev-flow.webp} {Application development life-cycle}
|
||||||
\caption Application development life-cycle
|
\caption Application development life-cycle
|
||||||
|
|
||||||
\section1 Managing Projects
|
\section1 Managing Projects
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
\section1 Designing User Interfaces
|
\section1 Designing User Interfaces
|
||||||
|
|
||||||
\image heartgame-start.webp {Heart Rate Game}
|
\image {heartgame-start.webp} {Heart Rate Game}
|
||||||
|
|
||||||
To create intuitive, modern-looking, fluid user interfaces (UI), use
|
To create intuitive, modern-looking, fluid user interfaces (UI), use
|
||||||
\l{Qt Quick} and \l{Qt Design Studio documentation}{\QDS}:
|
\l{Qt Quick} and \l{Qt Design Studio documentation}{\QDS}:
|
||||||
@@ -321,7 +321,7 @@
|
|||||||
You can use \QC to create, build, and run code based tests for your
|
You can use \QC to create, build, and run code based tests for your
|
||||||
projects.
|
projects.
|
||||||
|
|
||||||
\image qtcreator-autotests.png
|
\image {qtcreator-autotests.png} {Tests sidebar view and Test Results output}
|
||||||
|
|
||||||
\section2 Using Squish
|
\section2 Using Squish
|
||||||
|
|
||||||
@@ -362,6 +362,6 @@
|
|||||||
|
|
||||||
\QC is one of many Qt tools for designing and developing applications.
|
\QC is one of many Qt tools for designing and developing applications.
|
||||||
|
|
||||||
\image qt-tools.webp {Tools for Qt application development}
|
\image {qt-tools.webp} {Tools for Qt application development}
|
||||||
\caption Tools for Qt application development
|
\caption Tools for Qt application development
|
||||||
*/
|
*/
|
||||||
|
@@ -29,44 +29,43 @@
|
|||||||
\li \l Windows
|
\li \l Windows
|
||||||
\row
|
\row
|
||||||
\li \l Android
|
\li \l Android
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\row
|
\row
|
||||||
\li \l{Bare Metal}
|
\li \l{Bare Metal}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\row
|
\row
|
||||||
\li \l {\B2Q}
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
|
||||||
\row
|
\row
|
||||||
\li \l iOS
|
\li \l iOS
|
||||||
\li
|
\li
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li
|
\li
|
||||||
\row
|
\row
|
||||||
\li \l{MCUs}
|
\li \l{MCUs}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li
|
\li
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\row
|
\row
|
||||||
\li \l QNX
|
\li \l QNX
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \inlineimage ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\row
|
\row
|
||||||
\li \l{Remote Linux}
|
\li \l{Remote Linux}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\row
|
\row
|
||||||
\li \l{Build applications for the web}{WebAssembly}
|
\li \l{Build applications for the web}{WebAssembly}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\li \image ok.png
|
\li \image {ok.png} {The feature is supported on the platform}
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
\note Deployment, running, and debugging on iOS 17 devices are not supported.
|
\note Deployment, running, and debugging on iOS 17 devices are not supported.
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
in \uicontrol Projects > \uicontrol {Build & Run}
|
in \uicontrol Projects > \uicontrol {Build & Run}
|
||||||
> \uicontrol Build > \uicontrol {Build Settings}.
|
> \uicontrol Build > \uicontrol {Build Settings}.
|
||||||
|
|
||||||
\image qtcreator-projectpane.webp {qmake build settings}
|
\image {qtcreator-projectpane.webp} {qmake build settings}
|
||||||
|
|
||||||
\section1 Build Directory
|
\section1 Build Directory
|
||||||
|
|
||||||
@@ -82,12 +82,12 @@
|
|||||||
To specify settings for all qmake builds, select \preferences >
|
To specify settings for all qmake builds, select \preferences >
|
||||||
\uicontrol {Build & Run} > \uicontrol Qmake.
|
\uicontrol {Build & Run} > \uicontrol Qmake.
|
||||||
|
|
||||||
\image qtcreator-preferences-build-run-qmake.png {Qmake tab in Build & Run Preferences}
|
\image {qtcreator-preferences-build-run-qmake.png} {Qmake tab in Build & Run preferences}
|
||||||
|
|
||||||
To set the default build properties, select \preferences >
|
To set the default build properties, select \preferences >
|
||||||
\uicontrol {Build & Run} > \uicontrol {Default Build Properties}.
|
\uicontrol {Build & Run} > \uicontrol {Default Build Properties}.
|
||||||
|
|
||||||
\image qtcreator-build-settings-default.webp {Default Build Properties tab in Build & Run Preferences}
|
\image {qtcreator-build-settings-default.webp} {Default Build Properties tab in Build & Run preferences}
|
||||||
|
|
||||||
In the \uicontrol {Default build directory} field, you can use the variables
|
In the \uicontrol {Default build directory} field, you can use the variables
|
||||||
that are listed when you select \inlineimage icons/replace.png, as well as
|
that are listed when you select \inlineimage icons/replace.png, as well as
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
To add or change custom output parsers, select \preferences >
|
To add or change custom output parsers, select \preferences >
|
||||||
\uicontrol {Build & Run} > \uicontrol {Custom Output Parsers}.
|
\uicontrol {Build & Run} > \uicontrol {Custom Output Parsers}.
|
||||||
|
|
||||||
\image qtcreator-custom-parser-list.png
|
\image {qtcreator-custom-parser-list.png} {Custom Output Parsers tab in Build & Run preferences}
|
||||||
|
|
||||||
To edit the settings of a custom output parser, select it in the list, and
|
To edit the settings of a custom output parser, select it in the list, and
|
||||||
then select \uicontrol Edit.
|
then select \uicontrol Edit.
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \preferences > \uicontrol {Build & Run} >
|
\li Select \preferences > \uicontrol {Build & Run} >
|
||||||
\uicontrol {Custom Output Parsers} > \uicontrol Add.
|
\uicontrol {Custom Output Parsers} > \uicontrol Add.
|
||||||
\image qtcreator-custom-parser-options.png "Custom Output Parsers preferences"
|
\image {qtcreator-custom-parser-options.png} {Custom Output Parsers tab in Build & Run preferences}
|
||||||
|
|
||||||
\li In the \uicontrol {Error message capture pattern} field, specify
|
\li In the \uicontrol {Error message capture pattern} field, specify
|
||||||
a regular expression to define what is an error. The custom
|
a regular expression to define what is an error. The custom
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li In the \uicontrol {Custom Output Parsers} section, select
|
\li In the \uicontrol {Custom Output Parsers} section, select
|
||||||
\uicontrol Details.
|
\uicontrol Details.
|
||||||
\image qtcreator-custom-parser.png
|
\image {qtcreator-custom-parser.png} {Custom Output Parsers}
|
||||||
\li Select custom parsers to activate them for building or running
|
\li Select custom parsers to activate them for building or running
|
||||||
the project.
|
the project.
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
To add files to projects, select \uicontrol File > \uicontrol {New File}, and
|
To add files to projects, select \uicontrol File > \uicontrol {New File}, and
|
||||||
then select the type of the file.
|
then select the type of the file.
|
||||||
|
|
||||||
\image qtcreator-new-file.webp {New File wizard}
|
\image {qtcreator-new-file.webp} {New File wizard}
|
||||||
|
|
||||||
\note You can also use the \c f locator filter to create a new
|
\note You can also use the \c f locator filter to create a new
|
||||||
file and open it in the editor. However, you must manually add
|
file and open it in the editor. However, you must manually add
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
\uicontrol {C++ Class Wizard} > \uicontrol Choose.
|
\uicontrol {C++ Class Wizard} > \uicontrol Choose.
|
||||||
\li Specify the class name, base class, and header and source files for
|
\li Specify the class name, base class, and header and source files for
|
||||||
the class.
|
the class.
|
||||||
\image qtcreator-cpp-class-wizard.png {Enter Class Name dialog}
|
\image {qtcreator-cpp-class-wizard.png} {Enter Class Name dialog}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
The wizard supports namespaces. To use a namespace, enter a qualified
|
The wizard supports namespaces. To use a namespace, enter a qualified
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
select \uicontrol Projects > \uicontrol {Project Settings} >
|
select \uicontrol Projects > \uicontrol {Project Settings} >
|
||||||
\uicontrol {C++ File Naming}.
|
\uicontrol {C++ File Naming}.
|
||||||
|
|
||||||
\image qtcreator-projects-settings-cpp-file-naming.webp {C++ File Naming settings for a project}
|
\image {qtcreator-projects-settings-cpp-file-naming.webp} {C++ File Naming settings for a project}
|
||||||
|
|
||||||
In the \uicontrol {License template} field, enter
|
In the \uicontrol {License template} field, enter
|
||||||
\l{Using Variables in Wizards}{predefined wizard variables} to specify the
|
\l{Using Variables in Wizards}{predefined wizard variables} to specify the
|
||||||
@@ -150,11 +150,11 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File} > \uicontrol {Qt} >
|
\li Select \uicontrol File > \uicontrol {New File} > \uicontrol {Qt} >
|
||||||
\uicontrol {Qt Resource File} > \uicontrol Choose.
|
\uicontrol {Qt Resource File} > \uicontrol Choose.
|
||||||
\image qtcreator-new-file-qrc.webp {New File dialog}
|
\image {qtcreator-new-file-qrc.webp} {New File dialog}
|
||||||
\li Follow the instructions of the wizard to create a resource
|
\li Follow the instructions of the wizard to create a resource
|
||||||
collection file (.qrc).
|
collection file (.qrc).
|
||||||
\li Open the resource file in the resource editor.
|
\li Open the resource file in the resource editor.
|
||||||
\image qtcreator-add-resource.png "Editing resource files"
|
\image {qtcreator-add-resource.png} {Editing resource files}
|
||||||
\li Select \uicontrol {Add Files} to locate and add individual files.
|
\li Select \uicontrol {Add Files} to locate and add individual files.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
\uicontrol {Delete file permanently} check box to remove the file from
|
\uicontrol {Delete file permanently} check box to remove the file from
|
||||||
the file system.
|
the file system.
|
||||||
|
|
||||||
\image qtcreator-remove-file.webp {Remove File dialog}
|
\image {qtcreator-remove-file.webp} {Remove File dialog}
|
||||||
|
|
||||||
To remove files that cannot be found in the file system,
|
To remove files that cannot be found in the file system,
|
||||||
select \uicontrol {Remove Missing Files}.
|
select \uicontrol {Remove Missing Files}.
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File} > \uicontrol {GLSL}.
|
\li Select \uicontrol File > \uicontrol {New File} > \uicontrol {GLSL}.
|
||||||
\image qtcreator-new-opengl-file.png {New OpenGL file wizard}
|
\image {qtcreator-new-opengl-file.png} {New OpenGL file wizard}
|
||||||
\li Select the type of the shader to create, and then select
|
\li Select the type of the shader to create, and then select
|
||||||
\uicontrol Choose.
|
\uicontrol Choose.
|
||||||
\li Follow the instructions of the wizard to create the shader file.
|
\li Follow the instructions of the wizard to create the shader file.
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
\c {templates/wizards/} directory in your \l{Locating Wizards}
|
\c {templates/wizards/} directory in your \l{Locating Wizards}
|
||||||
{user settings directory}.
|
{user settings directory}.
|
||||||
|
|
||||||
\image qtcreator-cpp-class-wizard.png
|
\image {qtcreator-cpp-class-wizard.png} {Define Class view in the C++ Class wizard}
|
||||||
|
|
||||||
To create a new wizard:
|
To create a new wizard:
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user