Make QZXingFilter "official" by moving it out of the example folder

The filter is much more performant than using the QZXing API in an
imparative way for the use-case of live-analyzing video frames in QML.
This commit is contained in:
Milian Wolff 2017-01-10 13:24:55 +01:00
parent 61508f461a
commit 594b178501
4 changed files with 4 additions and 6 deletions

View File

@ -4,8 +4,7 @@ QT += qml quick widgets multimedia
CONFIG += c++11 CONFIG += c++11
SOURCES += main.cpp \ SOURCES += main.cpp
QZXingFilter.cpp
RESOURCES += qml.qrc RESOURCES += qml.qrc
@ -15,7 +14,4 @@ QML_IMPORT_PATH =
include(../../src/QZXing.pri) include(../../src/QZXing.pri)
# Default rules for deployment. # Default rules for deployment.
include(deployment.pri) include(deployment.pri)
HEADERS += \
QZXingFilter.h

View File

@ -14,6 +14,7 @@ HEADERS += $$PWD/QZXing_global.h \
$$PWD/CameraImageWrapper.h \ $$PWD/CameraImageWrapper.h \
$$PWD/imagehandler.h \ $$PWD/imagehandler.h \
$$PWD/QZXing.h \ $$PWD/QZXing.h \
$$PWD/QZXingFilter.h \
$$PWD/zxing/zxing/ZXing.h \ $$PWD/zxing/zxing/ZXing.h \
$$PWD/zxing/zxing/IllegalStateException.h \ $$PWD/zxing/zxing/IllegalStateException.h \
$$PWD/zxing/zxing/InvertedLuminanceSource.h \ $$PWD/zxing/zxing/InvertedLuminanceSource.h \
@ -139,6 +140,7 @@ HEADERS += $$PWD/QZXing_global.h \
SOURCES += $$PWD/CameraImageWrapper.cpp \ SOURCES += $$PWD/CameraImageWrapper.cpp \
$$PWD/QZXingImageProvider.cpp\ $$PWD/QZXingImageProvider.cpp\
$$PWD/qzxing.cpp \ $$PWD/qzxing.cpp \
$$PWD/QZXingFilter.cpp \
$$PWD/imagehandler.cpp \ $$PWD/imagehandler.cpp \
$$PWD/zxing/zxing/ResultIO.cpp \ $$PWD/zxing/zxing/ResultIO.cpp \
$$PWD/zxing/zxing/InvertedLuminanceSource.cpp \ $$PWD/zxing/zxing/InvertedLuminanceSource.cpp \