diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -61,19 +61,19 @@ are found by the QtNetwork module. ## Building Additional Options On Linux and macOS you can use the option `--standalone` to embed Qt libraries -into the PySide6 package. The option does not affect Windows, because it is +into the PySide6 package. The option does not affect Windows, because it is used implicitly, i.e. all relevant DLLs have to be copied into the PySide6 package anyway, because there is no proper rpath support on the platform. You can use the option `--rpath=/path/to/lib/path` to specify which rpath -values should be embedded into the PySide6 modules and shared libraries. This +values should be embedded into the PySide6 modules and shared libraries. This overrides the automatically generated values when the option is not specified. You can use the option `--qt-conf-prefix` to pass a path relative to the PySide6 installed package, which will be embedded into an auto-generated -`qt.conf` registered in the Qt resource system. This path will serve as the +`qt.conf` registered in the Qt resource system. This path will serve as the PrefixPath for QLibraryInfo, thus allowing to choose where Qt plugins should be -loaded from. This option overrides the usual prefix chosen by `--standalone` +loaded from. This option overrides the usual prefix chosen by `--standalone` option, or when building on Windows. To temporarily disable registration of the internal `qt.conf` file, a new @@ -113,13 +113,15 @@ using `setup.py build`: or macOS only). * `--verbose-build`, will output the compiler invocation with command line arguments, etc. + * `--disable-pyi`, will suppress the generation of .pyi files. This allows + debugging when the project builds but the pyi generator complains. ## Requirements - * Python 3.7+ is supported, + * Python 3.9+ is supported (for Qt 6.7+) * CMake: Specify the path to cmake with `--cmake` option or add cmake to the system path. - * Qt 6.2+ is supported. Specify the path to qtpaths with `--qtpaths` option or + * Qt 6.x is supported. Specify the path to qtpaths with `--qtpaths` option or add `qtpaths6` to the system path. ### Optional @@ -209,7 +211,7 @@ make sure to specify the following things: a system interpreter, or a virtualenv one for example) Once that is done, just re-run CMake, so that it picks up the new environment -values. If needed, all other cache variables defined by the project files can +values. If needed, all other cache variables defined by the project files can be re-adjusted (for example FORCE_LIMITED_API). ## Command line CMake case |