wandererfan wrote: ↑
Fri Nov 23, 2018 2:32 pm
Are there simple instructions available for building a) with py3 and b) with Qt5? My search results offer clues and hints, but no real step by step help. I'm using CMakeGui, currently trying to build Qt4/py3 version and getting stuck here:
I cannot quite help with py3, as I have not done it, but I may help with the second, as I have just done it. No step by step instructions though... sorry
python2.7 is the switch for building of python2.7 and you will find this in the cmake options:
There is one thing I have learnt the hard way: Start with an empty build folder AND set the QT5 flag on the first execution of cmake:
Code: Select all
cmake ../folderwithyourfreecadcode/ -DBUILD_QT5=ON
Otherwise you will get qt4 dependencies that will be impossible to remove. I ended up doing:
in the build directory to make sure no qt4 was linked.
Another think for AFTER compiling is that some 3rd party workbenches may try to load qt4 dependencies, which crashed FC, a possibly outdated version of Animation WB was the culprit in my case.
EDIT: This is what Kurt uses for py3+qt5:
https://salsa.debian.org/science-team/f ... bian/rules
EDIT 2: I think you need pyside2 for qt5, I have pyside2 installed.