Doc: Add a tutorial for using the Qt for Python Window UI wizard

Update the other Python tutorials to describe setting up PySide6
for a project.

Change-Id: Ia0a13f41c1f270fa0ec6c1445f1546e884b7e78f
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Leena Miettinen
2024-07-15 14:24:07 +02:00
parent 0dab2acd83
commit 431b0c314a
10 changed files with 132 additions and 11 deletions

View File

@@ -66,6 +66,15 @@
using pip.
\endlist
//! [install-pyside6]
\section1 Install PySide6 for the project
In the \uicontrol {Edit} mode, select \uicontrol {Install} to set up PySide6
for the project.
\image qtcreator-python-install.webp {Prompt to install PySide6}
//! [install-pyside6]
\section1 Add Qt Quick imports
The wizard adds the following imports to the \c {main.py} source file for
@@ -187,6 +196,6 @@
Select \inlineimage icons/run_small.png to run the application.
\sa {Tutorial: Qt Widgets and Python},
\sa {Tutorial: Qt Widgets and Python}, {Tutorial: Qt Widgets UI and Python},
{Develop Qt for Python Applications}
*/