Qt6 Feature - Fix issues with Python 3.11 and PySide6 compilation on Windows #651
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Qt6 Feature - Fix issues with Python
Linked issues
#367
Describe the reason for the change.
I created two functions to do the install step of Python. One for Python 3.10 (VFX2023) and one for Python 3.11 (VFX2024). I think it will be easier to maintain and remove later on. The difference was only for Windows, but both functions contains the code for all platforms.
Since Python 3.11, the
PLATLIBDIR
directory was renamed toDLLs
instead oflib
. You can changed it by modifying the Visual studio project file, but I found some place in the Python source code that was hardcoded toDLLs
. I opted to keepDLLs
and copy that over to the OpenRV's stage directory. It does not change anything functionally because the Python executable is looking for the DLLs library automatically.The changes above also fixes the issue with PySide6 compilation on Windows.
Describe what you have tested and on which operating system.
Windows
If possible, provide screenshots.
stage directory: