forked from qt-creator/qt-creator
Doc: Use defines to hide info not related to Qt Quick projects
Change-Id: I70ee417aebcddd32ef9f6419e3000fdfd02c9707 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -176,7 +176,11 @@
|
||||
\li Select \uicontrol File > \uicontrol {New File or Project} > \uicontrol Application >
|
||||
\uicontrol {Qt Quick Application} > \uicontrol Choose, and
|
||||
follow the instructions of the wizard. For more information, see
|
||||
\if defined(qtcreator)
|
||||
\l{Creating Qt Quick Projects}.
|
||||
\else
|
||||
\l{Creating UI Prototype Projects}.
|
||||
\endif
|
||||
|
||||
\li To specify settings for deploying applications to Android, select
|
||||
\uicontrol Projects > \uicontrol Run for the \uicontrol Android kit, and then select
|
||||
|
||||
@@ -49,8 +49,10 @@
|
||||
To specify settings for application packages, select \uicontrol Projects >
|
||||
\uicontrol {Build Android APK} > \uicontrol Details.
|
||||
|
||||
\if defined(qtcreator)
|
||||
For more information about options that you have for running applications,
|
||||
see \l {Specifying Run Settings for Android Devices}.
|
||||
\endif
|
||||
|
||||
\section1 Using Ministro to Install Qt Libraries
|
||||
|
||||
|
||||
@@ -98,9 +98,11 @@
|
||||
If the files change outside \QC, select \inlineimage reload_gray.png
|
||||
(\uicontrol {Reload Editor}) to compare them again and to show the results.
|
||||
|
||||
\if defined(qtcreator)
|
||||
To send a chunk of changes to a \l{Pasting and Fetching Code Snippets}
|
||||
{code pasting service}, select \uicontrol {Send Chunk to CodePaster} in the
|
||||
context menu.
|
||||
\endif
|
||||
|
||||
\section1 Changing the Colors
|
||||
|
||||
|
||||
@@ -46,8 +46,10 @@
|
||||
\uicontrol Options > \uicontrol{Text Editor}.
|
||||
|
||||
These settings apply to all projects. To specify editor behavior for an open
|
||||
project, select \uicontrol Projects > \uicontrol Editor. For more
|
||||
information, see \l{Specifying Editor Settings}.
|
||||
project, select \uicontrol Projects > \uicontrol Editor.
|
||||
\if defined(qtcreator)
|
||||
For more information, see \l{Specifying Editor Settings}.
|
||||
\endif
|
||||
|
||||
You can also specify indentation settings separately for C++ and QML files
|
||||
either globally or for the open project. For more information, see
|
||||
@@ -68,11 +70,10 @@
|
||||
\li Set \l{Indenting Text or Code}{tabs, indentation, the handling of
|
||||
whitespace, and mouse operations} in \uicontrol Behavior.
|
||||
|
||||
\li Set various display properties, for example,
|
||||
\li Set various display properties, such as
|
||||
\l{Highlighting and folding blocks}
|
||||
{highlighting and folding blocks}, text wrapping or
|
||||
\l{Moving to symbol definition or declaration}
|
||||
{moving to symbol definition or declaration} in \uicontrol Display.
|
||||
{highlighting and folding blocks} or text
|
||||
wrapping in \uicontrol Display.
|
||||
|
||||
\li Add, modify, and remove \l{Editing Code Snippets}{code snippets} in
|
||||
\uicontrol Snippets.
|
||||
|
||||
@@ -156,9 +156,11 @@
|
||||
Leave the field empty to search through the file
|
||||
system.
|
||||
|
||||
\if defined(qtcreator)
|
||||
\li Select \uicontrol {Silver Searcher} to use the
|
||||
experimental Silver Searcher plugin. For more
|
||||
information, see \l{Enabling Silver Searcher}.
|
||||
\endif
|
||||
|
||||
\endlist
|
||||
|
||||
@@ -167,9 +169,11 @@
|
||||
|
||||
\li \uicontrol {Open Documents} searches from all open files.
|
||||
|
||||
\if defined(qtcreator)
|
||||
\li \uicontrol {Clang Query Project} explores the Clang abstract
|
||||
syntax tree (AST) using AST matcher expressions. For more
|
||||
information, see \l{Exploring Clang AST}.
|
||||
\endif
|
||||
|
||||
\endlist
|
||||
|
||||
@@ -213,8 +217,14 @@
|
||||
(\uicontrol {New Search}) button.
|
||||
|
||||
\note You can use \uicontrol {Advanced Find} also to search for symbols. For
|
||||
more information, see \l{Finding Symbols}.
|
||||
more information, see
|
||||
\if defined(qtcreator)
|
||||
\l{Finding Symbols}.
|
||||
\else
|
||||
\l{Finding QML Types}.
|
||||
\endif
|
||||
|
||||
\if defined(qtcreator)
|
||||
\section1 Enabling Silver Searcher
|
||||
|
||||
You can use Silver Searcher as a search engine in \QC if you install
|
||||
@@ -269,4 +279,5 @@
|
||||
|
||||
You can view the results of the query as links to code positions in the
|
||||
\uicontrol {Search Results} output pane.
|
||||
\endif
|
||||
*/
|
||||
|
||||
@@ -128,8 +128,7 @@
|
||||
|
||||
\li To open files that belong to a project, double-click them in the
|
||||
project tree. Files open in the appropriate editor, according to the
|
||||
file type. For example, code source files open in the code editor
|
||||
and image files in the \l{Viewing Images}{image viewer}.
|
||||
file type. For example, code source files open in the code editor.
|
||||
|
||||
\li To bring up a context menu containing the actions most commonly
|
||||
needed, right-click an item in the project tree. For example,
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
|
||||
\section1 Qt for Device Creation Deployment Steps
|
||||
|
||||
\if defined(qtcreator)
|
||||
The deployment steps depend on the Qt for Device Creation version specified
|
||||
in the kit.
|
||||
|
||||
@@ -136,6 +137,7 @@
|
||||
When developing with Qt for Device Creation version 5.9 or later, you can
|
||||
specify the deployment steps described in this section in addition to the
|
||||
generic deployment steps.
|
||||
\endif
|
||||
|
||||
To execute custom commands when the application is deployed to the device,
|
||||
select \uicontrol {Add Deploy Step} > \uicontrol {Run Custom Remote Command}
|
||||
@@ -144,6 +146,7 @@
|
||||
To have your application launch on boot, select \uicontrol {Add Deploy Step}
|
||||
> \uicontrol {Change Default Application}.
|
||||
|
||||
\if defined(qtcreator)
|
||||
\include creator-projects-cmake-deploying.qdocinc cmake deploying embedded
|
||||
|
||||
\endif
|
||||
*/
|
||||
|
||||
@@ -48,8 +48,11 @@
|
||||
\uicontrol {Application Output} view.
|
||||
|
||||
Choose \uicontrol {Projects > Embedded Linux > Run} to view the settings for deploying
|
||||
the application to the connected device. For more information, see
|
||||
the application to the connected device.
|
||||
\if defined(qtcreator)
|
||||
For more information, see
|
||||
\l{Specifying Run Settings for Linux-Based Devices}.
|
||||
\endif
|
||||
|
||||
Debugging works transparently if GDB server is installed on the device and
|
||||
it is compatible with the GDB on the host.
|
||||
|
||||
@@ -31,8 +31,12 @@
|
||||
|
||||
/*!
|
||||
\contentspage index.html
|
||||
\previouspage technical-support.html
|
||||
\page creator-acknowledgements.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage studio-terms.html
|
||||
\else
|
||||
\previouspage technical-support.html
|
||||
\endif
|
||||
|
||||
\title Acknowledgements
|
||||
|
||||
|
||||
@@ -76,8 +76,10 @@
|
||||
|
||||
\image qtcreator-application-output.png
|
||||
|
||||
\if defined(qtcreator)
|
||||
For more information on the options you have, see
|
||||
\l{Specifying Run Settings}.
|
||||
\endif
|
||||
|
||||
\include linux-mobile/creator-projects-running-generic-linux.qdocinc running on embedded linux
|
||||
|
||||
|
||||
@@ -51,9 +51,11 @@
|
||||
Another typical cause for similar performance problems is creating,
|
||||
painting, or updating invisible items, which takes time in the GUI thread.
|
||||
|
||||
\if defined(qtcreator)
|
||||
Triggering long-running C++ functions, such as paint methods and signal
|
||||
handlers, also takes time in the GUI thread, but is more difficult to see in
|
||||
the QML Profiler, because it does not profile C++ code.
|
||||
\endif
|
||||
|
||||
To find excessive use of JavaScript, check the frame rate in animations and
|
||||
Scene Graph events, look for gaps, and check whether the application behaves
|
||||
@@ -67,10 +69,12 @@
|
||||
are never visible to the users, because they are located outside the screen
|
||||
or hidden beneath other, visible elements.
|
||||
|
||||
\if defined(qtcreator)
|
||||
If frames get dropped even though JavaScript is not being run, and there are
|
||||
large, unexplained gaps in the timeline, check your custom QQuickItem
|
||||
implementations. You can use \l{Using Valgrind Code Analysis Tools}
|
||||
{Valgrind} or other general purpose profilers to analyze C++ code.
|
||||
\endif
|
||||
|
||||
\section1 Using QML Profiler
|
||||
|
||||
@@ -82,8 +86,10 @@
|
||||
for the project. For more information, see
|
||||
\l{Setting Up QML Debugging}.
|
||||
|
||||
\if defined(qtcreator)
|
||||
\li In the \uicontrol Projects mode, select a \l{glossary-buildandrun-kit}
|
||||
{kit} with Qt version 4.7.4 or later.
|
||||
\endif
|
||||
|
||||
\note To profile applications on \l{glossary-device}{devices}, you
|
||||
must install Qt 4.7.4 or later libraries on them.
|
||||
|
||||
@@ -143,7 +143,9 @@
|
||||
\endqml
|
||||
\endlist
|
||||
|
||||
\if defined(qtcreator)
|
||||
\include qtquick-states-scxml.qdocinc scxml state machines
|
||||
\endif
|
||||
|
||||
\section1 Animating Transitions Between States
|
||||
|
||||
|
||||
Reference in New Issue
Block a user