Problem in running qtsql related project independently?
While i am trying to run qtsql related project in other system in which qt is not installed i am getting run time error but it is working well in my system in which qt is installed . What may be the problem?
You need to deploy needed libs with your application. Take a look here -> "Deploying Qt Application":http://developer.qt.nokia.com/doc/qt-4.8/deployment.html
You need to distribute the SQL dll on your project, put the correct dll on your application folder under sqldrivers folder.
For example, this use SQLITE:
You can find them into @QtSDK\Desktop\Qt\4.7.4\mingw\plugins\sqldrivers@
If you dont use mingw use the msvc2008 folder.
I hope this helps you ^_^
ok i will check thank's for suggestion.