it depends on what SQL management application your using. Check your applications guide to find out the location.Originally Posted by Saurian
im not sure of this , but i would say you have to place the database in your project and specify the path for itOriginally Posted by Saurian
then append a QDir::separator() , add the database name , and set it to the setDatabaseName(/*QString representing that database path*/)Qt Code:
To copy to clipboard, switch view to plain text mode
place the .dll file in plugins/sqldrivers directory.I've tried to copy libmysql.dll to the folder where my .exe file is and to my qtcreator.exe folder and it's still not working
you might need more than the .dll file , take a look at this thread http://qt-project.org/forums/viewthread/19122.
you can also try to load QODBC driver since it more of a general driver.
That's my suggestion , but ill wait with your for a reply from a more experienced developer to learn something new.
Bookmarks