实例介绍
Qt实现二维码的编解码,能够通过字符串生成二维码,qrcode库和QZXing库,博客地址https://blog.csdn.net/qq_40732350/article/details/109550957
【实例截图】
【核心代码】
4744300845382366765.zip
└── Qtcode
├── barcodegentest.pro
├── barcodegentest.pro.user
├── barcodegentest.pro.user.011642c.3.3-pre1
├── barcodegentest.pro.user.959139b
├── barcodegentest.pro.user.9db9840.4.8-pre1
├── ExLib_qzxing
│ ├── CameraImageWrapper.cpp
│ ├── CameraImageWrapper.h
│ ├── eabi
│ │ └── QZXingu.def
│ ├── imagehandler.cpp
│ ├── imagehandler.h
│ ├── qtc_packaging
│ │ ├── debian_fremantle
│ │ │ ├── changelog
│ │ │ ├── compat
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── README
│ │ │ └── rules
│ │ └── debian_harmattan
│ │ ├── changelog
│ │ ├── compat
│ │ ├── control
│ │ ├── copyright
│ │ ├── manifest.aegis
│ │ ├── README
│ │ └── rules
│ ├── qzxing.cpp
│ ├── QZXing_global.h
│ ├── QZXing.h
│ ├── QZXing.pri
│ ├── QZXing.pro
│ ├── QZXing_resource.rc
│ └── zxing
│ ├── bigint
│ │ ├── BigIntegerAlgorithms.cc
│ │ ├── BigIntegerAlgorithms.hh
│ │ ├── BigInteger.cc
│ │ ├── BigInteger.hh
│ │ ├── BigIntegerLibrary.hh
│ │ ├── BigIntegerUtils.cc
│ │ ├── BigIntegerUtils.hh
│ │ ├── BigUnsigned.cc
│ │ ├── BigUnsigned.hh
│ │ ├── BigUnsignedInABase.cc
│ │ ├── BigUnsignedInABase.hh
│ │ ├── ChangeLog
│ │ ├── NumberlikeArray.hh
│ │ └── README
│ ├── win32
│ │ └── zxing
│ │ ├── iconv.h
│ │ ├── msvc
│ │ │ └── stdint.h
│ │ └── win_iconv.c
│ └── zxing
│ ├── aztec
│ │ ├── AztecDetectorResult.cpp
│ │ ├── AztecDetectorResult.h
│ │ ├── AztecReader.cpp
│ │ ├── AztecReader.h
│ │ ├── decoder
│ │ │ ├── AztecDecoder.cpp
│ │ │ └── Decoder.h
│ │ └── detector
│ │ ├── AztecDetector.cpp
│ │ └── Detector.h
│ ├── BarcodeFormat.cpp
│ ├── BarcodeFormat.h
│ ├── Binarizer.cpp
│ ├── Binarizer.h
│ ├── BinaryBitmap.cpp
│ ├── BinaryBitmap.h
│ ├── ChecksumException.cpp
│ ├── ChecksumException.h
│ ├── common
│ │ ├── Array.h
│ │ ├── BitArray.cpp
│ │ ├── BitArray.h
│ │ ├── BitArrayIO.cpp
│ │ ├── BitMatrix.cpp
│ │ ├── BitMatrix.h
│ │ ├── BitSource.cpp
│ │ ├── BitSource.h
│ │ ├── CharacterSetECI.cpp
│ │ ├── CharacterSetECI.h
│ │ ├── Counted.h
│ │ ├── DecoderResult.cpp
│ │ ├── DecoderResult.h
│ │ ├── detector
│ │ │ ├── JavaMath.h
│ │ │ ├── MathUtils.h
│ │ │ ├── MonochromeRectangleDetector.cpp
│ │ │ ├── MonochromeRectangleDetector.h
│ │ │ ├── WhiteRectangleDetector.cpp
│ │ │ └── WhiteRectangleDetector.h
│ │ ├── DetectorResult.cpp
│ │ ├── DetectorResult.h
│ │ ├── GlobalHistogramBinarizer.cpp
│ │ ├── GlobalHistogramBinarizer.h
│ │ ├── GreyscaleLuminanceSource.cpp
│ │ ├── GreyscaleLuminanceSource.h
│ │ ├── GreyscaleRotatedLuminanceSource.cpp
│ │ ├── GreyscaleRotatedLuminanceSource.h
│ │ ├── GridSampler.cpp
│ │ ├── GridSampler.h
│ │ ├── HybridBinarizer.cpp
│ │ ├── HybridBinarizer.h
│ │ ├── IllegalArgumentException.cpp
│ │ ├── IllegalArgumentException.h
│ │ ├── PerspectiveTransform.cpp
│ │ ├── PerspectiveTransform.h
│ │ ├── Point.h
│ │ ├── reedsolomon
│ │ │ ├── GenericGF.cpp
│ │ │ ├── GenericGF.h
│ │ │ ├── GenericGFPoly.cpp
│ │ │ ├── GenericGFPoly.h
│ │ │ ├── ReedSolomonDecoder.cpp
│ │ │ ├── ReedSolomonDecoder.h
│ │ │ ├── ReedSolomonException.cpp
│ │ │ └── ReedSolomonException.h
│ │ ├── Str.cpp
│ │ ├── Str.h
│ │ ├── StringUtils.cpp
│ │ └── StringUtils.h
│ ├── datamatrix
│ │ ├── DataMatrixReader.cpp
│ │ ├── DataMatrixReader.h
│ │ ├── DataMatrixVersion.cpp
│ │ ├── decoder
│ │ │ ├── BitMatrixParser.h
│ │ │ ├── DataBlock.h
│ │ │ ├── DataMatrixBitMatrixParser.cpp
│ │ │ ├── DataMatrixDataBlock.cpp
│ │ │ ├── DataMatrixDecodedBitStreamParser.cpp
│ │ │ ├── DataMatrixDecoder.cpp
│ │ │ ├── DecodedBitStreamParser.h
│ │ │ └── Decoder.h
│ │ ├── detector
│ │ │ ├── CornerPoint.h
│ │ │ ├── DataMatrixCornerPoint.cpp
│ │ │ ├── DataMatrixDetector.cpp
│ │ │ ├── DataMatrixDetectorException.cpp
│ │ │ ├── DetectorException.h
│ │ │ └── Detector.h
│ │ └── Version.h
│ ├── DecodeHints.cpp
│ ├── DecodeHints.h
│ ├── Exception.cpp
│ ├── Exception.h
│ ├── FormatException.cpp
│ ├── FormatException.h
│ ├── IllegalStateException.h
│ ├── InvertedLuminanceSource.cpp
│ ├── InvertedLuminanceSource.h
│ ├── LuminanceSource.cpp
│ ├── LuminanceSource.h
│ ├── multi
│ │ ├── ByQuadrantReader.cpp
│ │ ├── ByQuadrantReader.h
│ │ ├── GenericMultipleBarcodeReader.cpp
│ │ ├── GenericMultipleBarcodeReader.h
│ │ ├── MultipleBarcodeReader.cpp
│ │ ├── MultipleBarcodeReader.h
│ │ └── qrcode
│ │ ├── detector
│ │ │ ├── MultiDetector.cpp
│ │ │ ├── MultiDetector.h
│ │ │ ├── MultiFinderPatternFinder.cpp
│ │ │ └── MultiFinderPatternFinder.h
│ │ ├── QRCodeMultiReader.cpp
│ │ └── QRCodeMultiReader.h
│ ├── MultiFormatReader.cpp
│ ├── MultiFormatReader.h
│ ├── NotFoundException.h
│ ├── oned
│ │ ├── CodaBarReader.cpp
│ │ ├── CodaBarReader.h
│ │ ├── Code128Reader.cpp
│ │ ├── Code128Reader.h
│ │ ├── Code39Reader.cpp
│ │ ├── Code39Reader.h
│ │ ├── Code93Reader.cpp
│ │ ├── Code93Reader.h
│ │ ├── EAN13Reader.cpp
│ │ ├── EAN13Reader.h
│ │ ├── EAN8Reader.cpp
│ │ ├── EAN8Reader.h
│ │ ├── ITFReader.cpp
│ │ ├── ITFReader.h
│ │ ├── MultiFormatOneDReader.cpp
│ │ ├── MultiFormatOneDReader.h
│ │ ├── MultiFormatUPCEANReader.cpp
│ │ ├── MultiFormatUPCEANReader.h
│ │ ├── OneDReader.cpp
│ │ ├── OneDReader.h
│ │ ├── OneDResultPoint.cpp
│ │ ├── OneDResultPoint.h
│ │ ├── UPCAReader.cpp
│ │ ├── UPCAReader.h
│ │ ├── UPCEANReader.cpp
│ │ ├── UPCEANReader.h
│ │ ├── UPCEReader.cpp
│ │ └── UPCEReader.h
│ ├── pdf417
│ │ ├── decoder
│ │ │ ├── BitMatrixParser.h
│ │ │ ├── DecodedBitStreamParser.h
│ │ │ ├── Decoder.h
│ │ │ ├── ec
│ │ │ │ ├── ErrorCorrection.cpp
│ │ │ │ ├── ErrorCorrection.h
│ │ │ │ ├── ModulusGF.cpp
│ │ │ │ ├── ModulusGF.h
│ │ │ │ ├── ModulusPoly.cpp
│ │ │ │ └── ModulusPoly.h
│ │ │ ├── PDF417BitMatrixParser.cpp
│ │ │ ├── PDF417DecodedBitStreamParser.cpp
│ │ │ └── PDF417Decoder.cpp
│ │ ├── detector
│ │ │ ├── Detector.h
│ │ │ ├── LinesSampler.cpp
│ │ │ ├── LinesSampler.h
│ │ │ └── PDF417Detector.cpp
│ │ ├── PDF417Reader.cpp
│ │ └── PDF417Reader.h
│ ├── qrcode
│ │ ├── decoder
│ │ │ ├── BitMatrixParser.h
│ │ │ ├── DataBlock.h
│ │ │ ├── DataMask.h
│ │ │ ├── DecodedBitStreamParser.h
│ │ │ ├── Decoder.h
│ │ │ ├── Mode.h
│ │ │ ├── QRBitMatrixParser.cpp
│ │ │ ├── QRDataBlock.cpp
│ │ │ ├── QRDataMask.cpp
│ │ │ ├── QRDecodedBitStreamParser.cpp
│ │ │ ├── QRDecoder.cpp
│ │ │ └── QRMode.cpp
│ │ ├── detector
│ │ │ ├── AlignmentPatternFinder.h
│ │ │ ├── AlignmentPattern.h
│ │ │ ├── Detector.h
│ │ │ ├── FinderPatternFinder.h
│ │ │ ├── FinderPattern.h
│ │ │ ├── FinderPatternInfo.h
│ │ │ ├── QRAlignmentPattern.cpp
│ │ │ ├── QRAlignmentPatternFinder.cpp
│ │ │ ├── QRDetector.cpp
│ │ │ ├── QRFinderPattern.cpp
│ │ │ ├── QRFinderPatternFinder.cpp
│ │ │ └── QRFinderPatternInfo.cpp
│ │ ├── ErrorCorrectionLevel.h
│ │ ├── FormatInformation.h
│ │ ├── QRCodeReader.cpp
│ │ ├── QRCodeReader.h
│ │ ├── QRErrorCorrectionLevel.cpp
│ │ ├── QRFormatInformation.cpp
│ │ ├── QRVersion.cpp
│ │ └── Version.h
│ ├── Reader.cpp
│ ├── ReaderException.h
│ ├── Reader.h
│ ├── Result.cpp
│ ├── Result.h
│ ├── ResultIO.cpp
│ ├── ResultPointCallback.cpp
│ ├── ResultPointCallback.h
│ ├── ResultPoint.cpp
│ ├── ResultPoint.h
│ └── ZXing.h
├── images
│ ├── close_first.png
│ ├── close.png
│ ├── min_first.png
│ └── min.png
├── images.qrc
├── main.cpp
├── mybutton.cpp
├── mybutton.h
├── mybuttonmin.cpp
├── mybuttonmin.h
├── qrcode
│ ├── bitstream.c
│ ├── bitstream.h
│ ├── config.h
│ ├── mask.c
│ ├── mask.h
│ ├── mmask.c
│ ├── mmask.h
│ ├── mqrspec.c
│ ├── mqrspec.h
│ ├── qrencode.c
│ ├── qrencode.h
│ ├── qrencode_inner.h
│ ├── qrinput.c
│ ├── qrinput.h
│ ├── qrspec.c
│ ├── qrspec.h
│ ├── rscode.c
│ ├── rscode.h
│ ├── split.c
│ └── split.h
├── widget.cpp
├── widget.h
└── widget.ui
34 directories, 276 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论