thliebig / QCSXCAD

QCSXCAD - Qt-GUI for CSXCAD
http://openEMS.de
GNU Lesser General Public License v3.0
4 stars 13 forks source link

Qt6 Port Needed as Some Systems Start to Deprecate and Remove Qt5, Already Impossible to Install via macOS Homebrew #13

Closed biergaizi closed 1 year ago

biergaizi commented 1 year ago

QCSXCAD is currently incompatible with Qt6, both in the build system and in the source code. A Qt6 port is needed as more and more systems will deprecate Qt6 in the following years. Because we're using VTK, it would happen at a much faster path before Qt5 itself is deprecated, since VTK is built with either Qt5 or Qt6. A Qt6 VTK build makes the QCSXCAD Qt6 port necessary.

The first deprecation has already occurred on macOS Homebrew as reported here (https://github.com/thliebig/openEMS-Project/discussions/108#discussioncomment-6826669) by @valgamaa. In Homebrew, VTK is now built with Qt6, all Qt5 builds have already been disabled. Right now it's already impossible to install openEMS with Homebrew.

I already have an experimental CMake Qt6 port in my private repo, but some source code changes are also needed. I'll give it a try on my spare time.

biergaizi commented 1 year ago

I've just substantially finished the porting. The only item unported is QRegExp (which needs to be ported to QRegularExpression). I plan to finish it by tonight or tomorrow.

biergaizi commented 1 year ago

I just finished porting. Please review the linked Pull Requests.

biergaizi commented 1 year ago

QCSXCAD w/ Qt6 is confirmed to build and run on macOS. Thanks for the quick response to the merge request. Close as fixed.

AppCSXCAD screenshot on macOS with Qt6