File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 11# PythonQt
2+
23[ ![ License] ( https://img.shields.io/github/license/mevislab/pythonqt.svg?color=blue )] ( LICENSE )
34
45PythonQt is a dynamic [ Python] ( https://www.python.org ) binding for [ Qt] ( https://www.qt.io ) .
56It offers an easy way to embed the Python scripting language into
67your Qt applications.
78
89# Documentation
10+
911API documentation is available at: https://mevislab.github.io/pythonqt
1012
1113# Licensing
14+
1215PythonQt is distributed under the ` LGPL 2.1 ` license.
1316
1417## Licensing of Generator
18+
1519The build system of PythonQt makes use of a patched version of the LGPL'ed QtScript
1620generator, located in the ` generator ` directory.
1721
@@ -26,3 +30,20 @@ The generated wrappers are pre-generated and checked-in, so you only
2630need to build and run the generator when you want to build additional wrappers
2731or you want to upgrade/downgrade to another Qt version, but this requires
2832updating the typesystems as well.
33+
34+ # Building
35+
36+ ## Building on Windows with MinGW
37+
38+ To build PythonQt, you need to set the environment variable ` PYTHON_PATH ` to
39+ point to the root dir of the python installation and ` PYTHON_LIB ` to point to
40+ the directory where the python lib file is located. Then you should set the
41+ ` PYTHON_VERSION ` variable to the Python version number.
42+
43+ When using the prebuild Python installer, this will be:
44+
45+ ``` cmd
46+ set PYTHON_PATH = c:\Python38
47+ set PYTHON_LIB = c:\Python38\libs
48+ set PYTHON_VERSION = 38
49+ ```
You can’t perform that action at this time.
0 commit comments