diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2024-03-20 16:29:45 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2024-03-20 15:59:21 +0000 |
commit | d644632382f4a6f7f68e35cf392d794073675799 (patch) | |
tree | c324fea0d97a99133e72a33c01dd0f4582d61026 | |
parent | 1be9f9cdc7c2ea7ec45a8667b290cdd6822a2b1b (diff) |
Doc: Remove references to CMake from a qmake-specific topic
Fixes: QTCREATORBUG-30580
Change-Id: Ic722ca8c6cfcf570aec48eb957ebfdc2ec929011
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc | 22 |
1 files changed, 7 insertions, 15 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 b96eafb5e7..c4f8d905a3 100644 --- a/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc +++ b/doc/qtcreator/src/projects/creator-only/creator-projects-libraries.qdoc @@ -120,7 +120,7 @@ \list 1 - \li Select \uicontrol File > \uicontrol {New Project} > + \li Go to \uicontrol File > \uicontrol {New Project}, and select \uicontrol Library > \uicontrol {C++ Library}. If your top level project is a subdirs project or contains one, you may add the library to the project. However, this does not link other libraries from @@ -131,16 +131,16 @@ \image qtcreator-add-library-internal-project-location.webp {Project Location dialog} - \li In the \uicontrol Name field, give a name for the library. For example, + \li In \uicontrol Name, give a name for the library. For example, \e MyLibrary. \li Select \uicontrol Next (on Windows and Linux) or \uicontrol Continue (on \macos) to open the \uicontrol {Define Build System} dialog. - \li Select \uicontrol Next or \uicontrol Continue to use CMake as the - build system. + \li In \uicontrol {Build system}, select \uicontrol qmake. - The \uicontrol {Define Project Details} dialog opens. + \li Select \uicontrol Next or \uicontrol Continue to open the + \uicontrol {Define Project Details} dialog. \image qtcreator-add-library-internal-project-details.webp {Define Project Details dialog} @@ -170,7 +170,7 @@ \image qtcreator-add-library-internal.webp {Adding an internal library} - \li In the \uicontrol Library field, select \e mylibrary, and then select + \li In \uicontrol Library, select \e mylibrary, and then select \uicontrol Next. \li Select \uicontrol Finish to add the library declaration to the @@ -178,15 +178,7 @@ \endlist - When using CMake, the \c target_link_libraries command is added to the - CMakeLists.txt file: - - \badcode - target_link_libraries(myapplication PRIVATE mylibrary) - \endcode - - When using qmake, the following library declaration is added to the .pro - file: + The wizard adds the following library declaration to the .pro file: \badcode win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../../projects/mylib/release/ -lmylib |