gnu: freecad: Build with Qt6.

* gnu/packages/engineering.scm (freecad)[native-inputs]: Remove
qttools-5, python-pyside-2-tools. Add qttools.
[inputs]: Remove python-pyside-2, python-shiboken-2, qtbase-5,
qtdeclarative-5, qtsvg-5, qtwebchannel-5, qtwebengine-5,
qtwayland-5. Add python-pyside-6, python-shiboken-6, qtbase,
qtdeclarative, qtsvg, qtwebchannel, qtwebengine, qtwayland.
[arguments]<#:configure-flags>: Remove "-DBUILD_QT5=ON". Pass
"-DFREECAD_QT_VERSION=6".

Change-Id: Ic11d869347ebc7f909e9ffb75b50350ea00cfad4
This commit is contained in:
Vinicius Monego 2025-06-02 21:12:30 -03:00
parent e48fa7b524
commit 90bed38313
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -3429,9 +3429,8 @@ dynamics is used by FreeCAD 1.0.0 for its new Assembly workbench.")
(list c++-gsl
doxygen
graphviz
qttools-5
qttools
pkg-config
python-pyside-2-tools
swig))
(inputs
(list bash-minimal
@ -3465,16 +3464,16 @@ dynamics is used by FreeCAD 1.0.0 for its new Assembly workbench.")
python-matplotlib
python-pivy
python-ply
python-pyside-2
python-pyside-6
python-pyyaml
python-shiboken-2
python-shiboken-6
python-wrapper
qtbase-5
qtdeclarative-5
qtsvg-5
qtwebchannel-5
qtwebengine-5
qtwayland-5
qtbase
qtdeclarative
qtsvg
qtwebchannel
qtwebengine
qtwayland
qtx11extras
qtxmlpatterns
sqlite
@ -3487,10 +3486,10 @@ dynamics is used by FreeCAD 1.0.0 for its new Assembly workbench.")
`(#:tests? #f ;; Project has tests, but they are a pain to build
#:configure-flags
,#~(list
"-DBUILD_QT5=ON"
"-DBUILD_FLAT_MESH:BOOL=ON"
"-DBUILD_ENABLE_CXX_STD:STRING=C++17"
"-DENABLE_DEVELOPER_TESTS=OFF" ;; see the above: #:tests? comment
"-DFREECAD_QT_VERSION=6" ;; Build with Qt6
"-DFREECAD_USE_EXTERNAL_ONDSELSOLVER=ON" ;; unbundle ondsel-solver
;; Do not try to install modules into system python
"-DINSTALL_TO_SITEPACKAGES=OFF"