-
Notifications
You must be signed in to change notification settings - Fork 129
Replace PyQt5 with pyside2 #1676
Comments
This require to have a folder in OpenPype build (and code) that is added to EDIT: |
When this is done, all we need is to replace PyQt5 with PySide2 in modules... (and maybe fix few smaller issues here and there) |
Please remind me - this is because we must not mix pyside2 with pyqt5 in the host, right? |
not entirely. that is doable. The main issue is their licensing. PyQt5 is available under a GPL or commercial license, and PySide2 under a LGPL license. Effectivelly meaning that you ran provide pre-built binaries with pyside, but not with PyQt5. Even though we are providing source code even if there are binaries. It would still be a lot simpler to work with various distribution situations with LGPL license. That's actually the whole reason for existence of PySide |
It is because host may not use it's python modules as first but use what is in PYTHONPATH as first and since Qt bindings are build for specific version of python it will crash. 2 issues
EDIT: |
And since we have to pass our PYTHONPATH with our python packages we need to have 2 separated directories. I think the best would be to have 2 venvs one for python modules that should not be passed to any host (Python modules, Qt binding,...) and other we want to pass... |
Could we install |
yeah, me to. I would add function to lib, something like |
PyQt5 license is more restrictive than PySide2, so if at all possible we should replace it. We're not currently providing pre-built binaries, but if we decide to do it, this might be a potential blocker on that front.
[cuID:PYPE-1334]
The text was updated successfully, but these errors were encountered: