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

Added cmake examples #19

Closed omrfdk closed 2 years ago

j-kies commented 2 years ago

Compilation fails for both the qmake examples with following error: Cannot read C:/Projects/others/SCodes/examples/src/SCodes.pri: No such file or directory

Import paths were probably not updated properly

Kit used Desktop Qt 5.15.2 MinGW 64-bit. Platform: Windows 10

j-kies commented 2 years ago

Building both of the CMake examples using desktop Qt 5.15.2 MinGW 64-bit kit on Windows 10 fails, which is not the case for building qmake examples from master using the same kit. This is most probably caused by the usage of the newer C++ standard compared to the one before. Investigate it and if this is an issue revert to C++11 until ZXing references are updated or issue is resolved