Kaidan does not compile due to unknown method "setTryRotate" of »class ZXing::DecodeHints«
I am trying to compile it but it does not work:
git clone https://invent.kde.org/kde/kaidan
cd kaidan
mkdir build && cd build
cmake ..
make
Std out/error:
cmake ..
-- The following REQUIRED packages have been found:
* ECM (required version >= 5.40.0)
* Qt5Network (required version >= 5.14.0)
* Qt5Qml
* Qt5QmlModels (required version >= 5.14.0)
* Qt5Gui (required version >= 5.14.0)
* Qt5Quick
* Qt5Svg
* Qt5Sql
* Qt5QuickControls2
* Qt5Xml
* Qt5Multimedia
* Qt5Positioning
* Qt5PositioningQuick (required version >= 5.14.0)
* Qt5Location
* Qt5 (required version >= 5.10.0)
* Qt5Core (required version >= 5.11.0)
* KF5Kirigami2
* ZXing
* QXmpp (required version >= 1.0.0)
* KF5Notifications
* Qt5Widgets, Integration with QWidget based desktop styles
-- Configuring done
-- Generating done
-- Build files have been written to:
make
58 kaidan/src/QrCodeDecoder.cpp:58:14: Error: »class ZXing::DecodeHints« does not have a method called »setTryRotate«; did you mean »shouldTryRotate«?
58 | decodeHints.setTryRotate(true);
| ^~~~~~~~~~~~
| shouldTryRotate
make[2]: *** [CMakeFiles/kaidan.dir/build.make:491: CMakeFiles/kaidan.dir/src/QrCodeDecoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:134: CMakeFiles/kaidan.dir/all] Error 2
make: *** [Makefile:141: all] Error 2