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}
|
2019-03-29 15:10:22 +01:00
|
|
|
\else
|
|
|
|
|
\previouspage creator-overview.html
|
|
|
|
|
\endif
|
2019-04-12 16:51:44 +02:00
|
|
|
\nextpage creator-modes.html
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
\title User Interface
|
|
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
When you start \QC, it opens to the \uicontrol Welcome mode, where you can:
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
\list
|
2020-05-28 12:06:16 +02:00
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\li Open recent sessions
|
|
|
|
|
\endif
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\li Open recent projects
|
2012-02-17 16:25:43 +01:00
|
|
|
|
2013-02-06 08:50:23 +01:00
|
|
|
\li Create and open projects
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2013-02-06 08:50:23 +01:00
|
|
|
\li Open tutorials and example projects
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\if defined(qtcreator)
|
2020-02-26 14:19:22 +01:00
|
|
|
\li Browse Qt extensions in the \l{https://marketplace.qt.io/}
|
|
|
|
|
{Qt Marketplace}
|
2020-11-09 11:29:11 +01:00
|
|
|
\li Download the Qt Installer
|
2020-05-28 12:06:16 +02:00
|
|
|
\endif
|
2020-02-26 14:19:22 +01:00
|
|
|
|
2016-04-18 11:44:58 +02:00
|
|
|
\li Read news from the online community and Qt blogs
|
|
|
|
|
|
|
|
|
|
\li Create or manage a Qt Account
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
\endlist
|
|
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
2012-02-17 16:25:43 +01:00
|
|
|
\image qtcreator-breakdown.png
|
2019-03-29 15:10:22 +01:00
|
|
|
\else
|
|
|
|
|
\image studio-welcome-mode.png
|
|
|
|
|
\endif
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\if defined(qtcreator)
|
2023-02-06 13:46:44 +01:00
|
|
|
Do you want to perform a particular task, such as designing the UI,
|
|
|
|
|
writing code, or debugging the application? Select the appropriate mode in
|
|
|
|
|
the \l{Selecting Modes}{mode selector} (1).
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-02-06 13:46:44 +01:00
|
|
|
Are you ready to build the application for particular hardware or (5)
|
|
|
|
|
run (3) or debug (4) it on a device? Use the kit selector (2) to select
|
|
|
|
|
the appropriate \l{glossary-buildandrun-kit}{kit}. The task bar (7)
|
2022-11-02 16:51:20 +01:00
|
|
|
displays output from these actions.
|
2012-02-17 16:25:43 +01:00
|
|
|
|
2023-02-06 13:46:44 +01:00
|
|
|
Are you looking for a particular project, file, class, or function?
|
|
|
|
|
Start typing its name in the \l{Searching with the Locator}{locator} (6).
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2023-02-06 13:46:44 +01:00
|
|
|
To see where the above controls are in the user interface, select
|
|
|
|
|
\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
|
|
|
|
|
|
2020-02-24 15:38:42 +01:00
|
|
|
The following sections describe some \QC controls in more detail:
|
2019-04-12 16:51:44 +02:00
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li \l{Selecting Modes}{Mode selector}
|
2020-02-24 15:38:42 +01:00
|
|
|
\li \l{Working with Sidebars}{Sidebars}
|
2020-05-28 12:06:16 +02:00
|
|
|
\li \l{Browsing Project Contents}{Views}
|
2022-03-04 18:24:58 +01:00
|
|
|
\li \l{Viewing Output}{Output}
|
2019-04-12 16:51:44 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\else
|
|
|
|
|
You can use the \l{Selecting Modes}{mode selector} to switch to the
|
2021-02-22 18:21:47 +01:00
|
|
|
\l{Design Views}{Design mode} (1), where you will do
|
2020-05-28 12:06:16 +02:00
|
|
|
most of your work and the \l{Using the Help Mode}{Help} (2) mode, where
|
|
|
|
|
you can read the product documentation. The other modes are for more
|
|
|
|
|
advanced use, and you are likely to need them less often.
|
|
|
|
|
|
|
|
|
|
Below the mode selector, you can find shortcuts to some more advanced
|
|
|
|
|
functions, such as running the application or finding problems in the
|
|
|
|
|
QML code by debugging or profiling it.
|
2021-04-19 13:12:11 +02:00
|
|
|
\endif
|
|
|
|
|
|
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}.
|
|
|
|
|
|
2021-04-19 13:12:11 +02:00
|
|
|
\section1 For \macos Users
|
|
|
|
|
|
|
|
|
|
\QC uses standard names and locations for standard features, such as
|
2022-06-27 12:12:54 +02:00
|
|
|
\e preferences. In this manual, the names and locations on
|
2021-04-19 13:12:11 +02:00
|
|
|
Windows and Linux are usually used to keep the instructions short. Here are
|
|
|
|
|
some places to check if you cannot find a function, dialog, or keyboard
|
|
|
|
|
shortcut on \macos when following the instructions:
|
|
|
|
|
|
|
|
|
|
\table
|
|
|
|
|
\header
|
|
|
|
|
\li For
|
|
|
|
|
\li Look In
|
|
|
|
|
\row
|
2022-06-27 12:12:54 +02:00
|
|
|
\li \uicontrol Edit > \uicontrol Preferences
|
2021-04-19 13:12:11 +02:00
|
|
|
\li \uicontrol {\QC} > \uicontrol Preferences
|
|
|
|
|
\row
|
|
|
|
|
\li \uicontrol Help > \uicontrol {About Plugins}
|
|
|
|
|
\li \uicontrol {\QC} > \uicontrol {About Plugins}
|
|
|
|
|
\row
|
|
|
|
|
\li Keyboard shortcuts
|
|
|
|
|
\li \uicontrol {\QC} > \uicontrol Preferences > \uicontrol Environment >
|
|
|
|
|
\uicontrol Keyboard
|
|
|
|
|
\endtable
|
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.
|
|
|
|
|
|
|
|
|
|
\endif
|
|
|
|
|
|
2021-04-19 11:17:53 +02:00
|
|
|
\section1 Switching UI Themes
|
|
|
|
|
|
|
|
|
|
Themes enable you to change the appearance of the UI from dark to light,
|
2022-06-27 12:12:54 +02:00
|
|
|
for example. To switch themes, select \uicontrol Edit > \uicontrol Preferences
|
2021-04-19 13:12:11 +02:00
|
|
|
> \uicontrol Environment, and then select a theme in the \uicontrol Theme
|
|
|
|
|
field.
|
2021-04-19 11:17:53 +02:00
|
|
|
|
2023-06-02 15:55:23 +02:00
|
|
|
\image qtcreator-preferences-environment-interface.webp {Interface preferences}
|
2020-05-28 12:06:16 +02:00
|
|
|
|
2021-04-19 11:17:53 +02:00
|
|
|
\section1 Changing Languages
|
|
|
|
|
|
2022-11-02 16:51:20 +01:00
|
|
|
\QC has several language versions. If the system language
|
|
|
|
|
is one of the supported languages, \QC selects it automatically. To
|
2022-06-27 12:12:54 +02:00
|
|
|
change the language, select \uicontrol Edit > \uicontrol Preferences >
|
2021-04-19 11:17:53 +02:00
|
|
|
\uicontrol Environment and select a language in the \uicontrol Language
|
|
|
|
|
field. Select \uicontrol {Restart Now} to restart \QC and have the change
|
|
|
|
|
take effect.
|
|
|
|
|
|
2021-04-19 13:12:11 +02:00
|
|
|
\section1 High DPI Scaling
|
|
|
|
|
|
2022-11-02 16:51:20 +01:00
|
|
|
The operating systems that \QC supports implement high dots-per-inch (DPI)
|
2021-04-19 13:12:11 +02:00
|
|
|
scaling at varying levels. Therefore, \QC handles high DPI scaling
|
2021-06-21 16:20:11 +02:00
|
|
|
differently on different operating systems:
|
2021-04-19 13:12:11 +02:00
|
|
|
|
|
|
|
|
\list
|
2022-11-02 16:51:20 +01:00
|
|
|
\li On \macos, \QC forces high DPI scaling, which means that it allows
|
2021-04-19 13:12:11 +02:00
|
|
|
Qt to use the system scaling factor as the \QC scaling factor.
|
2022-11-02 16:51:20 +01:00
|
|
|
\li On Windows, if you do not set \l{High DPI}
|
|
|
|
|
{scaling environment variables}, \QC instructs Qt to detect the
|
|
|
|
|
scaling factor and use it as the \QC scaling factor.
|
2022-07-11 15:30:22 +02:00
|
|
|
\li On Linux, \QC leaves it to the user to enable high DPI scaling
|
2021-04-19 13:12:11 +02:00
|
|
|
because the process varies so much on different distributions
|
|
|
|
|
and windowing systems that it cannot be reliably done automatically.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
To override the default approach and always enable high-DPI scaling, select
|
2022-06-27 12:12:54 +02:00
|
|
|
\uicontrol Edit > \uicontrol Preferences > \uicontrol Environment >
|
2021-04-19 13:12:11 +02:00
|
|
|
\uicontrol {Enable high DPI scaling}. The changes will take effect after you
|
|
|
|
|
restart \QC.
|
|
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\section1 Navigating with Keyboard
|
|
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\QC caters not only to those users who like to use the mouse, but also
|
|
|
|
|
to those who are more comfortable with the keyboard. A wide range of
|
|
|
|
|
\l{keyboard-shortcuts}{keyboard} and \l{Searching with the Locator}
|
|
|
|
|
{navigation} shortcuts are available to help you work faster.
|
2019-04-12 16:51:44 +02:00
|
|
|
|
|
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\section1 Useful Features
|
|
|
|
|
|
|
|
|
|
For a list of useful \QC features described in other parts of the
|
2019-10-25 14:51:50 +02:00
|
|
|
documentation, see \l{How-tos}.
|
2019-04-12 16:51:44 +02:00
|
|
|
\endif
|
|
|
|
|
|
2019-06-07 15:09:25 +02:00
|
|
|
\section1 Viewing Images
|
|
|
|
|
|
|
|
|
|
\QC opens image files in the image viewer.
|
|
|
|
|
|
|
|
|
|
\image qtcreator-image-viewer.png "Image viewer"
|
|
|
|
|
|
2022-10-20 13:36:13 +02:00
|
|
|
Use the toolbar buttons or \l{Keyboard Shortcuts}{keyboard shortcuts} to:
|
2019-06-07 15:09:25 +02:00
|
|
|
|
|
|
|
|
\list
|
2022-10-20 13:36:13 +02:00
|
|
|
\li \inlineimage icons/export.png
|
|
|
|
|
- Export SVG images to pixmaps or copy an image as a data URL, which
|
|
|
|
|
enables you to include it in web pages as if it were an external
|
|
|
|
|
resource
|
|
|
|
|
\li \inlineimage icons/original-size.png
|
|
|
|
|
- Return images to their original size
|
|
|
|
|
\li \inlineimage icons/zoom-in.png
|
|
|
|
|
- Zoom in and out (\inlineimage icons/zoom-out.png
|
|
|
|
|
)
|
|
|
|
|
\li \inlineimage icons/run_small.png
|
|
|
|
|
- Play and pause animated GIF and MNG images
|
|
|
|
|
\li \inlineimage icons/qtcreator-desktopdevice-button.png
|
|
|
|
|
- Show and hide the image background
|
|
|
|
|
\li \inlineimage icons/switch-outline.png
|
|
|
|
|
- Show and hide the image outline
|
|
|
|
|
\li \inlineimage icons/fittoview.png
|
|
|
|
|
- Fit images to screen
|
2019-06-07 15:09:25 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2022-10-10 18:44:04 +02:00
|
|
|
Select \uicontrol {Set as Default} to use the current settings for the
|
|
|
|
|
background and outline modes and fitting images to screen as default
|
|
|
|
|
values for the image viewer.
|
|
|
|
|
|
2019-06-07 15:09:25 +02:00
|
|
|
\section2 Exporting SVG Images
|
|
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
If you have a freely scalable icon in the SVG format,
|
2019-06-07 15:09:25 +02:00
|
|
|
you can export it to several images of different sizes to create a set of
|
2020-05-28 12:06:16 +02:00
|
|
|
pixmaps.
|
|
|
|
|
\if defined(qtcreator)
|
|
|
|
|
You can then use QIcon::addPixmap() to add the pixmaps to icons in
|
2019-06-07 15:09:25 +02:00
|
|
|
different modes and states.
|
2020-05-28 12:06:16 +02:00
|
|
|
\endif
|
2019-06-07 15:09:25 +02:00
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\if defined(qtcreator)
|
2021-04-19 13:12:11 +02:00
|
|
|
\section1 Location of Settings Files
|
2019-04-12 16:51:44 +02:00
|
|
|
|
|
|
|
|
\QC creates the following files and directories:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
|
|
|
|
|
\li QtCreator.db
|
|
|
|
|
|
|
|
|
|
\li QtCreator.ini
|
|
|
|
|
|
|
|
|
|
\li qtversion.xml
|
|
|
|
|
|
|
|
|
|
\li toolChains.xml
|
|
|
|
|
|
|
|
|
|
\li qtcreator
|
|
|
|
|
|
|
|
|
|
\li qtc-qmldump
|
|
|
|
|
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
The location of the above files and directories depends on the platform:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
|
2022-11-02 16:51:20 +01:00
|
|
|
\li On Linux and other Unix platforms, look in
|
2019-04-12 16:51:44 +02:00
|
|
|
\c {~/.config/QtProject} and
|
|
|
|
|
\c {~/.local/share/data/QtProject/qtcreator}.
|
|
|
|
|
|
2022-11-02 16:51:20 +01:00
|
|
|
\li On \macos, look in \c {~/.config/QtProject} and
|
2019-04-12 16:51:44 +02:00
|
|
|
\c {~/Library/Application Support/QtProject/Qt Creator}.
|
|
|
|
|
|
2022-11-02 16:51:20 +01:00
|
|
|
\li On Windows, look in
|
2022-04-05 15:44:15 +02:00
|
|
|
\c {%appdata%\QtProject} and \c {%localappdata%\QtProject}.
|
2019-04-12 16:51:44 +02:00
|
|
|
|
|
|
|
|
\endlist
|
|
|
|
|
\endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page creator-modes.html
|
|
|
|
|
\previouspage creator-quick-tour.html
|
2020-05-28 12:06:16 +02:00
|
|
|
\if defined(qtdesignstudio)
|
|
|
|
|
\nextpage creator-using-qt-quick-designer.html
|
|
|
|
|
\else
|
|
|
|
|
\nextpage creator-sidebars.html
|
|
|
|
|
\endif
|
2019-04-12 16:51:44 +02:00
|
|
|
|
|
|
|
|
\title Selecting Modes
|
|
|
|
|
|
|
|
|
|
\image qtcreator-mode-selector.png
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\if defined(qtcreator)
|
2011-09-27 11:53:38 +02:00
|
|
|
The mode selector allows you to quickly switch between tasks such as editing
|
2022-11-02 16:51:20 +01:00
|
|
|
project and source files, designing application UIs, configuring projects for
|
|
|
|
|
building and running, and debugging your applications. To change
|
2011-09-27 11:53:38 +02:00
|
|
|
modes, click the icons, or use the \l{keyboard-shortcuts}
|
|
|
|
|
{corresponding keyboard shortcut}.
|
|
|
|
|
|
2013-05-30 17:02:15 +02:00
|
|
|
To hide the mode selector and to save space on the display, select
|
2020-06-30 09:51:45 +02:00
|
|
|
\uicontrol View > \uicontrol {Mode Selector Style} > \uicontrol Hidden.
|
2018-05-25 14:11:13 +02:00
|
|
|
To only show icons on the mode selector, select the \uicontrol {Icons Only}
|
|
|
|
|
style.
|
2019-03-29 15:10:22 +01:00
|
|
|
\endif
|
2012-02-17 16:25:43 +01:00
|
|
|
|
2023-03-09 14:03:11 +02:00
|
|
|
\if defined(qtdesignstudio)
|
|
|
|
|
The mode selector is hidden by default.
|
|
|
|
|
|
|
|
|
|
To show the mode selector, go to \uicontrol Views >
|
|
|
|
|
\uicontrol {Mode Selector Style} and select \uicontrol {Icons and Text}
|
|
|
|
|
or \uicontrol {Icons Only}.
|
|
|
|
|
\endif
|
|
|
|
|
|
2021-11-11 17:53:35 +01:00
|
|
|
|
2011-09-27 11:53:38 +02:00
|
|
|
You can use \QC in the following modes:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\li \uicontrol {\l{User Interface}{Welcome}} mode for opening projects,
|
2020-08-24 17:17:24 +02:00
|
|
|
tutorials, and examples.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2014-12-11 15:43:19 +01:00
|
|
|
\li \uicontrol{\l{Coding}{Edit}} mode for editing project and source
|
2011-09-27 11:53:38 +02:00
|
|
|
files.
|
|
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\li \uicontrol{\l{Designing User Interfaces}{Design}}
|
2020-05-28 12:06:16 +02:00
|
|
|
mode for designing and developing application user interfaces.
|
|
|
|
|
This mode is available for UI files.
|
2019-03-29 15:10:22 +01:00
|
|
|
\else
|
2021-02-22 18:21:47 +01:00
|
|
|
\li \uicontrol{\l{Design Views}{Design}}
|
2019-03-29 15:10:22 +01:00
|
|
|
mode for designing and developing application user interfaces.
|
2020-05-28 12:06:16 +02:00
|
|
|
As a designer, you'll do most of your work in this mode.
|
|
|
|
|
\endif
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\li \uicontrol{\l{Debugging}{Debug}}
|
|
|
|
|
\else
|
|
|
|
|
\li \uicontrol {\l{Debugging and Profiling}{Debug}}
|
|
|
|
|
\endif
|
|
|
|
|
mode for inspecting the state of your
|
2016-03-22 13:09:00 +01:00
|
|
|
application while debugging and for using code analysis tools
|
2020-05-28 12:06:16 +02:00
|
|
|
to detect memory leaks and profile code.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-03-29 15:10:22 +01:00
|
|
|
\if defined(qtcreator)
|
|
|
|
|
\li \uicontrol{\l{Specifying Build Settings}{Projects}} mode
|
|
|
|
|
for configuring project building and execution.
|
|
|
|
|
\else
|
|
|
|
|
\li \uicontrol{\l{Selecting the Preview Tool}{Projects}} mode
|
|
|
|
|
for selecting the tool to use for live preview.
|
|
|
|
|
\endif
|
|
|
|
|
This mode is available when a project is open.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\li \uicontrol{\l{Using the Help Mode}{Help}} mode for viewing
|
2019-03-29 15:10:22 +01:00
|
|
|
documentation.
|
2011-09-27 11:53:38 +02:00
|
|
|
|
|
|
|
|
\endlist
|
|
|
|
|
|
2020-05-28 12:06:16 +02:00
|
|
|
\if defined(qtcreator)
|
2014-12-11 15:43:19 +01:00
|
|
|
Certain actions in \QC trigger a mode change. Clicking on \uicontrol {Debug} >
|
|
|
|
|
\uicontrol {Start Debugging} > \uicontrol {Start Debugging} automatically switches to
|
|
|
|
|
\uicontrol {Debug} mode.
|
2020-05-28 12:06:16 +02:00
|
|
|
\endif
|
2019-04-12 16:51:44 +02:00
|
|
|
*/
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2019-04-12 16:51:44 +02:00
|
|
|
/*!
|
|
|
|
|
\page creator-output-panes.html
|
|
|
|
|
\if defined(qtdesignstudio)
|
2020-05-28 12:06:16 +02:00
|
|
|
\previouspage creator-views.html
|
|
|
|
|
\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
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
\image qtcreator-general-messages.png "General Messages"
|
2011-09-27 11:53:38 +02:00
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
The taskbar in \QC can display 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
|
|
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
Output is available on the taskbar in all \l{Selecting Modes}{modes}.
|
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
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
\image qtcreator-search-results.png "Search Results"
|
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
|
|
|
|
2018-05-25 13:57:10 +02:00
|
|
|
\image qtcreator-searchresults.png
|
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
|
|
|
|
|
|
|
|
\image qtcreator-application-output.png
|
|
|
|
|
|
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
|
|
|
|
2022-03-04 18:24:58 +01:00
|
|
|
\image qtcreator-compile-output.png "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
|
|
|
|
|
|
|
|
\image qtcreator-todo-pane.png
|
|
|
|
|
|
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
|
|
|
|
2022-07-11 16:54:45 +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.
|
|
|
|
|
|
|
|
|
|
\image qtcreator-todo-excluded-files.png "Excluded Files in To-Do preferences"
|
|
|
|
|
|
|
|
|
|
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
|
|
|
*/
|