Commit 9a7cb7b2 authored by Leena Miettinen's avatar Leena Miettinen Committed by hjk
Browse files

Doc - Fix issues in the tutorial.

Task-number: QTCREATORBUG-1934
Reviewed-by: Friedemann Kleint
(cherry picked from commit 557572bb)
parent b1bfb147
...@@ -2697,7 +2697,7 @@ ...@@ -2697,7 +2697,7 @@
\list 1 \list 1
\o Select \gui{File > New File or Project > Qt Application Project > Mobile Qt \o Select \gui{File > New File or Project > Qt C++ Project > Mobile Qt
Application > Choose}. Application > Choose}.
\image qtcreator-new-mobile-project.png "New File or Project dialog" \image qtcreator-new-mobile-project.png "New File or Project dialog"
...@@ -3158,11 +3158,14 @@ ...@@ -3158,11 +3158,14 @@
\o In the \gui {Create in} field, enter the path for the project files. For example, \o In the \gui {Create in} field, enter the path for the project files. For example,
\c {C:\Qt\examples}, and then click \gui{Next}. \c {C:\Qt\examples}, and then click \gui{Next}.
The \gui{Select Required Qt Versions} dialog opens. The target setting dialog opens.
\image qtcreator-new-project-qt-versions.png "Target setting dialog"
\image qtcreator-new-project-qt-versions.png "Select Required Qt Versions dialog" \o Select the Qt versions to use as build targets for your project, and click
\gui{Next}.
\o Click \gui{Next} to use the Qt version set in the path in your project. \note If you have only one Qt version installed, this dialog is skipped.
The \gui{Class Information} dialog opens. The \gui{Class Information} dialog opens.
...@@ -3252,7 +3255,7 @@ ...@@ -3252,7 +3255,7 @@
\o Drag and drop a \gui{Text Edit} widget (\l{http://doc.qt.nokia.com/4.7-snapshot/qtextedit.html}{QTextEdit}) \o Drag and drop a \gui{Text Edit} widget (\l{http://doc.qt.nokia.com/4.7-snapshot/qtextedit.html}{QTextEdit})
to the form. to the form.
\o Select the screen area and click \gui{Lay out Vertically} (or press \gui{Ctr+V}) \o Select the screen area and click \gui{Lay out Vertically} (or press \gui{Ctrl+L})
to apply a vertical layout (\l{http://doc.qt.nokia.com/4.7-snapshot/qvboxlayout.html}{QVBoxLayout}). to apply a vertical layout (\l{http://doc.qt.nokia.com/4.7-snapshot/qvboxlayout.html}{QVBoxLayout}).
\image qtcreator-textfinder-ui.png "Text Finder UI" \image qtcreator-textfinder-ui.png "Text Finder UI"
...@@ -3293,11 +3296,11 @@ ...@@ -3293,11 +3296,11 @@
\list 1 \list 1
\o In the \gui{Projects} view, double-click the \c{textfinder.h} file \o In the \gui{Projects} pane in the \gui {Edit view}, double-click the \c{textfinder.h} file
to open it for editing. to open it for editing.
\o Add a private function \o Add a private function
to the \c{private} section, after the \c{Ui::TextFinder} function, as to the \c{private} section, after the \c{Ui::TextFinder} pointer, as
illustrated by the following code snippet: illustrated by the following code snippet:
\snippet examples/textfinder/textfinder.h 0 \snippet examples/textfinder/textfinder.h 0
...@@ -3311,7 +3314,7 @@ ...@@ -3311,7 +3314,7 @@
\list 1 \list 1
\o In the \gui{Projects} view, double-click the textfinder.cpp file \o In the \gui{Projects} pane in the \gui Edit view, double-click the textfinder.cpp file
to open it for editing. to open it for editing.
\o Add code to load a text file using \o Add code to load a text file using
...@@ -3389,7 +3392,7 @@ ...@@ -3389,7 +3392,7 @@
\section1 Compiling and Running Your Program \section1 Compiling and Running Your Program
Now that you have all the necessary files, click the \inlineimage qtcreator-run.png Now that you have all the necessary files, click the \inlineimage qtcreator-run.png
button to compile your program. button to compile and run your program.
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment