Add Qt6 build support
Changes
- Use
BUILD_WITH_QT6
inCMakeLists.txt
to find Qt6 libraries - Add Linux, FreeBSD and Windows builds to
.gitlab-ci.yml
- Fix
setTime_t
/toTime_t
obsolete methods (replaced withsetSecsSinceEpoch
/toSecsSinceEpoch
) - Use
QRegularExpression
for Qt6 - Fix error with
git_commit_create
introduced inv1.8.0
. This change will be reverted inv1.8.2
(https://github.com/libgit2/libgit2/commit/49d3fadfca4ce8e7a643525eb301a2d45956641e)