Doc: Update info about adding libraries to projects

Task-number: QTCREATORBUG-23364
Change-Id: Iafe73f867891c95fef20ed5681ab10957f30ecf6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Leena Miettinen
2020-04-15 14:59:54 +02:00
parent 07350edf44
commit 475a0bd044
3 changed files with 11 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -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