The CMake files are adapted to use Qt6. .gitlab-ci.yml is adapted to find and use Qt6. The source files are modified slightly to adapt to Qt6.
.gitlab-ci.yml