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.
|Date Added:||7 July 2005|
|File Size:||10.26 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
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.