实例介绍
C++ 条码,二维码生成程序(Qt 界面),整合 BarCode,QREncode 两个开源库, 当然也有扫描识别部分没加进来 ,扫描识别使用 zxing opensource project, 已经测试过,有 android(java) 和 C++ 版本,有时间再整理上传。
【实例截图】
【核心代码】
tootzoe_qr_bar_code
└── tootzoe_qr_bar_code
├── Qr_bar_code
│ ├── BarCode.dll
│ ├── QrEncode.dll
│ ├── Qt5Core.dll
│ ├── Qt5Gui.dll
│ ├── Qt5Network.dll
│ ├── Qt5Sql.dll
│ ├── Qt5Svg.dll
│ ├── Qt5Widgets.dll
│ ├── icon.jpg
│ ├── libgcc_s_dw2-1.dll
│ ├── libstdc++-6.dll
│ ├── libwinpthread-1.dll
│ ├── platforms
│ │ ├── qminimal.dll
│ │ ├── qoffscreen.dll
│ │ └── qwindows.dll
│ ├── plugins
│ │ ├── imageformats
│ │ │ ├── qjpeg.dll
│ │ │ └── qsvg.dll
│ │ └── sqldrivers
│ │ ├── qsqlite.dll
│ │ └── qsqlmysql.dll
│ ├── qwindows.dll
│ └── testQRGenerator.exe
└── win_src
├── libBarCode
│ ├── barcode.h
│ ├── codabar.c
│ ├── code11.c
│ ├── code128.c
│ ├── code39.c
│ ├── code93.c
│ ├── config.h
│ ├── ean.c
│ ├── i25.c
│ ├── lib
│ │ ├── Makefile
│ │ ├── Makefile.am
│ │ ├── Makefile.in
│ │ ├── alloca.h
│ │ ├── alloca.in.h
│ │ ├── arg-nonnull.h
│ │ ├── asnprintf.c
│ │ ├── c++defs.h
│ │ ├── calloc.c
│ │ ├── close.c
│ │ ├── dosname.h
│ │ ├── errno.in.h
│ │ ├── error.c
│ │ ├── error.h
│ │ ├── fcntl.h
│ │ ├── fcntl.in.h
│ │ ├── fd-hook.c
│ │ ├── fd-hook.h
│ │ ├── float+.h
│ │ ├── float.c
│ │ ├── float.in.h
│ │ ├── fopen.c
│ │ ├── free.c
│ │ ├── fstat.c
│ │ ├── getopt.c
│ │ ├── getopt.in.h
│ │ ├── getopt1.c
│ │ ├── getopt_int.h
│ │ ├── gettext.h
│ │ ├── intprops.h
│ │ ├── itold.c
│ │ ├── malloc.c
│ │ ├── math.c
│ │ ├── math.h
│ │ ├── math.in.h
│ │ ├── memchr.c
│ │ ├── memchr.valgrind
│ │ ├── memcpy.c
│ │ ├── memset.c
│ │ ├── msvc-inval.c
│ │ ├── msvc-inval.h
│ │ ├── msvc-nothrow.c
│ │ ├── msvc-nothrow.h
│ │ ├── open.c
│ │ ├── pathmax.h
│ │ ├── printf-args.c
│ │ ├── printf-args.h
│ │ ├── printf-parse.c
│ │ ├── printf-parse.h
│ │ ├── raise.c
│ │ ├── rint.c
│ │ ├── search.h
│ │ ├── search.in.h
│ │ ├── signal.h
│ │ ├── signal.in.h
│ │ ├── sigprocmask.c
│ │ ├── size_max.h
│ │ ├── snprintf.c
│ │ ├── stat.c
│ │ ├── stdbool.in.h
│ │ ├── stddef.in.h
│ │ ├── stdint.in.h
│ │ ├── stdio-write.c
│ │ ├── stdio.h
│ │ ├── stdio.in.h
│ │ ├── stdlib.h
│ │ ├── stdlib.in.h
│ │ ├── strdup.c
│ │ ├── strerror-override.c
│ │ ├── strerror-override.h
│ │ ├── strerror.c
│ │ ├── string.h
│ │ ├── string.in.h
│ │ ├── sys
│ │ │ ├── stat.h
│ │ │ └── types.h
│ │ ├── sys_stat.in.h
│ │ ├── sys_types.in.h
│ │ ├── time.h
│ │ ├── time.in.h
│ │ ├── unistd.c
│ │ ├── unistd.h
│ │ ├── unistd.in.h
│ │ ├── vasnprintf.c
│ │ ├── vasnprintf.h
│ │ ├── verify.h
│ │ ├── warn-on-use.h
│ │ ├── wchar.h
│ │ ├── wchar.in.h
│ │ ├── write.c
│ │ ├── xsize.c
│ │ └── xsize.h
│ ├── libBarCode.pro
│ ├── libBarCode.pro.user
│ ├── library.c
│ ├── msi.c
│ ├── pcl.c
│ ├── plessey.c
│ ├── ps.c
│ └── svg.c
├── libQREncode
│ ├── bitstream.c
│ ├── bitstream.h
│ ├── config.h
│ ├── libQREncode.pro
│ ├── libQREncode.pro.user
│ ├── mask.c
│ ├── mask.h
│ ├── mmask.c
│ ├── mmask.h
│ ├── mqrspec.c
│ ├── mqrspec.h
│ ├── qrenc.c
│ ├── qrencode.c
│ ├── qrencode.h
│ ├── qrencode_inner.h
│ ├── qrinput.c
│ ├── qrinput.h
│ ├── qrspec.c
│ ├── qrspec.h
│ ├── rscode.c
│ ├── rscode.h
│ ├── split.c
│ └── split.h
└── testQRGenerator
├── main.cpp
├── qtsvgpixmapcache.cpp
├── qtsvgpixmapcache.h
├── testQRGenerator.pro
├── testQRGenerator.pro.user
├── tmainwnd.cpp
└── tmainwnd.h
12 directories, 159 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论