diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2020-04-15 14:59:54 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2020-04-15 15:10:01 +0000 |
commit | 475a0bd0446f7283b89fc134ac995d38f3695149 (patch) | |
tree | 247b155ff4088b74ffb0d60e61687607e1858595 /doc/qtcreator/src/projects | |
parent | 07350edf44417c489ee3584848aa5427cca14ec8 (diff) |
Doc: Update info about adding libraries to projects
Task-number: QTCREATORBUG-23364
Change-Id: Iafe73f867891c95fef20ed5681ab10957f30ecf6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc/qtcreator/src/projects')
-rw-r--r-- | doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc index 0a6371601d9..1a5248ca4ef 100644 --- a/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc +++ b/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc @@ -101,25 +101,24 @@ \section1 Example of Adding Internal Libraries - The following example describes how to add a statically linked internal - library to your project. + To add an internal library to your project: \list 1 - \li Choose \uicontrol File > \uicontrol {New File or Project} > - \uicontrol Library > \uicontrol {C++ Library} to create the library. + \li Select \uicontrol File > \uicontrol {New File or Project} > + \uicontrol Library > \uicontrol {C++ Library}. - The \uicontrol {Introduction and Product Location} dialog opens. + \li Select \uicontrol Choose to open the \uicontrol {Project Location} + dialog. - \image qtcreator-add-library-wizard-ex-1.png "Introduction and Product Location dialog" - - \li In the \uicontrol Type field, select \uicontrol {Statically Linked Library}. + \image qtcreator-add-library-wizard-ex-1.png "Project Location dialog" \li In the \uicontrol Name field, give a name for the library. For example, \b mylib. \li Follow the instructions of the wizard until you get to the - \uicontrol {Project Management} dialog. In the \uicontrol {Add to project} + \uicontrol {Project Management} dialog. In the + \uicontrol {Add as a subproject to project} list, select a project. For example, \b myapp. \li In the \uicontrol Projects view, right-click the project name to open the @@ -127,9 +126,10 @@ \uicontrol {Add Library} > \uicontrol {Internal Library} > \uicontrol Next. - \li In the \uicontrol Library field, select \b mylib and click \uicontrol Next. + \li In the \uicontrol Library field, select \b mylib, and then select + \uicontrol Next. - \li Click \uicontrol Finish to add the following library declaration to the + \li Select \uicontrol Finish to add the following library declaration to the project file: \code |