From 550862ce51e7b4cffd54d22ba417a9913b7558ea Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 20 Mar 2024 12:53:11 +0100 Subject: [PATCH] Doc: Expand description of the python kit selector Mention that a virtual environment is created by default and that the global interpreter can be accessed under the details of the kit. Change-Id: I276f1a594b0726914925b2b565eace43182342f4 Reviewed-by: Leena Miettinen --- .../creator-tutorial-python-application-qt-widgets.qdoc | 6 ++++-- .../python/creator-tutorial-python-application-qtquick.qdoc | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/qtcreator/src/python/creator-tutorial-python-application-qt-widgets.qdoc b/doc/qtcreator/src/python/creator-tutorial-python-application-qt-widgets.qdoc index fc03f6f6ad6..9c96d3c73b7 100644 --- a/doc/qtcreator/src/python/creator-tutorial-python-application-qt-widgets.qdoc +++ b/doc/qtcreator/src/python/creator-tutorial-python-application-qt-widgets.qdoc @@ -54,8 +54,10 @@ \li Select \uicontrol{Next} or \uicontrol Continue to open the \uicontrol {Kit Selection} dialog. \image qtcreator-new-project-qt-for-python-kit-selection.webp {Selecting a kit for a Python project} - \li Select Qt for Python kits for building, deploying, and running the - project. + \li Select Python kits for building, deploying, and running the + project. By default, this creates a virtual environment for the project inside + the source directory. To use the global interpreter, select the build configuration + with the same name as the Python of the kit in \uicontrol{Details}. \li Select \uicontrol{Next} or \uicontrol Continue. \li Review the project settings, and select \uicontrol {Finish} (on Windows and Linux) or \uicontrol Done (on \macos) to create the diff --git a/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc b/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc index bce58c15507..f8570d1bbad 100644 --- a/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc +++ b/doc/qtcreator/src/python/creator-tutorial-python-application-qtquick.qdoc @@ -44,8 +44,10 @@ \li Select \uicontrol{Next} or \uicontrol Continue to open the \uicontrol {Kit Selection} dialog. \image qtcreator-new-project-qt-for-python-kit-selection.webp {Selecting a kit for a Python project} - \li Select Qt for Python kits for building, deploying, and running the - project. + \li Select Python kits for building, deploying, and running the + project. By default, this creates a virtual environment for the project inside + the source directory. To use the global interpreter, select the build configuration + with the same name as the Python of the kit in \uicontrol{Details}. \li Review the project settings, and select \uicontrol {Finish} (on Windows and Linux) or \uicontrol Done (on \macos) to create the project.