Test a wheel#
There is a tool that you can use to test a set of wheels called ‘testwheel’ but
it’s currently in a different repository (
scripts/packagetesting/testwheel.pyfrom the qtqa repository.
To test the wheels:
Create a virtual environment and activate it.
Install the dependencies listed on the
Install all the wheels:
Run again the
In case you have access to commercial wheels, don’t forget the
PySide6-M2Mas well, and re-run the
Build on the command line#
De-Virtualize the Python Files#
The Python files in the Shiboken module are completely virtual, i.E. they are nowhere existent in the file system for security reasons.
For debugging purposes or to change something, it might be desirable to move these files into the normal file system, again.
Setting the environment variable “SBK_EMBED” once to false unpacks these files when PySide6 or shiboken6 are imported. The files are written into “side-packages/shiboken6/files.dir” and are used from then on.
Setting the variable to true removes “files.dir”.
Without the “SBK_EMBED” variable, the embedding status remains sticky.