2
2
3
3
### Introduction
4
4
5
+ ** Important:** for Qt5 compatibility, check [ PySide2] ( https://pypi.org/project/PySide2 )
6
+
5
7
PySide6 is the official Python module from the
6
8
[ Qt for Python project] ( http://wiki.qt.io/Qt_for_Python ) ,
7
- which provides access to the complete Qt 5.12 + framework.
9
+ which provides access to the complete Qt 6.0 + framework.
8
10
9
11
The Qt for Python project is developed in the open, with all facilities you'd expect
10
12
from any modern OSS project such as all code in a git repository and an open
@@ -23,8 +25,8 @@ pip install PySide6
23
25
24
26
#### Dependencies
25
27
26
- PySide6 versions following 5.12 use a C++ parser based on
27
- [ Clang] ( http://clang.org/ ) . The Clang library (C-bindings), version 6 .0 or
28
+ PySide6 versions following 6.0 use a C++ parser based on
29
+ [ Clang] ( http://clang.org/ ) . The Clang library (C-bindings), version 10 .0 or
28
30
higher is required for building. Prebuilt versions of it can be downloaded from
29
31
[ download.qt.io] ( http://download.qt.io/development_releases/prebuilt/libclang/ ) .
30
32
@@ -46,21 +48,20 @@ SET LLVM_INSTALL_DIR=%CD%\libclang
46
48
### Building from source
47
49
48
50
For building PySide6 from scratch, please read about
49
- [ getting started] ( https://wiki .qt.io/Qt_for_Python/GettingStarted ) .
51
+ [ getting started] ( https://doc .qt.io/qtforpython/gettingstarted.html ) .
50
52
This process will include getting the code:
51
53
52
54
```
53
55
git clone https://code.qt.io/pyside/pyside-setup
54
56
cd pyside-setup
55
- git branch --track 5.14 origin/5.15
56
- git checkout 5.15
57
+ git checkout 6.x # if a specific version is needed
57
58
```
58
59
59
60
then install the dependencies, and following the instructions per platform.
60
61
A common build command will look like:
61
62
62
63
```
63
- python setup.py install --qmake=path/to/qmake/ --parallel=8 --build-tests
64
+ python setup.py install --qmake=/ path/to/bin/qmake --parallel=8 --build-tests
64
65
```
65
66
66
67
You can obtain more information about the options to build PySide and Shiboken
0 commit comments