Windows Deployment
-
@TheCipo76 said in Windows Deployment:
mysqlclient.lib
This is not a dll so what do you want with this?
RTM: https://doc.qt.io/qt-6/sql-driver.html#qmysql -
@Christian-Ehrlicher i don't know.. i'm just following @jsulm
This is app folder
and this is sqldrivers folder
@TheCipo76 Sorry, didn't realized you posted lib, of course you need to deploy dll. lib is for linking, not running.
-
@TheCipo76 Sorry, didn't realized you posted lib, of course you need to deploy dll. lib is for linking, not running.
-
@TheCipo76 You just copy it to your deployed application folder
-
@TheCipo76 You just copy it to your deployed application folder
-
It should be
libmysql.dll. You already have it in your sqldrivers folder, move it to the app folder.
Also, where does this dll file come from? If it is from mysql package there is a chance that it also need msvc and openssl runtime to load.
If you still cannot load the plugin, you need to check that with DependencyWalker -
It should be
libmysql.dll. You already have it in your sqldrivers folder, move it to the app folder.
Also, where does this dll file come from? If it is from mysql package there is a chance that it also need msvc and openssl runtime to load.
If you still cannot load the plugin, you need to check that with DependencyWalker -
T TheCipo76 has marked this topic as solved on
-
@Bonnie Unfortunately Dependency Walker does not help when the DLL is loaded dynamically at runtime :(
Otherwise you are correct.
Regards