scytheStudio / SCodes

This project is Qt & Qml wrapper for ZXing-C++ Library that is used for decoding 1D and 2D barcodes.
https://scythe-studio.com/
Apache License 2.0
107 stars 36 forks source link

Fix build with latest zxing-cpp master sources (release 1.2.0) #6

Closed talamaki closed 3 years ago

talamaki commented 3 years ago

Update SCodes.pri headers and sources to match latest zxing-cpp version (release 1.2.0). https://github.com/nu-book/zxing-cpp/commit/2dad8be2466a2bd46037267d9f0e728e08b79140

Using Screen QML type requires importing QtQuick Window module in ScannerPage.qml W libQmlBarcodeReader_armeabi-v7a.so: qrc:/qml/ScannerPage.qml:12: ReferenceError: Screen is not defined W libQmlBarcodeReader_armeabi-v7a.so: qrc:/qml/ScannerPage.qml:10: ReferenceError: Screen is not defined

scytheStudio commented 3 years ago

Thank you. I also updated the submodule version on the master branch.