2023-06-27 16:52:31 +02:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
2022-08-19 15:59:36 +02:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
// NOTE: the sections are not ordered by their logical order to avoid
|
|
|
|
|
// reshuffling the file each time the index order changes (i.e., often).
|
|
|
|
|
// Run the fixnavi.pl script to adjust the links to the index order.
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page creator-quick-tour.html
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtdesignstudio)
|
2021-11-30 15:27:06 +02:00
|
|
|
\previouspage {Tutorials}
|
2023-06-30 14:47:34 +02:00
|
|
|
\nextpage creator-using-qt-quick-designer.html
|
2019-03-29 15:10:22 +01:00
|
|
|
\else
|
|
|
|
|
\previouspage creator-overview.html
|
2023-07-03 14:44:17 +02:00
|
|
|
\nextpage creator-views.html
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
\title User Interface
|
|
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2023-06-28 17:12:44 +02:00
|
|
|
When you start \QC, it opens to the \uicontrol Welcome mode.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\image qtcreator-breakdown.png {Welcome mode}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\table
|
|
|
|
|
\header
|
|
|
|
|
\li Number
|
|
|
|
|
\li UI Control
|
|
|
|
|
\li Purpose
|
|
|
|
|
\li Read More
|
|
|
|
|
\row
|
|
|
|
|
\li \inlineimage numbers/01.png
|
|
|
|
|
\li Mode selector
|
|
|
|
|
\li Perform a particular task, such as designing the UI, writing code, or
|
|
|
|
|
debugging the application.
|
2023-06-30 14:47:34 +02:00
|
|
|
\li \l{Switch between modes}
|
2023-06-28 17:12:44 +02:00
|
|
|
\row
|
|
|
|
|
\li \inlineimage numbers/02.png
|
|
|
|
|
\li Kit selector
|
|
|
|
|
\li Select the appropriate \l{glossary-buildandrun-kit}{kit} for building
|
|
|
|
|
the project and running it on particular hardware.
|
|
|
|
|
\li \l{Activating Kits for a Project}
|
|
|
|
|
\row
|
|
|
|
|
\li \inlineimage numbers/03.png
|
|
|
|
|
\li Run button
|
|
|
|
|
\li Run the application on the selected target platform.
|
|
|
|
|
\li \l{Running on Multiple Platforms}
|
|
|
|
|
\row
|
|
|
|
|
\li \inlineimage numbers/04.png
|
|
|
|
|
\li Debug button
|
|
|
|
|
\li Debug the application on the selected target platform.
|
|
|
|
|
\li \l{Debugging}
|
|
|
|
|
\row
|
|
|
|
|
\li \inlineimage numbers/05.png
|
|
|
|
|
\li Build button
|
|
|
|
|
\li Build the application using the selected kit.
|
|
|
|
|
\li \l{Building for Multiple Platforms}
|
|
|
|
|
\row
|
|
|
|
|
\li \inlineimage numbers/06.png
|
|
|
|
|
\li Locator
|
|
|
|
|
\li Find a particular project, file, class, or function.
|
|
|
|
|
\li \l{Searching with the Locator}
|
|
|
|
|
\row
|
|
|
|
|
\li \inlineimage numbers/07.png
|
|
|
|
|
\li Output
|
|
|
|
|
\li View output from building, running, and other actions.
|
|
|
|
|
\li \l{Viewing Output}
|
|
|
|
|
\endtable
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
To see where the above controls are in the UI, select
|
2023-02-06 13:46:44 +01:00
|
|
|
\uicontrol Help > \uicontrol {UI Tour}.
|
2019-04-12 16:51:44 +02:00
|
|
|
|
2023-06-27 16:52:31 +02:00
|
|
|
The following video shows the parts of the UI and the \uicontrol Welcome
|
|
|
|
|
mode:
|
|
|
|
|
|
|
|
|
|
\youtube hOx3dod5-1A
|
|
|
|
|
|
2022-09-29 16:45:31 +02:00
|
|
|
\section1 What's New?
|
|
|
|
|
|
|
|
|
|
For information about new features and bug fixes in each \QC release,
|
|
|
|
|
select \uicontrol Help > \uicontrol {Change Log}.
|
|
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\sa {Use the UI}{How-to: Use the UI}
|
2023-06-30 14:47:34 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\else
|
2023-06-30 14:47:34 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
When you start \QC, it opens to the \uicontrol Welcome mode, where you can:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li Open recent projects
|
|
|
|
|
\li Create and open projects
|
|
|
|
|
\li Open tutorials and example projects
|
|
|
|
|
\li Read news from the online community and Qt blogs
|
|
|
|
|
\li Create or manage a Qt Account
|
|
|
|
|
\endlist
|
2021-04-19 13:12:11 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\image studio-welcome-mode.webp {Welcome mode}
|
2021-04-19 13:12:11 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\endif
|
2021-04-19 11:17:53 +02:00
|
|
|
|
2022-02-28 13:44:07 +02:00
|
|
|
\if defined(qtdesignstudio)
|
|
|
|
|
\section1 Customizing the Menu
|
|
|
|
|
|
|
|
|
|
By default, top-level menu items \uicontrol Build, \uicontrol Debug, and
|
2023-02-03 11:32:25 +01:00
|
|
|
\uicontrol Analyze are not visible. These menu items have options for
|
2022-02-28 13:44:07 +02:00
|
|
|
advanced functionality.
|
|
|
|
|
|
|
|
|
|
To toggle the visibility of these menu items:
|
|
|
|
|
\list 1
|
2022-06-27 12:12:54 +02:00
|
|
|
\li Go to \uicontrol Edit > \uicontrol Preferences.
|
2022-02-28 13:44:07 +02:00
|
|
|
\li On the \uicontrol Environment tab, select
|
|
|
|
|
\uicontrol{Qt Design Studio Configuration}.
|
|
|
|
|
\li Clear the checkbox for the items that you want to be visible.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
\image studio-menu-item-visibility.png
|
|
|
|
|
|
|
|
|
|
You need to restart \QDS to apply changes made to these settings.
|
|
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\section1 Customizing the UI
|
2021-04-19 11:17:53 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
The following topics describe how to customize the UI:
|
2021-04-19 13:12:11 +02:00
|
|
|
|
|
|
|
|
\list
|
2023-06-28 17:12:44 +02:00
|
|
|
\li \l {Find menu items on \macos}
|
|
|
|
|
\li \l {Set high DPI scaling}
|
|
|
|
|
\li \l {Switch UI themes}
|
2021-04-19 13:12:11 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2019-06-07 15:09:25 +02:00
|
|
|
\section1 Viewing Images
|
|
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
The following topics describe how to use the image viewer:
|
2019-04-12 16:51:44 +02:00
|
|
|
|
2023-06-28 17:12:44 +02:00
|
|
|
\list
|
|
|
|
|
\li \l {Export SVG images}
|
|
|
|
|
\li \l {View images}
|
2019-04-12 16:51:44 +02:00
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
\endif
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page creator-output-panes.html
|
|
|
|
|
\if defined(qtdesignstudio)
|
2023-07-04 16:48:52 +02:00
|
|
|
\previouspage creator-editor-functions.html
|
2020-05-28 12:06:16 +02:00
|
|
|
\nextpage creator-highlighting.html
|
2019-04-12 16:51:44 +02:00
|
|
|
\else
|
2021-10-25 17:58:58 +02:00
|
|
|
\previouspage creator-open-documents-view.html
|
2019-04-12 16:51:44 +02:00
|
|
|
\nextpage creator-configuring.html
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2013-08-13 22:58:38 +02:00
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\title Viewing Output
|
|
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-general-messages.webp {General Messages}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
You can view the following types of output:
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
|
2023-06-01 16:47:50 +02:00
|
|
|
\li \l {Issues}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-01 16:47:50 +02:00
|
|
|
\li \l {Search Results}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-01 16:47:50 +02:00
|
|
|
\li \l {Application Output}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-01 16:47:50 +02:00
|
|
|
\li \l {Compile Output}
|
|
|
|
|
|
|
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\li \l {Terminal}
|
|
|
|
|
\endif
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-03-22 10:07:20 +01:00
|
|
|
\li \uicontrol {QML Debugger Console}
|
2013-03-05 10:02:14 +01:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\li \uicontrol{General Messages}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-12 15:23:43 +02:00
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\li \l {Static Code Analysis}{Axivion}
|
|
|
|
|
\endif
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li \uicontrol{Version Control}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2022-09-16 16:56:09 +02:00
|
|
|
\li \l{Running Autotests}{Test Results}
|
|
|
|
|
|
|
|
|
|
\li \l{Using Squish}{Squish} test results and Squish Server and
|
|
|
|
|
Runner logs
|
2015-04-08 10:03:43 +02:00
|
|
|
|
2023-06-01 16:47:50 +02:00
|
|
|
\li \l {To-Do Entries}
|
2022-09-16 16:56:09 +02:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
|
|
|
|
|
2011-09-27 11:53:38 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2023-06-30 14:47:34 +02:00
|
|
|
Output is available on the taskbar in all
|
|
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\l{Switch between modes}{modes}.
|
|
|
|
|
\else
|
|
|
|
|
\l{Mode}{modes}.
|
|
|
|
|
\endif
|
2021-11-26 18:41:59 +01:00
|
|
|
|
2023-06-01 16:47:50 +02:00
|
|
|
\image qtcreator-output-panes-taskbar.webp "Output on the taskbar"
|
2021-11-26 18:41:59 +01:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
You can view output in the following ways:
|
2021-11-26 18:41:59 +01:00
|
|
|
|
|
|
|
|
\list
|
2022-03-04 18:24:58 +01:00
|
|
|
\li Select the output view on the taskbar.
|
|
|
|
|
\li Select \key Alt (\key Cmd on \macos) and the number of the view on
|
2021-11-26 18:41:59 +01:00
|
|
|
the taskbar.
|
|
|
|
|
\li Select \inlineimage icons/output-pane-menu.png
|
2022-03-04 18:24:58 +01:00
|
|
|
, and then select the view to open.
|
|
|
|
|
\li Select \uicontrol View > \uicontrol Output.
|
2023-06-01 16:47:50 +02:00
|
|
|
The menu items also display the \l{Keyboard Shortcuts}
|
|
|
|
|
{keyboard shortcuts} that you can use.
|
2021-11-26 18:41:59 +01:00
|
|
|
\endlist
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
To maximize an open output view, select the \inlineimage icons/arrowup.png
|
|
|
|
|
(\uicontrol Maximize) button or press \key {Alt+Shift+9}.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-07-10 09:45:08 +02:00
|
|
|
|
2021-12-09 11:21:39 +01:00
|
|
|
To increase or decrease the output text size, select \inlineimage icons/plus.png
|
|
|
|
|
(\uicontrol {Zoom In}) or \inlineimage icons/minus.png
|
2019-07-10 09:45:08 +02:00
|
|
|
(\uicontrol {Zoom Out}), or press \key Ctrl++ or \key Ctrl+-. Zooming is
|
2022-03-04 18:24:58 +01:00
|
|
|
not supported in all output views.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
To open the \uicontrol{General Messages} and
|
|
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\l{Using Version Control Systems}{Version Control}
|
|
|
|
|
\else
|
|
|
|
|
\l{Using Git}{Version Control}
|
|
|
|
|
\endif
|
2022-03-04 18:24:58 +01:00
|
|
|
views, select \uicontrol View > \uicontrol Output.
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2022-03-04 18:24:58 +01:00
|
|
|
To view \uicontrol {To-Do Entries}, enable the \uicontrol Todo plugin.
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-03-22 10:07:20 +01:00
|
|
|
For more information about the \uicontrol {QML Debugger Console} view, see
|
2018-08-20 13:33:07 +02:00
|
|
|
\l{Executing JavaScript Expressions}.
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
If the text in the output is not displayed correctly, \QC might
|
2021-02-22 11:47:47 +01:00
|
|
|
be using a different codec from the one used by the tools that generate
|
2022-06-27 12:12:54 +02:00
|
|
|
the output. To specify the codec to use, select \uicontrol Edit >
|
|
|
|
|
\uicontrol Preferences > \uicontrol Environment > \uicontrol Interface, and
|
2021-02-22 11:47:47 +01:00
|
|
|
then select the codec in the \uicontrol {Text codec for tools} field.
|
|
|
|
|
|
2023-06-02 15:55:23 +02:00
|
|
|
\image qtcreator-preferences-environment-interface.webp {Interface tab in Environment preferences}
|
2021-02-22 11:47:47 +01:00
|
|
|
|
2020-03-02 14:42:13 +01:00
|
|
|
\section1 Finding and Filtering Output
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
To search from output, press \key {Ctrl+F} when the view is active. Enter
|
2020-03-02 14:42:13 +01:00
|
|
|
search criteria in the \uicontrol Find field. For more information, see
|
|
|
|
|
\l{Finding and Replacing}.
|
|
|
|
|
|
|
|
|
|
Besides searching from the output, you can enter a string in the
|
|
|
|
|
\uicontrol Filter field to filter it. To specify filtering options,
|
2021-12-09 11:21:39 +01:00
|
|
|
select the \inlineimage icons/magnifier.png "Filtering options menu"
|
2020-03-02 14:42:13 +01:00
|
|
|
button. You can filter output by using regular expressions or
|
|
|
|
|
case-sensitivity. Select \uicontrol {Show Non-matching Lines} to
|
|
|
|
|
hide the lines that match the filter.
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
Finding and filtering are not supported in all output views.
|
2020-03-02 14:42:13 +01:00
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\section1 Issues
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-02-03 17:25:21 +01:00
|
|
|
\uicontrol{Issues} lists the following types of issues:
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2011-10-14 12:29:53 +02:00
|
|
|
\list
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtdesignstudio)
|
2023-06-08 17:06:24 +02:00
|
|
|
\li \uicontrol {Asset Export} - Errors and warnings encountered
|
|
|
|
|
while exporting assets.
|
|
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\li \uicontrol {Asset Importer Error} - Errors and warnings encountered
|
|
|
|
|
while importing assets from a design tool.
|
2019-10-31 16:35:57 +01:00
|
|
|
\else
|
|
|
|
|
\li \uicontrol Autotests - Errors and warnings encountered while running
|
|
|
|
|
tests.
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li \uicontrol {Build System} - Errors and warnings encountered during a
|
2011-10-14 12:29:53 +02:00
|
|
|
build.
|
|
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2018-05-28 12:46:44 +02:00
|
|
|
\li \uicontrol {Clang Code Model} -
|
|
|
|
|
\l {Parsing C++ Files with the Clang Code Model}
|
|
|
|
|
{Errors and warnings from the current editor}.
|
2023-06-08 17:06:24 +02:00
|
|
|
\li \uicontrol {Clang Tools} - Errors and warnings from
|
|
|
|
|
\l {Using Clang Tools}{Clang-Tidy and Clazy}
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2018-05-28 12:46:44 +02:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
\li \uicontrol Compile - Selected output from the compiler. Open
|
|
|
|
|
\uicontrol {Compile Output} for more detailed information.
|
2011-10-14 12:29:53 +02:00
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li \uicontrol{Debug Information} - Lists debug information packages that might
|
2013-10-22 13:55:47 +02:00
|
|
|
be missing.
|
|
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2016-03-22 13:09:00 +01:00
|
|
|
\li \uicontrol Debugger - Errors encountered while running the
|
|
|
|
|
\l{Analyzing Code}{Valgrind code analysis tools}.
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2016-03-22 13:09:00 +01:00
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li \uicontrol{Debugger Runtime} - Errors encountered when starting \QC. For
|
2013-10-22 13:55:47 +02:00
|
|
|
example, information about missing DLLs.
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li \uicontrol Deployment - Errors encountered between building an application
|
2017-08-17 17:02:56 +02:00
|
|
|
successfully and starting it on a \l{glossary-device}{device}.
|
2013-10-22 13:55:47 +02:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2014-12-11 15:43:19 +01:00
|
|
|
\li \uicontrol {My Tasks} - Entries from a task list file (.tasks) generated
|
2022-03-04 18:24:58 +01:00
|
|
|
by \l{Showing Task List Files in Issues}
|
2011-10-14 12:29:53 +02:00
|
|
|
{code scanning and analysis tools}.
|
|
|
|
|
|
2018-05-28 12:46:44 +02:00
|
|
|
\li \uicontrol Python - Runtime errors and exceptions of Python scripts.
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2018-05-28 12:46:44 +02:00
|
|
|
|
2018-08-24 13:28:54 +02:00
|
|
|
\li \uicontrol QML and \uicontrol {QML Analysis} -
|
|
|
|
|
\l{JavaScript and QML Error Codes}
|
|
|
|
|
{QML and JavaScript syntax errors}.
|
2011-10-14 12:29:53 +02:00
|
|
|
|
2023-06-08 17:06:24 +02:00
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\li \uicontrol Sanitizer - Tasks created when you run an application if
|
|
|
|
|
you used an \e {address sanitizer} to detect memory handling issues.
|
|
|
|
|
\endif
|
2011-10-14 12:29:53 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
The view filters out irrelevant output from the build tools and presents the
|
2011-10-14 12:29:53 +02:00
|
|
|
issues in an organized way. To further filter the output by type, select
|
2021-12-09 11:21:39 +01:00
|
|
|
\inlineimage icons/filtericon.png
|
2023-06-08 17:06:24 +02:00
|
|
|
(\uicontrol {Filter Tree}) and then select a filter. To find output in the
|
|
|
|
|
view, enter search criteria in the \uicontrol Filter field.
|
2011-10-14 12:29:53 +02:00
|
|
|
|
2023-06-08 17:06:24 +02:00
|
|
|
\image qtcreator-issues.webp {Issues}
|
2011-10-14 12:29:53 +02:00
|
|
|
|
2022-02-09 17:18:28 +01:00
|
|
|
Select one or several lines to apply context-menu actions to their contents.
|
|
|
|
|
You can remove the selected lines or copy their contents to the clipboard.
|
|
|
|
|
For single lines, you can search the Internet for a solution using the
|
|
|
|
|
contents of the line as search criteria or open a version control
|
2014-06-16 14:10:02 +02:00
|
|
|
annotation view of the line that causes the error message.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-06-08 17:06:24 +02:00
|
|
|
To view detailed information about the selected line (where available), press
|
|
|
|
|
\key Space.
|
|
|
|
|
|
2013-03-05 14:30:18 +01:00
|
|
|
To navigate to the corresponding source code, click an issue or
|
2014-12-11 15:43:19 +01:00
|
|
|
select \uicontrol {Show in Editor} in the context menu. The entry must contain the
|
2013-03-05 14:30:18 +01:00
|
|
|
name of the file where the issue was found.
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
To view more information about an issue in \l {Compile Output},
|
2023-06-08 17:06:24 +02:00
|
|
|
select \uicontrol {Show Compile Output} in the context menu.
|
2014-06-16 14:10:02 +02:00
|
|
|
|
2023-06-08 17:06:24 +02:00
|
|
|
To jump from one issue to the next or previous
|
|
|
|
|
one, select \inlineimage icons/arrowup.png
|
|
|
|
|
and \inlineimage icons/arrowdown.png
|
|
|
|
|
or press \key F6 and \key Shift+F6.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2022-11-02 16:51:20 +01:00
|
|
|
By default, a new build clears the \uicontrol Issues view. To keep
|
2022-06-27 12:12:54 +02:00
|
|
|
the issues from the previous build rounds, deselect \uicontrol Edit >
|
|
|
|
|
\uicontrol Preferences > \uicontrol {Build & Run} > \uicontrol General >
|
2019-06-07 16:24:24 +02:00
|
|
|
\uicontrol {Clear issues list on new build}.
|
|
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\section1 Search Results
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
In \uicontrol{Search Results}, you can search through projects, files on
|
2017-04-13 14:34:37 +02:00
|
|
|
a file system or the currently open files:
|
2012-02-17 16:25:43 +01:00
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-search-results.webp {Search Results - criteria}
|
2012-02-17 16:25:43 +01:00
|
|
|
|
2022-11-02 16:51:20 +01:00
|
|
|
The search history (1) stores the search results. You can select earlier
|
|
|
|
|
searches from the history.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
The figure below shows an example search result for all
|
2017-04-13 14:34:37 +02:00
|
|
|
occurrences of the search string in the specified directory.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-search-results-matches.webp {Search Results - matches found}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2017-04-13 14:34:37 +02:00
|
|
|
For more information about the different search options, see
|
|
|
|
|
\l {Finding and Replacing}.
|
|
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\section1 Application Output
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
\uicontrol{Application Output} displays the status of a program when
|
2022-11-02 16:51:20 +01:00
|
|
|
you execute it, and the debug output.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-application-output.webp {Application Output}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2019-03-18 13:20:38 +01:00
|
|
|
If you specify command line arguments in the run settings that are passed
|
|
|
|
|
to the application when running it, they are displayed as a part of the
|
|
|
|
|
application output. For more information, see
|
|
|
|
|
\l{Specifying Run Settings for Desktop Device Types}.
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2019-03-18 13:20:38 +01:00
|
|
|
|
2012-09-14 14:14:27 +02:00
|
|
|
Select toolbar buttons to run applications, to attach the debugger to the
|
|
|
|
|
running application, and to stop running or debugging.
|
|
|
|
|
|
2016-04-18 11:53:58 +02:00
|
|
|
To specify settings for displaying application output, select
|
2022-06-27 12:12:54 +02:00
|
|
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Build & Run} >
|
2021-12-09 11:21:39 +01:00
|
|
|
\uicontrol {Application Output}, or click the \inlineimage icons/settings.png
|
2021-11-11 17:53:35 +01:00
|
|
|
(\uicontrol {Open Settings Page}) button. You can select whether to open
|
2022-03-04 18:24:58 +01:00
|
|
|
\uicontrol{Application Output} on output when running or debugging
|
2021-11-11 17:53:35 +01:00
|
|
|
applications, to clear old output on a new run,
|
2019-03-12 10:18:14 +01:00
|
|
|
to word-wrap output, and to limit output to the specified number of lines.
|
2016-04-18 11:53:58 +02:00
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\section1 Compile Output
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-02-03 17:25:21 +01:00
|
|
|
\uicontrol{Compile Output} shows all output from the compiler.
|
2014-12-11 15:43:19 +01:00
|
|
|
The \uicontrol{Compile Output} is a more detailed version of information
|
2022-03-04 18:24:58 +01:00
|
|
|
displayed in \l Issues.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-compile-output.webp {Compile Output}
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2012-09-14 14:15:43 +02:00
|
|
|
Double-click on a file name in an error message to open the file in the
|
|
|
|
|
code editor.
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
Select the \uicontrol {Cancel Build} button to cancel the build.
|
2012-09-14 14:15:43 +02:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
To specify whether to open the \uicontrol {Compile Output} view on output
|
2022-06-27 12:12:54 +02:00
|
|
|
when building applications, select \uicontrol Edit > \uicontrol Preferences >
|
2021-04-27 11:12:16 +03:00
|
|
|
\uicontrol {Build & Run} > \uicontrol {Compile Output}, and then select the
|
2022-03-11 17:03:10 +01:00
|
|
|
\uicontrol {Open Compile Output when building} check box.
|
2019-03-01 15:18:40 +01:00
|
|
|
In the \uicontrol {Limit output to} field, you can specify the maximum
|
2022-03-04 18:24:58 +01:00
|
|
|
amount of build output lines to display.
|
2016-04-18 11:53:58 +02:00
|
|
|
|
2022-07-11 16:54:45 +02:00
|
|
|
You can also open the preferences page by clicking \inlineimage icons/settings.png
|
2021-11-11 17:53:35 +01:00
|
|
|
(\uicontrol {Open Settings Page}).
|
2019-03-12 10:18:14 +01:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
To copy the output to the clipboard, select \uicontrol {Select All} in the
|
|
|
|
|
context menu, and then select \uicontrol Copy. Save the output as a file if
|
|
|
|
|
you want to examine it later without having to build the project again.
|
2019-06-07 15:55:58 +02:00
|
|
|
This is useful for large projects that take a long time to build.
|
|
|
|
|
|
|
|
|
|
\section2 Parsing Existing Compile Output
|
|
|
|
|
|
|
|
|
|
You can use \QC's output parsers to parse output from builds done outside
|
|
|
|
|
of \QC or stored from previous build runs. By default, the parsers from the
|
|
|
|
|
kit selected for the active project are used, but you can select another
|
|
|
|
|
kit.
|
|
|
|
|
|
|
|
|
|
To parse compile output:
|
|
|
|
|
|
|
|
|
|
\list 1
|
|
|
|
|
\li Select \uicontrol Tools > \uicontrol {Parse Build Output}.
|
|
|
|
|
\image qtcreator-parse-build-output.png
|
|
|
|
|
\li Paste the build output in the \uicontrol {Build Output} field, or
|
|
|
|
|
select \uicontrol {Load from File} to load it from a file.
|
|
|
|
|
\li Deselect the \uicontrol {Output went to stderr} check box if the
|
|
|
|
|
parser expects issues on \c stdout.
|
|
|
|
|
\li In the \uicontrol {Use parsers from kit} field, select the kit to
|
|
|
|
|
use for parsing the output. Select \uicontrol Manage to view
|
|
|
|
|
and modify kit settings.
|
2022-03-04 18:24:58 +01:00
|
|
|
\li The parser displays the parsed output in \l Issues. By default, the
|
|
|
|
|
view is cleared before adding the new output.
|
2019-06-07 15:55:58 +02:00
|
|
|
Deselect the \uicontrol {Clear existing tasks} check box to append
|
|
|
|
|
the new output to the old output.
|
|
|
|
|
\li Select \uicontrol OK to start parsing.
|
|
|
|
|
\endlist
|
|
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2023-06-01 16:47:50 +02:00
|
|
|
|
|
|
|
|
\section1 Terminal
|
|
|
|
|
|
|
|
|
|
When you select the \uicontrol {Run in Terminal} check box and run an
|
|
|
|
|
application or the \uicontrol {Open Terminal} button to open a terminal,
|
|
|
|
|
the default terminal opens. On Linux and \macos, you can set the default
|
|
|
|
|
terminal by selecting \uicontrol Edit > \uicontrol Preferences >
|
|
|
|
|
\uicontrol Environment > \uicontrol System.
|
|
|
|
|
|
|
|
|
|
To open the terminal on the taskbar instead of in a separate window, select
|
|
|
|
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol Terminal >
|
|
|
|
|
\uicontrol {Use internal terminal}.
|
|
|
|
|
|
|
|
|
|
\image qtcreator-output-terminal.webp {Terminal pane}
|
|
|
|
|
|
|
|
|
|
To clear the terminal, select \inlineimage icons/clean_pane_small.png
|
|
|
|
|
(\uicontrol Clear).
|
|
|
|
|
|
|
|
|
|
To close the current terminal, select \inlineimage icons/terminal-close.png
|
|
|
|
|
.
|
|
|
|
|
|
|
|
|
|
To open new terminals as tabs, select \inlineimage icons/terminal-create.png
|
|
|
|
|
.
|
|
|
|
|
|
|
|
|
|
To move between terminals, select the tabs or \inlineimage icons/arrowup.png
|
|
|
|
|
and \inlineimage icons/arrowdown.png
|
|
|
|
|
.
|
|
|
|
|
|
|
|
|
|
To select a word in a terminal, double-click it. To select the whole line,
|
|
|
|
|
triple-click it.
|
|
|
|
|
|
|
|
|
|
To open links in a browser, files in the editor, or folders in the
|
|
|
|
|
\l Projects view, hover the mouse over them, and press \key Ctrl.
|
|
|
|
|
|
|
|
|
|
To \l{Finding and Replacing}{search} through the output, press \key {Ctrl+F}.
|
|
|
|
|
|
|
|
|
|
To make the font larger or smaller, select the \inlineimage icons/plus.png
|
|
|
|
|
and \inlineimage icons/minus.png
|
|
|
|
|
buttons. You can also change the font size in terminal preferences.
|
|
|
|
|
|
|
|
|
|
To open terminal preferences, select \inlineimage icons/settings.png
|
|
|
|
|
(\uicontrol Configure).
|
|
|
|
|
|
|
|
|
|
Most of the \QC keyboard shortcuts are disabled in the terminal, except the
|
|
|
|
|
ones for opening terminal preferences or the locator and quitting \QC. To
|
|
|
|
|
send the escape key to the terminal instead of closing the terminal, select
|
|
|
|
|
\uicontrol {Shift+Esc}. You can also specify that the escape key is sent to
|
|
|
|
|
the terminal in terminal preferences.
|
|
|
|
|
|
|
|
|
|
\section2 Setting Terminal Preferences
|
|
|
|
|
|
|
|
|
|
To set preferences for the internal terminal, select \uicontrol Edit >
|
|
|
|
|
\uicontrol Preferences > \uicontrol Terminal, or select the
|
|
|
|
|
\uicontrol Configure button in the \uicontrol Terminal pane.
|
|
|
|
|
|
|
|
|
|
\image qtcreator-preferences-terminal.webp {Terminal tab in Preferences}
|
|
|
|
|
|
|
|
|
|
\table
|
|
|
|
|
\header
|
|
|
|
|
\li Option
|
|
|
|
|
\li Value
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol {Use internal terminal}
|
|
|
|
|
\li Open the \uicontrol Terminal pane when you select
|
|
|
|
|
\uicontrol {Run in Terminal} or \uicontrol {Open Terminal}.
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol {Send escape key to terminal}
|
|
|
|
|
\li Send the escape key to the terminal instead of closing the terminal.
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol {Audible bell}
|
|
|
|
|
\li Play an audible bell when the a bell character is received.
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol {Allow blinking cursor}
|
|
|
|
|
\li Allow the cursor to blink.
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol {Font}
|
|
|
|
|
\li Select the \uicontrol {Font family} and \uicontrol Size for the text
|
|
|
|
|
in the terminal. You can also use the \inlineimage icons/plus.png
|
|
|
|
|
and \inlineimage icons/minus.png buttons in the \uicontrol Terminal
|
|
|
|
|
pane to change the font size.
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol {Colors}
|
|
|
|
|
\li Set colors for the \uicontrol Terminal pane \uicontrol Foreground,
|
|
|
|
|
\uicontrol Background, \uicontrol Selection, and
|
|
|
|
|
\uicontrol {Find match}.
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol {Default shell}
|
|
|
|
|
\li Set the full path to the default terminal executable in
|
|
|
|
|
\uicontrol {Shell path} and the arguments to pass to the shell
|
|
|
|
|
in \uicontrol {Shell arguments}.
|
|
|
|
|
\endtable
|
|
|
|
|
|
|
|
|
|
To use an existing color scheme, select \uicontrol {Load Theme}. To revert
|
|
|
|
|
color changes, select \uicontrol {Reset Theme}.
|
|
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\section1 To-Do Entries
|
2012-06-20 13:13:32 +02:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
\uicontrol {To-Do Entries} lists the BUG, FIXME, NOTE, TODO, and
|
2017-05-09 13:50:55 +02:00
|
|
|
WARNING keywords from the current file, from all project files, or from a
|
|
|
|
|
subproject. Click the icons on the toolbar to show only the selected
|
|
|
|
|
keywords.
|
2012-06-20 13:13:32 +02:00
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-to-do-entries.webp {To-Do Entries}
|
2012-06-20 13:13:32 +02:00
|
|
|
|
2022-06-27 12:12:54 +02:00
|
|
|
To add keywords, select \uicontrol Edit > \uicontrol Preferences >
|
2017-05-09 13:50:55 +02:00
|
|
|
\uicontrol {To-Do} > \uicontrol Add. Set an icon and a line background color
|
|
|
|
|
for the keyword.
|
2012-06-20 13:13:32 +02:00
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-todo-options.png {To-Do preferences}
|
2012-06-20 13:13:32 +02:00
|
|
|
|
2017-05-09 13:50:55 +02:00
|
|
|
To change the icon and line background color of the selected keyword, select
|
|
|
|
|
\uicontrol Edit.
|
|
|
|
|
|
|
|
|
|
To remove the selected keyword, select \uicontrol Remove.
|
|
|
|
|
|
|
|
|
|
To reset the list to predefined keywords, select \uicontrol Reset. All your
|
|
|
|
|
changes will be permanently lost.
|
|
|
|
|
|
|
|
|
|
To determine whether the keywords in the whole project, in the current file,
|
|
|
|
|
or in a subproject are displayed by default, select the appropriate option
|
|
|
|
|
in the \uicontrol {Scanning scope} group.
|
|
|
|
|
|
|
|
|
|
To exclude files from scanning, select \uicontrol {Project Settings} >
|
2022-07-12 17:01:06 +02:00
|
|
|
\uicontrol {To-Do} in the \uicontrol Projects mode.
|
|
|
|
|
|
2023-07-04 10:55:22 +02:00
|
|
|
\image qtcreator-todo-excluded-files.png {Excluded Files in To-Do preferences}
|
2022-07-12 17:01:06 +02:00
|
|
|
|
|
|
|
|
Select \uicontrol Add and double-click the placeholder text in
|
|
|
|
|
\uicontrol {Exclude Files} to enter a regular expression that
|
|
|
|
|
matches the path to files to exclude. Use a forward slash (/)
|
|
|
|
|
as a separator in the path also on Windows.
|
|
|
|
|
|
|
|
|
|
Select the link in \uicontrol {Use global settings} to open global
|
|
|
|
|
To-Do preferences.
|
2015-08-03 14:10:24 +02:00
|
|
|
|
2012-06-20 13:13:32 +02:00
|
|
|
The Todo plugin is disabled by default. To enable the plugin, select
|
2014-12-11 15:43:19 +01:00
|
|
|
\uicontrol Help > \uicontrol {About Plugins} > \uicontrol Utilities >
|
2020-02-26 15:29:17 +01:00
|
|
|
\uicontrol Todo. Then select \uicontrol {Restart Now} to restart \QC
|
|
|
|
|
and load the plugin.
|
2012-06-20 13:13:32 +02:00
|
|
|
|
|
|
|
|
In addition, you can open task list files generated by code scanning and
|
2022-03-04 18:24:58 +01:00
|
|
|
analysis tools in \l Issues. For more information, see
|
|
|
|
|
\l{Showing Task List Files in Issues}.
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2012-06-20 13:13:32 +02:00
|
|
|
|
2011-09-27 11:53:38 +02:00
|
|
|
*/
|