Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt6 Feature - Fix issues with Python 3.11 and PySide6 compilation on Windows #651

Conversation

cedrik-fuoco-adsk
Copy link
Contributor

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

@cedrik-fuoco-adsk cedrik-fuoco-adsk force-pushed the qt6-fix-issue-with-python branch from ef3bc75 to f1581fc Compare December 6, 2024 14:17
Copy link
Contributor

@bernie-laberge bernie-laberge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cedrik-fuoco-adsk cedrik-fuoco-adsk force-pushed the qt6-fix-issue-with-python branch from f1581fc to a28c14e Compare December 6, 2024 15:09
Signed-off-by: Cédrik Fuoco <[email protected]>
@cedrik-fuoco-adsk cedrik-fuoco-adsk marked this pull request as ready for review December 7, 2024 02:12
@cedrik-fuoco-adsk cedrik-fuoco-adsk merged commit 76e4fc3 into AcademySoftwareFoundation:feature/qt6 Dec 10, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants