在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 创建及调用基于QT5 QML的 DLL(举例QML中使用QZXing识别二维码)

创建及调用基于QT5 QML的 DLL(举例QML中使用QZXing识别二维码)

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:4.09M
  • 下载次数:3
  • 浏览次数:135
  • 发布时间:2020-09-20
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
Qt Quick 技术的引入,使得你能够快速构建 UI ,具有动画、各种绚丽效果的 UI 都不在话下。在许多情况下基于QML开发的漂亮的界面想将他设计成组件提供给其他人使用,又不想让别人看到QML源码,另外如果其他人是基于vc环境又如何使用你的QML界面呢?本例子代码实现将基于QT.6 QML开发的模块编译成可以在VS环境中直接使用的DLL库文件,并举例使用QZXing识别二维码。
【实例截图】
【核心代码】
qmlLibTest
├── 2DDecodeLib
│   ├── 2DDecodeLib.aps
│   ├── _2ddecodelib.cpp
│   ├── 2DDecodeLib.pro
│   ├── 2DDecodeLib.vcxproj
│   ├── 2DDecodeLib.vcxproj.filters
│   ├── 2DDecodeLib.vcxproj.user
│   ├── common.pri
│   ├── GeneratedFiles
│   │   └── qrc_qml.cpp
│   ├── image
│   │   └── qrcode.png
│   ├── main.qml
│   ├── qml.qrc
│   ├── QZXing
│   │   ├── CameraImageWrapper.cpp
│   │   ├── CameraImageWrapper.h
│   │   ├── imagehandler.cpp
│   │   ├── imagehandler.h
│   │   ├── qzxing.cpp
│   │   ├── QZXing_global.h
│   │   ├── QZXing.h
│   │   ├── QZXing.pri
│   │   ├── QZXing.pro
│   │   └── 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
│   │   ├── WriterException.h
│   │   └── ZXing.h
│   ├── release
│   │   ├── 2DDecodeLib.dll
│   │   ├── 2DDecodeLib.exp
│   │   ├── 2DDecodeLib.lib
│   │   ├── moc_imagehandler.cpp
│   │   ├── moc_qwinhost.cpp
│   │   ├── moc_qwinwidget.cpp
│   │   └── moc_QZXing.cpp
│   ├── src
│   │   ├── QMfcApp
│   │   ├── qmfcapp.cpp
│   │   ├── qmfcapp.h
│   │   ├── qtwinmigrate.pri
│   │   ├── QWinHost
│   │   ├── qwinhost.cpp
│   │   ├── qwinhost.h
│   │   ├── QWinWidget
│   │   ├── qwinwidget.cpp
│   │   └── qwinwidget.h
│   └── x64
│   └── Release
│   ├── 2DDecodeLib.Build.CppClean.log
│   ├── 2DDecodeLib.log
│   ├── _2ddecodelib.obj
│   ├── 2DDecodeLib.tlog
│   │   ├── 2DDecodeLib.lastbuildstate
│   │   ├── 2DDecodeLib.write.1u.tlog
│   │   ├── CL.command.1.tlog
│   │   ├── CL.read.1.tlog
│   │   ├── CL.write.1.tlog
│   │   ├── custombuild.command.1.tlog
│   │   ├── custombuild.read.1.tlog
│   │   ├── custombuild.write.1.tlog
│   │   ├── link.command.1.tlog
│   │   ├── link.read.1.tlog
│   │   └── link.write.1.tlog
│   ├── AztecDecoder.obj
│   ├── AztecDetector.obj
│   ├── AztecDetectorResult.obj
│   ├── AztecReader.obj
│   ├── BarcodeFormat.obj
│   ├── BigIntegerAlgorithms.obj
│   ├── BigInteger.obj
│   ├── BigIntegerUtils.obj
│   ├── BigUnsignedInABase.obj
│   ├── BigUnsigned.obj
│   ├── Binarizer.obj
│   ├── BinaryBitmap.obj
│   ├── BitArrayIO.obj
│   ├── BitArray.obj
│   ├── BitMatrix.obj
│   ├── BitSource.obj
│   ├── ByQuadrantReader.obj
│   ├── CameraImageWrapper.obj
│   ├── CharacterSetECI.obj
│   ├── ChecksumException.obj
│   ├── CodaBarReader.obj
│   ├── Code128Reader.obj
│   ├── Code39Reader.obj
│   ├── Code93Reader.obj
│   ├── DataMatrixBitMatrixParser.obj
│   ├── DataMatrixCornerPoint.obj
│   ├── DataMatrixDataBlock.obj
│   ├── DataMatrixDecodedBitStreamParser.obj
│   ├── DataMatrixDecoder.obj
│   ├── DataMatrixDetectorException.obj
│   ├── DataMatrixDetector.obj
│   ├── DataMatrixReader.obj
│   ├── DataMatrixVersion.obj
│   ├── DecodeHints.obj
│   ├── DecoderResult.obj
│   ├── DetectorResult.obj
│   ├── EAN13Reader.obj
│   ├── EAN8Reader.obj
│   ├── ErrorCorrection.obj
│   ├── Exception.obj
│   ├── FormatException.obj
│   ├── GenericGF.obj
│   ├── GenericGFPoly.obj
│   ├── GenericMultipleBarcodeReader.obj
│   ├── GlobalHistogramBinarizer.obj
│   ├── GreyscaleLuminanceSource.obj
│   ├── GreyscaleRotatedLuminanceSource.obj
│   ├── GridSampler.obj
│   ├── HybridBinarizer.obj
│   ├── IllegalArgumentException.obj
│   ├── imagehandler.obj
│   ├── InvertedLuminanceSource.obj
│   ├── ITFReader.obj
│   ├── LinesSampler.obj
│   ├── LuminanceSource.obj
│   ├── moc_imagehandler.obj
│   ├── moc_qwinhost.obj
│   ├── moc_qwinwidget.obj
│   ├── moc_QZXing.obj
│   ├── ModulusGF.obj
│   ├── ModulusPoly.obj
│   ├── MonochromeRectangleDetector.obj
│   ├── MultiDetector.obj
│   ├── MultiFinderPatternFinder.obj
│   ├── MultiFormatOneDReader.obj
│   ├── MultiFormatReader.obj
│   ├── MultiFormatUPCEANReader.obj
│   ├── MultipleBarcodeReader.obj
│   ├── OneDReader.obj
│   ├── OneDResultPoint.obj
│   ├── PDF417BitMatrixParser.obj
│   ├── PDF417DecodedBitStreamParser.obj
│   ├── PDF417Decoder.obj
│   ├── PDF417Detector.obj
│   ├── PDF417Reader.obj
│   ├── PerspectiveTransform.obj
│   ├── qmfcapp.obj
│   ├── QRAlignmentPatternFinder.obj
│   ├── QRAlignmentPattern.obj
│   ├── QRBitMatrixParser.obj
│   ├── QRCodeMultiReader.obj
│   ├── QRCodeReader.obj
│   ├── qrc_qml.obj
│   ├── QRDataBlock.obj
│   ├── QRDataMask.obj
│   ├── QRDecodedBitStreamParser.obj
│   ├── QRDecoder.obj
│   ├── QRDetector.obj
│   ├── QRErrorCorrectionLevel.obj
│   ├── QRFinderPatternFinder.obj
│   ├── QRFinderPatternInfo.obj
│   ├── QRFinderPattern.obj
│   ├── QRFormatInformation.obj
│   ├── QRMode.obj
│   ├── QRVersion.obj
│   ├── qwinhost.obj
│   ├── qwinwidget.obj
│   ├── qzxing.obj
│   ├── RCa13816
│   ├── Reader.obj
│   ├── ReedSolomonDecoder.obj
│   ├── ReedSolomonException.obj
│   ├── ResultIO.obj
│   ├── Result.obj
│   ├── ResultPointCallback.obj
│   ├── ResultPoint.obj
│   ├── StringUtils.obj
│   ├── Str.obj
│   ├── UPCAReader.obj
│   ├── UPCEANReader.obj
│   ├── UPCEReader.obj
│   ├── WhiteRectangleDetector.obj
│   └── win_iconv.obj
└── qmlLibTest
├── 2DDecodeLib.dll
├── 2DDecodeLib.lib
├── qmlLibTest.aps
├── qmlLibTest.cpp
├── qmlLibTest.h
├── qmlLibTest.ico
├── qmlLibTest.rc
├── qmlLibTest.vcxproj
├── qmlLibTest.vcxproj.filters
├── ReadMe.txt
├── Resource.h
├── small.ico
├── stdafx.cpp
├── stdafx.h
├── targetver.h
└── x64
└── Release
├── qmlLibTest.Build.CppClean.log
├── qmlLibTest.log
├── qmlLibTest.obj
├── qmlLibTest.pch
├── qmlLibTest.res
├── qmlLibTest.tlog
│   ├── CL.command.1.tlog
│   ├── CL.read.1.tlog
│   ├── CL.write.1.tlog
│   ├── link.command.1.tlog
│   ├── link.read.1.tlog
│   ├── link.write.1.tlog
│   ├── qmlLibTest.lastbuildstate
│   ├── rc.command.1.tlog
│   ├── rc.read.1.tlog
│   └── rc.write.1.tlog
├── stdafx.obj
└── vc140.pdb

39 directories, 411 files

标签:

实例下载地址

创建及调用基于QT5 QML的 DLL(举例QML中使用QZXing识别二维码)

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警