forked from qt-creator/qt-creator
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:
@@ -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}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user