aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtcreator/src/projects
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2024-02-14 13:00:41 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2024-02-14 12:51:14 +0000
commitc38c0fc863153883cf1305881230210cc60b602f (patch)
tree3dc7b0ce6f35d9a32a5310c2d2e6d62518d58cc8 /doc/qtcreator/src/projects
parent0a1783d656964df60f1ec462f81c56ea38100dc5 (diff)
Doc: Describe highlighting source lines matching assembly code
...in Compiler Explorer Task-number: QTCREATORBUG-30209 Change-Id: I91d9e82ee8fac0ddb3196a39f9f5f0baf1cac184 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'doc/qtcreator/src/projects')
-rw-r--r--doc/qtcreator/src/projects/creator-only/creator-how-to-create-compiler-explorer-setup.qdoc17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/qtcreator/src/projects/creator-only/creator-how-to-create-compiler-explorer-setup.qdoc b/doc/qtcreator/src/projects/creator-only/creator-how-to-create-compiler-explorer-setup.qdoc
index 08bc4764434..b35df2e6707 100644
--- a/doc/qtcreator/src/projects/creator-only/creator-how-to-create-compiler-explorer-setup.qdoc
+++ b/doc/qtcreator/src/projects/creator-only/creator-how-to-create-compiler-explorer-setup.qdoc
@@ -1,20 +1,20 @@
-// Copyright (C) 2023 The Qt Company Ltd.
+// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\page creator-how-to-create-compiler-explorer-sessions.html
\previouspage creator-how-tos.html
- \ingroup creator-how-to-projects-files
+ \ingroup creator-how-to-analyze
\title Create compiler explorer sessions
To create a compiler explorer session for a C++ or Python project:
\list 1
- \li Select \uicontrol File > \uicontrol {New File} >
- \uicontrol {Compiler Explorer} > \uicontrol C++ or \uicontrol Python
- > \uicontrol Choose.
+ \li Go to \uicontrol File > \uicontrol {New File}.
+ \li Select \uicontrol {Compiler Explorer} > \uicontrol C++ or
+ \uicontrol Python > \uicontrol Choose.
\li Follow the instructions of the wizard to create an example
compiler explorer session as a JSON-based \c .qtce file and to open
it.
@@ -29,7 +29,7 @@
\page creator-how-to-explore-compiler-code.html
\previouspage creator-how-tos.html
- \ingroup creator-how-to-build
+ \ingroup creator-how-to-analyze
\title Explore compiler code
@@ -45,7 +45,7 @@
To check how a compiler sees C++ or Python code:
\list 1
- \li Select \uicontrol Tools > \uicontrol {Compiler Explorer} >
+ \li Go to \uicontrol Tools > \uicontrol {Compiler Explorer} >
\uicontrol {Open Compiler Explorer}.
\li In the \uicontrol Language field, select the language to compile.
\li In the \uicontrol Compiler field, select a compiler to see the
@@ -53,6 +53,9 @@
\li Enter code to see the resulting assembly code.
\endlist
+ Hover the mouse over the assembly code, to have the matching source lines
+ highlighted.
+
You can also see the application status and output.
To explore several compilers, select \uicontrol {Add Compiler}.