forked from qt-creator/qt-creator
Doc: Describe new Python options
- Installing PySide6 and Python language server when prompted - Python Interpreter preferences Task-number: QTCREATORBUG-27560 Change-Id: I62f5aae381821bb0e81dffe76de61a8ec057d190 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
BIN
doc/qtcreator/images/qtcreator-python-interpreters.png
Normal file
BIN
doc/qtcreator/images/qtcreator-python-interpreters.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
@@ -33,6 +33,21 @@
|
||||
to gain access to individual Qt modules, such as \l {Qt Core}, \l {Qt GUI},
|
||||
and \l {Qt Widgets}.
|
||||
|
||||
If you have not installed PySide6, \QC prompts you to install it after
|
||||
the project is created. Further, it prompts you to install the
|
||||
\l {Python Language Server}{Python language server} that provides services
|
||||
such as code completion and annotations. Select \uicontrol Install to install
|
||||
PySide6 and the language server.
|
||||
|
||||
To view and manage the available Python interpreters, 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
|
||||
that have been uninstalled, but still appear in the list. In addition, you
|
||||
can set the interpreter to use by default.
|
||||
|
||||
The Qt for Python Application wizards generate a \c {.pyproject} file that
|
||||
lists the files in the Python project and a \c {.py} file that contains
|
||||
some boilerplate code. In addition, the widget based UI wizard creates a
|
||||
|
||||
Reference in New Issue
Block a user