joshuamhtsang / qt_for_python_examples

Personal sandpit for Qt for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qt_for_python_examples

Personal sandpit for QT for Python

Installation and setup

Use a virtual environment: $ python3 -m venv . $ source bin/activate

Install PySide2: $ pip3 install pyside2

You should now be able to import 'PySide2' in Python: $ python3

import PySide2

If you get no errors above then PySide2 is installed successfully.

Testing the installation by running 'simple3d.py'

Since PySide2 was installed using a virtual environment, you can view the packaged examples in the library/ directory. Run the 'simple3d.py' example:

$ python3 lib/python3.6/site-packages/PySide2/examples/3d/simple3d.py

About

Personal sandpit for Qt for Python


Languages

Language:Python 100.0%