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
scons qt5 on linux platform #54
Comments
I can confirm that I both have this problem (on Debian unstable) and that the suggested fix fixes it. |
...well, up to a point. I also had to hack the config.py file to add Unfortunately, whether you need |
I'm on clean Ubuntu 16.04 and tried to build mitsuba with Qt5. The described modifications are not enough for my case. I did what described in this thread. After that,I fixed header (QtGui -> QtWidgets migration). I also removed all occurrences of UnicodeUTF8. And them some other errors in the same file |
Debian/Ubuntu have (IIRC) a moc wrapper which uses an environment variable to decide whether to run the Qt4 moc or the Qt5 one. I suspect I don't have Qt4 installed, so it always picks the Qt5 one for me. You might try doing |
It worked! I also had to add -std=c++14 to config.py complier flags. |
pkestene's fix did not work for me. Instead, I hardcoded the list: |
building on linux (at least my Ubuntu 17.04 machine) requires to slightly patch data/scons/qt5.py
because Qt is not found, while it is available.
Fix is simple:
pcmodules = [module+debugSuffix for module in ...
should be changed into
pcmodules = [module.replace('Qt','Qt5')+debugSuffix for module in ...
The text was updated successfully, but these errors were encountered: