cucumber / cucumber-cpp

Support for writing Cucumber step definitions in C++
MIT License
304 stars 131 forks source link

Add support for Qt6, keep Qt5, remove Qt4 #283

Closed ursfassler closed 7 months ago

ursfassler commented 7 months ago

Summary

Add support for Qt6.

Details

Adding support (and using) Qt6. The officially not supported Qt4 is removed. We now support Qt5 and Qt6. Both versions are tested within the CI.

The CMake option CUKE_ENABLE_QT is replaced with either CUKE_ENABLE_QT_6 or CUKE_ENABLE_QT_5 to give better control to the user as both versions can be installed side by side. CMake version 3.16 is now needed instead of 3.9.

The CalcQt example was refactored to be a bit more modern and compatible with Qt6.

Motivation and Context

Qt6 is the current version, Qt5 is still active but Qt4 is no longer supported by the developers. This changes reflect the current state.

How Has This Been Tested?

CI builds, runs unit test and examples for Qt5 and Qt6. CalcQt example (GUI application) tested manually.

Types of changes

Breaking change should only be the mentioned CMake options and CMake version.

Checklist: