Zxing to QT for Symbian touch screen mobile phones

Source: Internet
Author: User

Zxing is the code for bar code scanning and formation, including the source code for Android, iPhone, and C ++. This time I transplanted the ZIP file of version 1.6 downloaded in zxing. I can also search for the QT code of qqrdecoder on the Internet, but it contains the old version and can only recognize the QR code, that is, a QR code. And there is not much interference and clear picture under the photo.

I copied zxing from CPP/CORE/src in version 1.6 to qqrdecoder, but encountered the trouble of always failing to compile the code. It took almost a week to complete, but I finally found the reason, and I recorded it.

It turns out that the. Pro file in QT will always be added once each copy, so there will always be a lot of multiple definition. There is no error in the code. In fact, I have read the pro file before, but I didn't take it into consideration. I think it should be correct. Now we can see that QT depends on the Pro file. This is the main problem. Of course, there are still some minor code problems. You can just change them. For example, if there is an error about the string insert function, you only need to forcibly convert it. The datamatrix code and qrcode Code have some repeated code. In fact, I am wondering that they are different namespaces. Maybe they all write the zxing space when they are used, therefore, the carbide compiler is not identified, but the compilation in Linux is successful. I can only compile datamatrix if it is blocked. I will study it again next week.

Well, let's write so much. After it is completely successful, let's make a summary.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.