I am trying to move from the default py2/qt4 build of master to py3/qt5 since, despite not being the default build, it does seem to be the only thing which is supported by those working on the code.
py2/qt4 build of current master fails to open toolmanager so no existing tools can be accessed and no new tools can be added, it is unusable. In short py2 build is now DEAD despite being the default build option.
https://forum.freecadweb.org/viewtopic.php?f=15&t=39869
following the wiki guide for py3/qt5 I seem to be missing some package:
Code: Select all
CMake Error at cMake/FreeCAD_Helpers/SetupQt.cmake:72 (find_package):
By not providing "FindQt5UiTools.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5UiTools", but CMake did not find one.
Could not find a package configuration file provided by "Qt5UiTools" with
any of the following names:
Qt5UiToolsConfig.cmake
qt5uitools-config.cmake
Code: Select all
Package qt5-qttools-devel-5.11.3-1.fc29.x86_64 is already installed.
Package qt5-qttools-5.11.3-1.fc29.x86_64 is already installed.
Any idea how I can fix that, is there another package I'm missing?
thx.
Info from my last working FreeCAD master.
OS: Linux (LXDE/LXDE)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18272 (Git)
Build type: Unknown
Branch: master
Hash: 88637aeb202b481a16cbd82c8767a0cc2745cfe1
Python version: 2.7.16
Qt version: 4.8.7
PS. looking at CmakeError.log it does not say anything about QT5 but fails to find pthread :
Code: Select all
Run Build Command(s):/bin/gmake cmTC_ec635/fast
/bin/gmake -f CMakeFiles/cmTC_ec635.dir/build.make CMakeFiles/cmTC_ec635.dir/build
gmake[1]: Entering directory '/~/freecad-master-py3-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ec635.dir/CheckFunctionExists.c.o
/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_ec635.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/Check$
Linking C executable cmTC_ec635
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ec635.dir/link.txt --verbose=1
/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_ec635.dir/CheckFunctionExists.c.o -o cmTC_ec635 -lpthreads
/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_ec635.dir/build.make:87: cmTC_ec635] Error 1
gmake[1]: Leaving directory '/~/freecad-master-py3-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_ec635/fast] Error 2