QCSXCAD is currently incompatible with Qt6, both in the build system and in the source code. After macOS Homebrew started building VTK against Qt6, this incompatibility has started to cause serious problem, making it impossible to install openEMS on macOS via Homebrew, as reported in #13.
This patchset contains the needed changes for building QCSXCAD with Qt6. It also contains CMake cleanups for both Qt5 and Qt6. The rationale of each change is documented in the commit message of each commit.
QCSXCAD is currently incompatible with Qt6, both in the build system and in the source code. After macOS Homebrew started building VTK against Qt6, this incompatibility has started to cause serious problem, making it impossible to install openEMS on macOS via Homebrew, as reported in #13.
This patchset contains the needed changes for building QCSXCAD with Qt6. It also contains CMake cleanups for both Qt5 and Qt6. The rationale of each change is documented in the commit message of each commit.