Closed sterne-jaeger closed 2 months ago
I see, I guess it is possible to have both qt5 and qt6 installed simultaneously?
I haven't tested it having both versions installed simultaneously. But without this change, your branch supportingQT6 does not compile with Qt5.
With this change, you need to set a cmake flag (at least for Qt6, since Qt5 is the default):
cmake -DUSE_QT5=On ...
or
cmake -DUSE_QT5=Off ...
The CMakeLists.txt obtains a flag whether Qt5 or Qt6 is used. This makes it possible using it in both a Qt5 and Qt6 environment.