-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver is found but not loaded #36
Comments
I installed the Open SSL and added it to path, and I found where libmysql is and added that one to path as well. But it still can't load the driver. |
Hi, |
The version is PyQt6-Qt6 6.61. What do I need to enter in my powershell terminal to get the information from QT_DEBUG_PLUGINS? |
qt.core.plugin.factoryloader: Got keys from plugin meta data QList("QPSQL") |
The file is inside the right folder but it cant be loaded. Should I drop the other 3 files into the folder as well? |
Which of my releases are you using? I suggest that you try to analyse the issue using a dependency walker (e.g. https://github.com/lucasg/Dependencies) on qsqlmysql.dll |
I am using the 6.6.1 version. Tomorrow I will try to have a look at the dependency walker. |
I meant if you are using MSVC or MinGW variant of 6.6.1. For Python you'll need the MSVC variant |
I have switched to the MSVC-Version and now it shows me this. In the second line, it looks for the sql driver in a directory that I don't have. Could that be the problem? |
So I tested it now in seperate class: qt.core.plugin.factoryloader: Got keys from plugin meta data QList("QMYSQL", "QMARIADB") qt.core.plugin.factoryloader: "The plugin 'C:/Users/.../AppData/Local/Programs/Python/Python311/Lib/site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlmysqld.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" qt.core.plugin.factoryloader: Got keys from plugin meta data QList("QODBC") qt.core.plugin.factoryloader: Got keys from plugin meta data QList("QPSQL") |
Hello,
I have put the contents of sqldrivers into the sqldrivers folder inside the python folder that was in AppData. Now I don't know where excactly I should put the other files, so I put them into the folder before the sqldrivers folder of python (That is one of the folders I have added in path). It still doesn't load.
Also checked if the driver is the same version as my PyQt6 and it is both 6.1.
The text was updated successfully, but these errors were encountered: