forked from qt-creator/qt-creator
Doc: List Tutorials as a separate category on the front page
Add the following topics to the creator-tutorials group: - Building and Running an Example - Debugging a C++ Example Application Task-number: QTCREATORBUG-29361 Change-Id: Ib6de92e99caf552ee8337b49af48bd04d6760474 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -8,28 +8,32 @@
|
||||
// **********************************************************************
|
||||
|
||||
/*!
|
||||
\previouspage creator-debugging-qml.html
|
||||
\page creator-debugging-example.html
|
||||
\nextpage creator-qml-debugging-example.html
|
||||
\previouspage creator-tutorials.html
|
||||
\nextpage creator-how-tos.html
|
||||
|
||||
\title Debugging a C++ Example Application
|
||||
\ingroup creator-tutorials
|
||||
|
||||
This section uses the \l{Creating a Qt Widget Based Application}{TextFinder}
|
||||
\title Debugging a C++ Application
|
||||
|
||||
\brief How to debug a C++ application.
|
||||
|
||||
This tutorial uses the \l{Creating a Qt Widget Based Application}{TextFinder}
|
||||
example to illustrate how to debug Qt C++ applications in the
|
||||
\uicontrol Debug mode.
|
||||
|
||||
TextFinder reads a text file into QString and then displays it with
|
||||
QTextEdit. To look at the TextFinder class and see the stored data, place
|
||||
a breakpoint in textfinder.cpp, as follows:
|
||||
QTextEdit. To look at the TextFinder class and see the stored data:
|
||||
|
||||
\list 1
|
||||
|
||||
\li Click in between the line number and the window border on the line
|
||||
where we change the cursor position to set a breakpoint.
|
||||
\li In textfinder.cpp, click between the line number and the window
|
||||
border on the line where we change the cursor position to set a
|
||||
breakpoint.
|
||||
|
||||
\image qtcreator-setting-breakpoint1.png
|
||||
|
||||
\li Select \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||
\li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
|
||||
\uicontrol {Start Debugging of Startup Project} or press \key F5.
|
||||
|
||||
\li To view information about the breakpoint, go to the
|
||||
@@ -91,4 +95,5 @@
|
||||
(\uicontrol {Step Into}), and \inlineimage icons/debugger_stepout_small.png
|
||||
(\uicontrol {Step Out}).
|
||||
|
||||
\sa {Creating a Qt Widget Based Application}, {Debugging}
|
||||
*/
|
||||
|
||||
@@ -90,11 +90,11 @@
|
||||
objects and user interfaces, as well as execute JavaScript
|
||||
expressions.
|
||||
|
||||
\li \l{Debugging a C++ Example Application}
|
||||
\li \l{Debugging a C++ Application}
|
||||
|
||||
Illustrates how to debug C++ applications in \QC.
|
||||
|
||||
\li \l{Debugging a Qt Quick Example Application}
|
||||
\li \l{Debugging a Qt Quick Application}
|
||||
|
||||
Illustrates how to debug Qt Quick applications in \QC.
|
||||
|
||||
|
||||
@@ -13,14 +13,17 @@
|
||||
\previouspage creator-expressions-view.html
|
||||
\nextpage creator-qml-performance-monitor.html
|
||||
\else
|
||||
\previouspage creator-debugging-example.html
|
||||
\nextpage creator-troubleshooting-debugging.html
|
||||
\previouspage creator-tutorials.html
|
||||
\nextpage creator-how-tos.html
|
||||
\endif
|
||||
|
||||
\title Debugging a Qt Quick Example Application
|
||||
\ingroup creator-tutorials
|
||||
|
||||
This section uses the
|
||||
\l{QML Advanced Tutorial}{Same Game}
|
||||
\title Debugging a Qt Quick Application
|
||||
|
||||
\brief How to debug a Qt Quick application.
|
||||
|
||||
This tutorial uses the \l{QML Advanced Tutorial}{Same Game}
|
||||
example application to illustrate how to debug Qt Quick applications in the
|
||||
\uicontrol Debug mode.
|
||||
|
||||
@@ -28,7 +31,7 @@
|
||||
\l{Debugging Qt Quick Projects}.
|
||||
|
||||
\if defined(qtdesignstudio)
|
||||
\note In this section, you are using advanced menu items. These are not
|
||||
\note In this tutorial, you are using advanced menu items. These are not
|
||||
visible by default. To toggle the visibility of advanced menu items, see
|
||||
\l{Customizing the Menu}.
|
||||
|
||||
@@ -107,4 +110,5 @@
|
||||
|
||||
\endlist
|
||||
|
||||
\sa {Debugging Qt Quick Projects}
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
\endif
|
||||
|
||||
For an example of how to debug Qt Quick Projects, see
|
||||
\l{Debugging a Qt Quick Example Application}.
|
||||
\l{Debugging a Qt Quick Application}.
|
||||
|
||||
\if defined(qtdesignstudio)
|
||||
\note In this section, you are using advanced menu items. These are not
|
||||
|
||||
Reference in New Issue
Block a user