Take a look here: http://osum.sun.com/group/escomipnos...do-driver-para
He wrote a pdf about it (in Spanish ).
Look easy to follow ... i would try it myself but ... divorced from Wiandow$![]()
Take a look here: http://osum.sun.com/group/escomipnos...do-driver-para
He wrote a pdf about it (in Spanish ).
Look easy to follow ... i would try it myself but ... divorced from Wiandow$![]()
Raccoon29 (11th January 2010)
It simply worked perfectly!
LOLHe wrote a pdf about it (in Spanish ).
Look easy to follow ... i would try it myself but ... divorced from Wiandow$![]()
Yes it was easy to follow and it works!
My luck is that I am Italian, so I can understand Spanish somehow, they are similar.
Anyway I'm going to ask for authorization to the author to translate it in English and Italian, it would be very helpfull!
Thank you very much graciano!
--
raccoon29
"La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute"
...BUT!...
Everything has compiled well and I got my wonderfull dll, anyway it works at home, but in my office Vista deploy pc it doesn't: it keeps saying "driver not loaded"...
ENVIRONMENT:
application dir (C:\Application):
it can't connect because (it says) it can't load the driver, QApplication::libraryPath() says:application.exe
QtCore4.dll
QtSql4.dll
QtGui4.dll
libmySQL.dll
mingwm10.dll
sqldrivers<dir> -> qsqlmysql4.dll
well... my ideas are over, here is required a genius flash!C:\Application
Debug hints over there?![]()
Last edited by Raccoon29; 11th January 2010 at 11:07.
--
raccoon29
"La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute"
copy qsqlmysql4.dll, run Dependency Walker on it and check what is missing, copy or add to system Path rewuired dlls.
copying qsqlmysql4.dll one dir up is only for running Dependency Walker to make him see Qt dlls and libmySQL.dll so after that you can delete it cause your app will load it from sqldrivers dir
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
Thank you for the hint! But I have no Dependencies Walker.
Instead I found solutio after re-making the driver in the Vista pc in subject.
Solution seems to be libmysql.dll, I copied the one in MySQL\bin folder when instead I had to copy the one generated just before in MySQL\lib\opt.
Now it works and as always you men rock!
T h a n k y o u !
--
raccoon29
"La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute"
Bookmarks