Problems with the MySQL library of qt

Source: Internet
Author: User

Some time ago, I had a headache with the MySQL library of qt. First of all, I found that an exception occurred when I read the QDir file, and sometimes it can be read, but sometimes it cannot be read. The following is the system Command Used in the program.

It can also be executed sometimes, but sometimes an error occurs. The return value is 32512.

For errors like this, we do not know where to start at the moment. Later, I decided to add files one by one to the project and exclude them one by one. Later I found that this error occurs when the database is inserted in the program. We use c MySQL instead of qt. Our colleagues in this MySQL database have used it in their programs, so this problem will not occur.

Later, a master told me that the MySQL I installed may conflict with the qt automatic MySQL, and later I compiled a qt MySQL library to replace it, the result does not really show that problem.
 

The above content is an introduction to the MySQL library of qt. I hope you will get something better.

 

 

Related Article

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.