aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtcreator
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2024-04-15 08:33:39 +0200
committerEike Ziller <eike.ziller@qt.io>2024-04-15 08:33:39 +0200
commit310d3cc041f5617adef10d37605264fda2eda6d3 (patch)
tree8483160745ce72fd2983fe8ad4f4359a98c0b2df /doc/qtcreator
parent559c57e29c7fd441f3f859c24f3e1483101ded5d (diff)
parent25d6c4f4e902e43a2a36e054594cfa16941051fd (diff)
Merge remote-tracking branch 'origin/13.0'
Conflicts: src/plugins/remotelinux/linuxdevice.cpp Change-Id: Iad28a1bfa4632922931d351d2fe27757cf21dec3
Diffstat (limited to 'doc/qtcreator')
-rw-r--r--doc/qtcreator/images/qtcreator-new-project.webpbin9902 -> 11666 bytes
-rw-r--r--doc/qtcreator/images/qtcreator-preferences-build-run-general.webpbin13754 -> 14392 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-setting-breakpoint1.pngbin33530 -> 0 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-setting-breakpoint1.webpbin0 -> 13170 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-setting-breakpoint2.pngbin7623 -> 0 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-setting-breakpoint2.webpbin0 -> 6230 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-setting-breakpoint3.pngbin32080 -> 0 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-setting-breakpoint3.webpbin0 -> 23026 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-stack.pngbin57606 -> 0 bytes
-rw-r--r--doc/qtcreator/images/qtquick-example-stack.webpbin0 -> 25204 bytes
-rw-r--r--doc/qtcreator/src/android/androiddev.qdoc3
-rw-r--r--doc/qtcreator/src/debugger/qtquick-debugger-example.qdoc28
-rw-r--r--doc/qtcreator/src/editors/creator-code-syntax.qdoc6
13 files changed, 22 insertions, 15 deletions
diff --git a/doc/qtcreator/images/qtcreator-new-project.webp b/doc/qtcreator/images/qtcreator-new-project.webp
index 1c0570b8b6..d073622419 100644
--- a/doc/qtcreator/images/qtcreator-new-project.webp
+++ b/doc/qtcreator/images/qtcreator-new-project.webp
Binary files differ
diff --git a/doc/qtcreator/images/qtcreator-preferences-build-run-general.webp b/doc/qtcreator/images/qtcreator-preferences-build-run-general.webp
index c763689496..4826e22fc6 100644
--- a/doc/qtcreator/images/qtcreator-preferences-build-run-general.webp
+++ b/doc/qtcreator/images/qtcreator-preferences-build-run-general.webp
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-setting-breakpoint1.png b/doc/qtcreator/images/qtquick-example-setting-breakpoint1.png
deleted file mode 100644
index 67da2556c7..0000000000
--- a/doc/qtcreator/images/qtquick-example-setting-breakpoint1.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-setting-breakpoint1.webp b/doc/qtcreator/images/qtquick-example-setting-breakpoint1.webp
new file mode 100644
index 0000000000..0962179a6e
--- /dev/null
+++ b/doc/qtcreator/images/qtquick-example-setting-breakpoint1.webp
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-setting-breakpoint2.png b/doc/qtcreator/images/qtquick-example-setting-breakpoint2.png
deleted file mode 100644
index 788cacaf65..0000000000
--- a/doc/qtcreator/images/qtquick-example-setting-breakpoint2.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-setting-breakpoint2.webp b/doc/qtcreator/images/qtquick-example-setting-breakpoint2.webp
new file mode 100644
index 0000000000..ab4b1c3cdf
--- /dev/null
+++ b/doc/qtcreator/images/qtquick-example-setting-breakpoint2.webp
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-setting-breakpoint3.png b/doc/qtcreator/images/qtquick-example-setting-breakpoint3.png
deleted file mode 100644
index 5d197ff92c..0000000000
--- a/doc/qtcreator/images/qtquick-example-setting-breakpoint3.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-setting-breakpoint3.webp b/doc/qtcreator/images/qtquick-example-setting-breakpoint3.webp
new file mode 100644
index 0000000000..dfee8bc7cc
--- /dev/null
+++ b/doc/qtcreator/images/qtquick-example-setting-breakpoint3.webp
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-stack.png b/doc/qtcreator/images/qtquick-example-stack.png
deleted file mode 100644
index 943b0af3d7..0000000000
--- a/doc/qtcreator/images/qtquick-example-stack.png
+++ /dev/null
Binary files differ
diff --git a/doc/qtcreator/images/qtquick-example-stack.webp b/doc/qtcreator/images/qtquick-example-stack.webp
new file mode 100644
index 0000000000..2bf986d004
--- /dev/null
+++ b/doc/qtcreator/images/qtquick-example-stack.webp
Binary files differ
diff --git a/doc/qtcreator/src/android/androiddev.qdoc b/doc/qtcreator/src/android/androiddev.qdoc
index c0fe2cedea..61fbfb5cf7 100644
--- a/doc/qtcreator/src/android/androiddev.qdoc
+++ b/doc/qtcreator/src/android/androiddev.qdoc
@@ -11,6 +11,9 @@
You can connect Android devices to the development PC using USB cables to
build, run, debug, and analyze applications from \QC.
+ \note \QC only detects a device and connects to it after you
+ \l{Debugging on Android Devices}{enable USB debugging on it}.
+
To develop for Android, you must install a tool chain for building
applications for Android devices on the development PC. \QC can automatically
download and install the tool chain and create a suitable build and run
diff --git a/doc/qtcreator/src/debugger/qtquick-debugger-example.qdoc b/doc/qtcreator/src/debugger/qtquick-debugger-example.qdoc
index 614219ce63..30aa5c1358 100644
--- a/doc/qtcreator/src/debugger/qtquick-debugger-example.qdoc
+++ b/doc/qtcreator/src/debugger/qtquick-debugger-example.qdoc
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 The Qt Company Ltd.
+// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
// **********************************************************************
@@ -47,13 +47,13 @@
border on the line where the \c startNewGame() function is
called (1).
- \image qtquick-example-setting-breakpoint1.png
+ \image qtquick-example-setting-breakpoint1.webp {Breakpoint in the code editor}
The red circle indicates that a breakpoint is now set on that line
number.
- \li Select \uicontrol Debug > \uicontrol {Start Debugging} >
- \uicontrol {Start Debugging of Startup Project} or press
+ \li Go to \uicontrol Debug > \uicontrol {Start Debugging} >
+ \uicontrol {Start Debugging of Startup Project}, or press
\key{F5}.
\li Once the Same Game application starts, select \uicontrol {Puzzle}
@@ -63,26 +63,26 @@
\li When the debugger hits the breakpoint, it interrupts the
application. \QC displays the nested function calls leading to the
- current position as a call stack trace (1).
+ current position as a call stack trace.
- \image qtquick-example-setting-breakpoint2.png
+ \image qtquick-example-setting-breakpoint2.webp {Debugger view}
- \li Click the \inlineimage icons/debugger_stepinto_small.png
- (\uicontrol {Step Into}) button on the toolbar or press \key F11 to step
+ \li Select \inlineimage icons/debugger_stepinto_small.png
+ (\uicontrol {Step Into}) on the toolbar or press \key F11 to step
into the code in the stack. The samegame.js file opens in the code
editor at the function that starts a new game.
- \image qtquick-example-stack.png
+ \image qtquick-example-stack.webp {Stack view}
\li Examine the local variables in the \uicontrol Locals
view. Step through the code to see how the information changes in
the view.
\li Add a breakpoint at the end of the \c {startNewGame()} function, and
- click \inlineimage icons/qtcreator-debugging-continue.png
+ select \inlineimage icons/qtcreator-debugging-continue.png
(\uicontrol Continue) to hit the breakpoint.
- \image qtquick-example-setting-breakpoint3.png
+ \image qtquick-example-setting-breakpoint3.webp {Second breakpoint in the Breakpoints view}
\li To execute JavaScript commands in the current context, open the
\uicontrol {QML Debugger Console}.
@@ -97,11 +97,11 @@
\image qtquick-example-qml-inspector.png
- \li Select \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.
- \li Select \uicontrol Debug > \uicontrol Select to activate selection
- mode and then click the \uicontrol Menu button to move into the
+ \li Go to \uicontrol Debug > \uicontrol Select to activate selection
+ mode, and then select \uicontrol Menu to move into the
\uicontrol menuButton component in the \uicontrol Locals view and
the code editor.
diff --git a/doc/qtcreator/src/editors/creator-code-syntax.qdoc b/doc/qtcreator/src/editors/creator-code-syntax.qdoc
index 65f8e5d115..5a383f9df8 100644
--- a/doc/qtcreator/src/editors/creator-code-syntax.qdoc
+++ b/doc/qtcreator/src/editors/creator-code-syntax.qdoc
@@ -79,7 +79,11 @@
If you hide the annotations, you can move the mouse pointer over an icon to
view them.
- \sa {Analyze code with Clang-Tidy and Clazy}, {JavaScript and QML Checks}
+ \if defined(qtcreator)
+ \sa {Analyze code with Clang-Tidy and Clazy}
+ \endif
+
+ \sa {JavaScript and QML Checks}
*/
/*!