* first refactoring on QZXing.pri to group sources based on type of barcode and operation
* Moved the newly created source code groups of functionalities to separate pri file (QZXing-components.pri).
* In QZXing.pri include QZXing-components.pri having previously added as configuration all the available modules to preserve the backward compatibility.
* Deactivate parts of code based on the configuration of the pro file. (Work in Progress).
* fix compilation error
* Fix include issue when only "enable_encoder_qr_code" config is used through QZXing-components.pri
Update example projects to use QZXing-components.pri
Created overloaded function for encodeData to use the QZXingEncoderConfig. The old implementation of encodeData now translates its arguments into a QZXingEncoderConfig and calls the overloaded function.
Updated regex in QZXingImageProvider to be aware of the new configuration of border.
Updated BarcodeEncoder example UI to allow the control of the border option.
Fixed warnings in QZXingFilter.cpp
Removed C++11 requirement from all .pro files
Set compiler warning flags via CONFIG += warn_on instead of using GCC specific switches
- fix bug when '?' is included without correct definition of options
- utilize requestedSize for the generated barcode
Updated README.md file to reflect changes.
It is backward compatible with the version that was active till now, though, it also enables an advanced operation for configuring options during encoding.
To display an encoded qrcode from QML, we now can do Image { source:
"image://QZXing/qrcode/<data>" }
This allows different encoded images to be displayed simultaneously
Closes#31
Automatically add qzxing_qml if qzxing_multimedia tag is used
Refactorings to wrap QML dependant code in QZXING_QML scopes
update README.md to reflect the above changes
changes triggered from #26
This again leads to a noticeable performance improvement of the
QZXingFilter example, as we get rid of one full copy of the image
data by converting directly into greyscale, instead of first
converting to RGB and then converting to greyscale.
Do not call detaching QByteArray::data, use constData instead.
Also hoist some constants out of the inner conversion loops and make
more variables const.
This allows one to only detect within a certain unscaled region
of the input frame. The reduction of pixels scanned leads to
a significant performance win, and the removal of the scaling
improves the quality of the checked image, thereby leading to
higher detection rates.