-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qt6 Feature - Fix issues with Python 3.11 and PySide6 compilation on …
…Windows (#651) ### 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 to `DLLs` instead of `lib`. You can changed it by modifying the Visual studio project file, but I found some place in the Python source code that was hardcoded to `DLLs`. I opted to keep `DLLs` 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: ![image](https://github.com/user-attachments/assets/dadbad51-b8a5-4cfe-abd8-55e3ab4dd2fd) --------- Signed-off-by: Cédrik Fuoco <[email protected]> Signed-off-by: Cédrik Fuoco <[email protected]>
- Loading branch information
1 parent
71e0db4
commit 76e4fc3
Showing
4 changed files
with
127 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters