Skip to content

Successfully compile mtsgui on Windows with Python 3 - #138

Open
gaotongsh wants to merge 2 commits into
mitsuba-renderer:scons-python3from
gaotongsh:scons-python3
Open

gaotongsh wants to merge 2 commits into
mitsuba-renderer:scons-python3from
gaotongsh:scons-python3

Conversation

@gaotongsh

@gaotongsh gaotongsh commented Dec 9, 2020

Copy link
Copy Markdown

Before this commit, SCons could not detect Qt if Python 3 is used. After the 2to3 conversion of the two files, Qt can be detected and mtsgui can compile. But it cannot run and shows this error:
image

This is because qwindows.dll is missing. In order to run mtsgui, I had to manully copy qwindows.dll of Qt 5.9.1 and place it at dist/platforms/qwindwos.dll. In order to fix this issue, more changes are probably needed to the building scripts. More comments are welcome on this issue.

merlinND and others added 2 commits July 24, 2018 18:19
After the 2to3 conversion of the two files, mtsgui can compile. But it cannot run because `qwindows.dll' is missing. More fixing to the dependencies is probably required.
@gaotongsh gaotongsh mentioned this pull request Dec 9, 2020
6 tasks
@banbao990

Copy link
Copy Markdown

When I followed your steps, I met the error like this, I get confused. Haved you met the problems like this?

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