Hi,
Yes, in appdir also there are the Qt4 libs
Hi,
Yes, in appdir also there are the Qt4 libs
Òscar Llarch i Galán
And the MySQL DLL is in PATH?
J-P Nurmi
Hi,
Yes, the MySQL is in the Path. AI have also tryied to copy the MySQL release DLL into the appDir and the release app gets the same error and the debug app is connecting well.
Thanks,
Òscar Llarch i Galán
Hi,
I have one question that I don't really understand.
The Envoirment variable "LIB" points to "%MYSQL%\lib\debug".
When Qt is compiled, the MySQL debug driver is linked on debug lib and MySQL release driver is linked on release lib?
So when I try to start the application and the Qt MySQL drivers are linked to the debug MySQL lib, the Qt driver don't find the correct MySQL lib.
Thanks,
Òscar Llarch i Galán
use path for LIB variable
LIB=%MYSQL%\lib\opt;
Hi,
Yes, it's what I was thinking.
So, the opt lib will be linked when compiling the app.
Thank you very much,
Another question to Visual Studio users: How can I force to link with different libs? As opt MySQL lib for release and debug MySQL lib for debug?
Thanks,
Òscar Llarch i Galán
try to add needed library manually.
e.g. go to "Project->%1 Properties" (%1 your project name), then go to "Linker->Input" and add in "Additional Dependecies" neede library.
Hi,
Fine.
Thank you very much again.
![]()
Òscar Llarch i Galán
Thanks!
It worked for me!
Erik@DK (2nd September 2010)
Bookmarks