2017-01-15 18:36:41 +00:00
|
|
|
QT += core gui
|
2012-08-29 09:16:17 +00:00
|
|
|
|
2017-01-15 18:36:41 +00:00
|
|
|
CONFIG += qzxing_qml
|
2012-08-29 09:16:17 +00:00
|
|
|
|
|
|
|
DEFINES += QZXING_LIBRARY \
|
2013-07-28 17:29:54 +00:00
|
|
|
ZXING_ICONV_CONST \
|
|
|
|
DISABLE_LIBRARY_FEATURES
|
2012-08-29 09:16:17 +00:00
|
|
|
|
2013-07-28 17:29:54 +00:00
|
|
|
INCLUDEPATH += $$PWD \
|
2014-01-15 16:18:02 +00:00
|
|
|
$$PWD/zxing
|
2012-08-29 09:16:17 +00:00
|
|
|
|
|
|
|
HEADERS += $$PWD/QZXing_global.h \
|
|
|
|
$$PWD/CameraImageWrapper.h \
|
|
|
|
$$PWD/imagehandler.h \
|
2014-01-15 16:18:02 +00:00
|
|
|
$$PWD/QZXing.h \
|
2013-07-28 17:29:54 +00:00
|
|
|
$$PWD/zxing/zxing/ZXing.h \
|
|
|
|
$$PWD/zxing/zxing/IllegalStateException.h \
|
|
|
|
$$PWD/zxing/zxing/InvertedLuminanceSource.h \
|
|
|
|
$$PWD/zxing/zxing/ChecksumException.h \
|
|
|
|
$$PWD/zxing/zxing/ResultPointCallback.h \
|
|
|
|
$$PWD/zxing/zxing/ResultPoint.h \
|
|
|
|
$$PWD/zxing/zxing/Result.h \
|
|
|
|
$$PWD/zxing/zxing/ReaderException.h \
|
|
|
|
$$PWD/zxing/zxing/Reader.h \
|
|
|
|
$$PWD/zxing/zxing/NotFoundException.h \
|
|
|
|
$$PWD/zxing/zxing/MultiFormatReader.h \
|
|
|
|
$$PWD/zxing/zxing/LuminanceSource.h \
|
|
|
|
$$PWD/zxing/zxing/FormatException.h \
|
|
|
|
$$PWD/zxing/zxing/Exception.h \
|
|
|
|
$$PWD/zxing/zxing/DecodeHints.h \
|
|
|
|
$$PWD/zxing/zxing/BinaryBitmap.h \
|
|
|
|
$$PWD/zxing/zxing/Binarizer.h \
|
|
|
|
$$PWD/zxing/zxing/BarcodeFormat.h \
|
|
|
|
$$PWD/zxing/zxing/aztec/AztecReader.h \
|
|
|
|
$$PWD/zxing/zxing/aztec/AztecDetectorResult.h \
|
|
|
|
$$PWD/zxing/zxing/aztec/decoder/Decoder.h \
|
|
|
|
$$PWD/zxing/zxing/aztec/detector/Detector.h \
|
|
|
|
$$PWD/zxing/zxing/common/StringUtils.h \
|
|
|
|
$$PWD/zxing/zxing/common/Str.h \
|
|
|
|
$$PWD/zxing/zxing/common/Point.h \
|
|
|
|
$$PWD/zxing/zxing/common/PerspectiveTransform.h \
|
|
|
|
$$PWD/zxing/zxing/common/IllegalArgumentException.h \
|
|
|
|
$$PWD/zxing/zxing/common/HybridBinarizer.h \
|
|
|
|
$$PWD/zxing/zxing/common/GridSampler.h \
|
|
|
|
$$PWD/zxing/zxing/common/GreyscaleRotatedLuminanceSource.h \
|
|
|
|
$$PWD/zxing/zxing/common/GreyscaleLuminanceSource.h \
|
|
|
|
$$PWD/zxing/zxing/common/GlobalHistogramBinarizer.h \
|
|
|
|
$$PWD/zxing/zxing/common/DetectorResult.h \
|
|
|
|
$$PWD/zxing/zxing/common/DecoderResult.h \
|
|
|
|
$$PWD/zxing/zxing/common/Counted.h \
|
|
|
|
$$PWD/zxing/zxing/common/CharacterSetECI.h \
|
|
|
|
$$PWD/zxing/zxing/common/BitSource.h \
|
|
|
|
$$PWD/zxing/zxing/common/BitMatrix.h \
|
|
|
|
$$PWD/zxing/zxing/common/BitArray.h \
|
|
|
|
$$PWD/zxing/zxing/common/Array.h \
|
|
|
|
$$PWD/zxing/zxing/common/detector/MathUtils.h \
|
|
|
|
$$PWD/zxing/zxing/common/detector/JavaMath.h \
|
|
|
|
$$PWD/zxing/zxing/common/detector/WhiteRectangleDetector.h \
|
|
|
|
$$PWD/zxing/zxing/common/detector/MonochromeRectangleDetector.h \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/ReedSolomonException.h \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/ReedSolomonDecoder.h \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/GenericGFPoly.h \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/GenericGF.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/Version.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/DataMatrixReader.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/Decoder.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/DecodedBitStreamParser.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/DataBlock.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/BitMatrixParser.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/detector/DetectorException.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/detector/Detector.h \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/detector/CornerPoint.h \
|
|
|
|
$$PWD/zxing/zxing/oned/UPCEReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/UPCEANReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/UPCAReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/OneDResultPoint.h \
|
|
|
|
$$PWD/zxing/zxing/oned/OneDReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/MultiFormatUPCEANReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/MultiFormatOneDReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/ITFReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/EAN13Reader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/EAN8Reader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/Code128Reader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/Code39Reader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/CodaBarReader.h \
|
|
|
|
$$PWD/zxing/zxing/oned/Code93Reader.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/Version.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/QRCodeReader.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/FormatInformation.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/ErrorCorrectionLevel.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/Mode.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/Decoder.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/DecodedBitStreamParser.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/DataMask.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/DataBlock.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/BitMatrixParser.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/FinderPatternInfo.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/FinderPatternFinder.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/FinderPattern.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/Detector.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/AlignmentPatternFinder.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/AlignmentPattern.h \
|
|
|
|
$$PWD/zxing/zxing/multi/MultipleBarcodeReader.h \
|
|
|
|
$$PWD/zxing/zxing/multi/GenericMultipleBarcodeReader.h \
|
|
|
|
$$PWD/zxing/zxing/multi/ByQuadrantReader.h \
|
|
|
|
$$PWD/zxing/zxing/multi/qrcode/QRCodeMultiReader.h \
|
|
|
|
$$PWD/zxing/zxing/multi/qrcode/detector/MultiFinderPatternFinder.h \
|
|
|
|
$$PWD/zxing/zxing/multi/qrcode/detector/MultiDetector.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/ec/ErrorCorrection.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/ec/ModulusGF.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/ec/ModulusPoly.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/BitMatrixParser.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/DecodedBitStreamParser.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/Decoder.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/detector/Detector.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/detector/LinesSampler.h \
|
|
|
|
$$PWD/zxing/zxing/pdf417/PDF417Reader.h \
|
|
|
|
$$PWD/zxing/bigint/NumberlikeArray.hh \
|
|
|
|
$$PWD/zxing/bigint/BigUnsignedInABase.hh \
|
|
|
|
$$PWD/zxing/bigint/BigUnsigned.hh \
|
|
|
|
$$PWD/zxing/bigint/BigIntegerUtils.hh \
|
|
|
|
$$PWD/zxing/bigint/BigIntegerLibrary.hh \
|
|
|
|
$$PWD/zxing/bigint/BigIntegerAlgorithms.hh \
|
2015-04-26 13:28:26 +00:00
|
|
|
$$PWD/zxing/bigint/BigInteger.hh \
|
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/BlockPair.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/ByteMatrix.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/Encoder.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/MaskUtil.h \
|
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/MatrixUtil.h \
|
2015-06-01 19:29:56 +00:00
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/QRCode.h \
|
2015-06-05 19:29:22 +00:00
|
|
|
$$PWD/zxing/zxing/WriterException.h \
|
2015-06-14 10:59:00 +00:00
|
|
|
$$PWD/zxing/zxing/EncodeHint.h \
|
2015-06-14 17:49:19 +00:00
|
|
|
$$PWD/zxing/zxing/UnsupportedEncodingException.h \
|
2016-06-12 11:44:39 +00:00
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/ReedSolomonEncoder.h \
|
2017-01-15 18:36:41 +00:00
|
|
|
$$PWD/zxing/zxing/common/Types.h
|
2012-08-29 09:16:17 +00:00
|
|
|
|
|
|
|
SOURCES += $$PWD/CameraImageWrapper.cpp \
|
|
|
|
$$PWD/qzxing.cpp \
|
|
|
|
$$PWD/imagehandler.cpp \
|
2013-07-28 17:29:54 +00:00
|
|
|
$$PWD/zxing/zxing/ResultIO.cpp \
|
|
|
|
$$PWD/zxing/zxing/InvertedLuminanceSource.cpp \
|
|
|
|
$$PWD/zxing/zxing/ChecksumException.cpp \
|
|
|
|
$$PWD/zxing/zxing/ResultPointCallback.cpp \
|
|
|
|
$$PWD/zxing/zxing/ResultPoint.cpp \
|
|
|
|
$$PWD/zxing/zxing/Result.cpp \
|
|
|
|
$$PWD/zxing/zxing/Reader.cpp \
|
|
|
|
$$PWD/zxing/zxing/MultiFormatReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/LuminanceSource.cpp \
|
|
|
|
$$PWD/zxing/zxing/FormatException.cpp \
|
|
|
|
$$PWD/zxing/zxing/Exception.cpp \
|
|
|
|
$$PWD/zxing/zxing/DecodeHints.cpp \
|
|
|
|
$$PWD/zxing/zxing/BinaryBitmap.cpp \
|
|
|
|
$$PWD/zxing/zxing/Binarizer.cpp \
|
|
|
|
$$PWD/zxing/zxing/BarcodeFormat.cpp \
|
|
|
|
$$PWD/zxing/zxing/aztec/AztecReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/aztec/AztecDetectorResult.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/StringUtils.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/Str.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/PerspectiveTransform.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/IllegalArgumentException.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/HybridBinarizer.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/GridSampler.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/GreyscaleRotatedLuminanceSource.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/GreyscaleLuminanceSource.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/GlobalHistogramBinarizer.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/DetectorResult.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/DecoderResult.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/CharacterSetECI.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/BitSource.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/BitMatrix.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/BitArray.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/BitArrayIO.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/detector/WhiteRectangleDetector.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/detector/MonochromeRectangleDetector.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/ReedSolomonException.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/ReedSolomonDecoder.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/GenericGFPoly.cpp \
|
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/GenericGF.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/DataMatrixReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/UPCEReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/UPCEANReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/UPCAReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/OneDResultPoint.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/OneDReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/MultiFormatUPCEANReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/MultiFormatOneDReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/ITFReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/EAN13Reader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/EAN8Reader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/Code128Reader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/Code39Reader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/CodaBarReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/oned/Code93Reader.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/QRCodeReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/multi/MultipleBarcodeReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/multi/GenericMultipleBarcodeReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/multi/ByQuadrantReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/multi/qrcode/QRCodeMultiReader.cpp \
|
|
|
|
$$PWD/zxing/zxing/multi/qrcode/detector/MultiFinderPatternFinder.cpp \
|
|
|
|
$$PWD/zxing/zxing/multi/qrcode/detector/MultiDetector.cpp \
|
|
|
|
$$PWD/zxing/zxing/aztec/decoder/AztecDecoder.cpp \
|
|
|
|
$$PWD/zxing/zxing/aztec/detector/AztecDetector.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/DataMatrixVersion.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/DataMatrixDecoder.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/DataMatrixBitMatrixParser.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/DataMatrixDataBlock.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/decoder/DataMatrixDecodedBitStreamParser.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/detector/DataMatrixCornerPoint.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/detector/DataMatrixDetector.cpp \
|
|
|
|
$$PWD/zxing/zxing/datamatrix/detector/DataMatrixDetectorException.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/QRBitMatrixParser.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/QRDataBlock.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/QRDataMask.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/QRDecodedBitStreamParser.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/QRDecoder.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/decoder/QRMode.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/QRAlignmentPattern.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/QRAlignmentPatternFinder.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/QRDetector.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/QRFinderPattern.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/QRFinderPatternFinder.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/detector/QRFinderPatternInfo.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/QRVersion.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/QRFormatInformation.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/QRErrorCorrectionLevel.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/ec/ErrorCorrection.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/ec/ModulusGF.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/ec/ModulusPoly.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/PDF417BitMatrixParser.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/PDF417DecodedBitStreamParser.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/decoder/PDF417Decoder.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/detector/PDF417Detector.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/detector/LinesSampler.cpp \
|
|
|
|
$$PWD/zxing/zxing/pdf417/PDF417Reader.cpp \
|
|
|
|
$$PWD/zxing/bigint/BigUnsignedInABase.cc \
|
|
|
|
$$PWD/zxing/bigint/BigUnsigned.cc \
|
|
|
|
$$PWD/zxing/bigint/BigIntegerUtils.cc \
|
|
|
|
$$PWD/zxing/bigint/BigIntegerAlgorithms.cc \
|
2015-04-26 13:28:26 +00:00
|
|
|
$$PWD/zxing/bigint/BigInteger.cc \
|
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/ByteMatrix.cpp \
|
2015-07-16 19:22:02 +00:00
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/QREncoder.cpp \
|
2015-04-26 13:28:26 +00:00
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/MaskUtil.cpp \
|
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/MatrixUtil.cpp \
|
2015-06-13 17:05:24 +00:00
|
|
|
$$PWD/zxing/zxing/qrcode/encoder/QRCode.cpp \
|
2015-06-14 17:49:19 +00:00
|
|
|
$$PWD/zxing/zxing/EncodeHint.cpp \
|
2016-08-03 14:47:36 +00:00
|
|
|
$$PWD/zxing/zxing/common/reedsolomon/ReedSolomonEncoder.cpp
|
2012-08-29 09:16:17 +00:00
|
|
|
|
2017-01-15 18:36:41 +00:00
|
|
|
qzxing_qml {
|
|
|
|
|
|
|
|
greaterThan(QT_VERSION, 4.7): lessThan(QT_VERSION, 5.0): QT += declarative
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += quick
|
|
|
|
|
|
|
|
DEFINES += QZXING_QML
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
$$PWD/QZXingImageProvider.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
$$PWD/QZXingImageProvider.cpp
|
|
|
|
}
|
|
|
|
|
|
|
|
qzxing_multimedia {
|
|
|
|
QT += multimedia
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
$$PWD/QZXingFilter.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
$$PWD/QZXingFilter.cpp
|
|
|
|
}
|
|
|
|
|
2012-08-29 09:16:17 +00:00
|
|
|
symbian {
|
|
|
|
TARGET.UID3 = 0xE618743C
|
|
|
|
TARGET.EPOCALLOWDLLDATA = 1
|
|
|
|
|
|
|
|
#TARGET.CAPABILITY = All -TCB -AllFiles -DRM
|
|
|
|
TARGET.CAPABILITY += NetworkServices \
|
|
|
|
ReadUserData \
|
|
|
|
WriteUserData \
|
|
|
|
LocalServices \
|
|
|
|
UserEnvironment \
|
|
|
|
Location
|
|
|
|
}
|
|
|
|
|
2016-05-11 06:05:02 +00:00
|
|
|
!symbian {
|
|
|
|
isEmpty(PREFIX) {
|
|
|
|
maemo5 {
|
|
|
|
target.path = /opt/usr/lib
|
|
|
|
} else {
|
|
|
|
target.path = /usr/lib
|
|
|
|
}
|
2012-08-29 09:16:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DEFINES += NOFMAXL
|
2016-05-11 06:05:02 +00:00
|
|
|
|
|
|
|
# Installation
|
|
|
|
headers.files = qzxing.h QZXing_global.h
|
|
|
|
headers.path = $$PREFIX/include
|
|
|
|
target.path = $$PREFIX/lib
|
|
|
|
INSTALLS += headers target
|
|
|
|
|
|
|
|
# pkg-config support
|
|
|
|
CONFIG += create_pc create_prl no_install_prl
|
|
|
|
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
|
|
|
|
QMAKE_PKGCONFIG_LIBDIR = ${prefix}/lib
|
|
|
|
QMAKE_PKGCONFIG_INCDIR = ${prefix}/include
|
|
|
|
|
|
|
|
unix:QMAKE_CLEAN += -r pkgconfig lib$${TARGET}.prl
|
2012-08-29 09:16:17 +00:00
|
|
|
}
|
|
|
|
|
2013-07-28 17:29:54 +00:00
|
|
|
win32-msvc*{
|
|
|
|
|
2014-03-16 12:17:14 +00:00
|
|
|
INCLUDEPATH += $$PWD/zxing/win32/zxing \
|
2014-01-22 16:29:42 +00:00
|
|
|
$$PWD/zxing/win32/zxing/msvc
|
|
|
|
HEADERS += $$PWD/zxing/win32/zxing/msvc/stdint.h \
|
2013-07-28 17:29:54 +00:00
|
|
|
$$PWD/zxing/win32/zxing/iconv.h
|
|
|
|
|
|
|
|
SOURCES += $$PWD/zxing/win32/zxing/win_iconv.c
|
|
|
|
}
|
|
|
|
|
|
|
|
win32-g++{
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/zxing/win32/zxing
|
|
|
|
|
|
|
|
HEADERS += $$PWD/zxing/win32/zxing/iconv.h
|
|
|
|
|
|
|
|
SOURCES += $$PWD/zxing/win32/zxing/win_iconv.c
|
2012-08-29 09:16:17 +00:00
|
|
|
}
|
2015-06-11 09:10:54 +00:00
|
|
|
|
|
|
|
!win32{
|
|
|
|
DEFINES += NO_ICONV
|
|
|
|
}
|
2015-10-21 09:24:24 +00:00
|
|
|
winrt {
|
|
|
|
DEFINES += NO_ICONV
|
|
|
|
}
|