Doc: Describe Python interpreter selector on editor toolbar

Task-number: QTCREATORBUG-28721
Change-Id: I354c19a72e428e5361eaacb45f79c057affb9cb1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Leena Miettinen
2023-02-23 16:41:58 +01:00
parent 78ccdb5c37
commit 2c9ca6008f
2 changed files with 12 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -17,10 +17,17 @@
such as code completion and annotations. Select \uicontrol Install to install such as code completion and annotations. Select \uicontrol Install to install
PySide6 and the language server. PySide6 and the language server.
To view and manage the available Python interpreters, select \uicontrol Edit You can see the current Python interpreter on the \uicontrol Edit mode
> \uicontrol Preferences > \uicontrol Python > \uicontrol Interpreters. toolbar.
\image qtcreator-python-interpreters.png "Python Interpreters in Preferences" \image qtcreator-python-interpreter-edit-mode.webp {Python interpreter on the Edit mode toolbar}
To see the available interpreters and change their paths, select
the interpreter, and then select \uicontrol {Manage Python Interpreters}.
Or, select \uicontrol Edit > \uicontrol Preferences > \uicontrol Python >
\uicontrol Interpreters.
\image qtcreator-python-interpreters.png {Python Interpreters in Preferences}
You can add and remove interpreters and clean up references to interpreters You can add and remove interpreters and clean up references to interpreters
that you uninstalled, but that still appear in the list. In addition, you that you uninstalled, but that still appear in the list. In addition, you
@@ -42,7 +49,7 @@
the PySide version, class name, base class, and source file for the the PySide version, class name, base class, and source file for the
class. class.
\image qtcreator-python-wizard-app-window.png "Qt for Python wizard for creating a widget-based UI" \image qtcreator-python-wizard-app-window.png {Qt for Python wizard for creating a widget-based UI}
The wizard adds the imports to the source file for The wizard adds the imports to the source file for
access to the QApplication, the base class you selected in the Qt access to the QApplication, the base class you selected in the Qt
@@ -150,7 +157,7 @@
you to create a Python project that has a main QML file. Specify the you to create a Python project that has a main QML file. Specify the
minimum PySide version to run the application. minimum PySide version to run the application.
\image qtcreator-python-wizard-qml.png "Qt for Python wizard for creating an empty Qt Quick application" \image qtcreator-python-wizard-qml.png {Qt for Python wizard for creating an empty Qt Quick application}
The wizard adds the following imports to the source file for access The wizard adds the following imports to the source file for access
to QGuiApplication and QQmlApplicationEngine: to QGuiApplication and QQmlApplicationEngine: