I use 32Bit qt and 32 bit mysql, build mysql driver ok, QSqlDatabase:: Did you get any kind of error message? Originally Posted by alexandrius. Powered by vBulletin Version 4. You can also download the code as a Qt project in the attachments.

Uploader: Mikahn
Date Added: 7 July 2005
File Size: 10.26 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 71541
Price: Free* [*Free Regsitration Required]

Registration is fast, simple and absolutely free so please, join our community today! Hi, i have several question. QCoreApplication a argcargv. It turned out to be a really stupid mistake. They are included in qt-windows-opensource So, it requires to configure the MySql header files and then configure the QT to use the file. See image 2 I installed it under C: Are you sure you copied the libmysql. Hi, I follow your guide step by step but allways get the same error: Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.


But I have a first chance exception while loading libmysql.

Pyqt5.9 MySQL driver not loaded

Then you get the following URL: I followed this guide and was able to build the drivers and when i check for them i can see they are available, however when i try to add a database with the QMYSQL driver, i still get the driver not loaded error. Thank you very much, I was blocked with all of the other tutorial and you have help me!!!!! Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen: Worked like a charm.

Because of this i must compile it new. I had to recompile qsqlmysql, and it started working after that.

Thank you very much: Finally I have downloaded the libmysqlclient 16 from here: According to visual they are found. I am sort of getting a little frustrated and would appreciate any help.

Under Win7 64 bit, cannot add mysql driver.

I will make sure to distribute this link to others that I know are having the same trouble. Hello, first of all thanks for the tutorial.

Since this is a tutorial for minGW and not the visual studio compiler.


Note that I didn’t test this option, so I can’t help you with that. This didn’t come with the windows installer but will contain the necessary binary files. Cannot create parent directory.

PyQt – Pyqt MySQL driver not loaded

According to visual, those dlls are found but an issue occurs with libmysql. Here is the code of my application:. To copy to clipboard, switch view to plain text mode.

Hi, maybe I’m just look in the totally wrong place, but I cannot find the second Qt file you use.

c++ – QMYSQL driver loading error – Stack Overflow

Open the Qt Command Prompt. Du kommentierst mit Deinem Twitter-Konto.

Thanks for sharing the info.