thliebig / openEMS-Project

openEMS is a free and open electromagnetic field solver using the FDTD method.
356 stars 65 forks source link

openEMS.rb: use Qt6 in Homebrew, fix #108 #111

Closed biergaizi closed 9 months ago

biergaizi commented 9 months ago

Most packages in Homebrew are now built using Qt6 instead of Qt5, including VTK. Using Qt5 as a dependency in openEMS causes the following build failure due to version conflict (as reported in thliebig/QCSXCAD#13 and #108):

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::OpenGL" does
not agree with the value of QT_MAJOR_VERSION already determined
for "QCSXCAD".

This commit fixes the problem by switching to Qt6 in the Homebrew package.

This patchset should only be merged after merging thliebig/QCSXCAD#14 and thliebig/AppCSXCAD#10.