in my development pc, the line "QSqlDatabase ob" doesn't crash & works just fine. But in a fresh pc moved the exe and it crashed but if i comment the above line and prepare the exe again it runs fine.
So I installed things that are required in the fresh pc to run qt from visual studio 2005, just to check whats the problem. Transferred the code there but from visual studio still it crashes for that very same line !!!
What are the dependencies of the simple line "QSqlDatabase ob" ?