nahshon wrote: ↑Wed Oct 02, 2019 7:55 pm
Would that also mean enforcing Python3 and PySide2? That would force me to upgrade from Fedora 28 (no pyside2).
I will try Fedora 30 on VirtualBox first. Anyone can help with the cmake command line for Qt4 + Python3?
I don't know Fedora, or their release schedules, but my impression is that 28 is very outdated anyway. I don't know when you are supposed to update. For example, in Ubuntu each long term version is released every two years, so staying with a version for two years is perfectly fine.
As for the compilation this is the regular command that I use.
Code: Select all
cmake -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Release ../freecad-source-vocx && make -j3
Maybe just disabling the first option would work, assuming that you have all the Qt4 requisites, of course.
Code: Select all
cmake -DBUILD_QT5=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Release ../freecad-source-vocx && make -j3
See
CompileOnUnix.