Doc: move debugger settings to separate section

Update screenshots

Change-Id: I6b69f812284d53d2fde4ee957dbfff1b0e56a032
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Leena Miettinen
2012-03-21 12:11:40 +01:00
parent baab3cb421
commit d75c404078
5 changed files with 27 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -54,8 +54,9 @@
\list 1 \list 1
\o Select \gui Projects, and then select the \gui QML check box in the \o In \gui Projects mode \gui {Run Settings}, select the
\gui {Run Settings}, to enable QML debugging. \gui {Enable QML} check box in the \gui {Debugger Settings} to
enable QML debugging.
\o For Qt 4.7, compile the QML Inspector debugging helper. For more information, \o For Qt 4.7, compile the QML Inspector debugging helper. For more information,
see \l{Debugging Helpers for QML}. see \l{Debugging Helpers for QML}.
@@ -82,7 +83,8 @@
functions. Therefore, you must make sure that the port is properly functions. Therefore, you must make sure that the port is properly
protected by a firewall. protected by a firewall.
\o In the \gui {Run Settings}, select the \gui QML check box to enable \o In the \gui {Run Settings}, \gui {Debugger Settings} section, select
the \gui {Enable QML} check box to enable
QML debugging. QML debugging.
\o Select \gui {Build > Rebuild Project} to clean and rebuild the \o Select \gui {Build > Rebuild Project} to clean and rebuild the
@@ -98,7 +100,9 @@
\section1 Mixed C++/QML Debugging \section1 Mixed C++/QML Debugging
To debug both the C++ and QML parts of your application at the same time, To debug both the C++ and QML parts of your application at the same time,
select the checkboxes for both languages in the \gui{Run Settings}. select the \gui {Enable C++} and \gui {Enable QML} checkboxes for both
languages in the \gui {Debugger Settings} section in the project
\gui{Run Settings}.
\image qtquick-debugging-settings.png \image qtquick-debugging-settings.png

View File

@@ -0,0 +1,19 @@
\section2 Specifying Debugger Settings
\image qtquick-debugging-settings.png "Debugger Settings"
To select the languages to debug, select the \gui {Enable C++} and
\gui {Enable QML} check boxes. The \gui {Debug port} is the port to
communicate with the debugger. You can use any free port in the registered
or dynamic port range.
\note Opening a socket at a well-known port presents a security risk. Anyone
on the Internet could connect to the application that you are debugging and
execute any JavaScript functions. Therefore, you must make sure that the
port is properly protected by a firewall.
If you debug more than one application at a time, you might receive an error
message stating that the port is already in use. Specify a free port number
in \gui {Debug port} and try again.
For more information about debugging, see \l{Debugging}.

View File

@@ -13,16 +13,6 @@
\o In the \gui {Main QML file}, select the file that \QQV will be \o In the \gui {Main QML file}, select the file that \QQV will be
started with. started with.
\o In the \gui Debugger group, select the languages to debug:
\gui{C++} and \gui QML. \gui {Debug port} is the port to access
\QQV. You can use any free port in the registered port range.
For more information, see \l{Debugging Qt Quick Projects}.
\endlist \endlist
\note Opening a socket at a well-known port presents a security risk. Anyone
on the Internet could connect to the application that you are debugging and
execute any JavaScript functions. Therefore, you must make sure that the
port is properly protected by a firewall.
\image qmldesigner-run-settings.png "Run settings for Qt Quick UI projects" \image qmldesigner-run-settings.png "Run settings for Qt Quick UI projects"