Thanks a ton ...
It worked !
Thanks a ton ...
It worked !
How do I do the same in Linux ?
The same way. Also have a look at your plugin library on system. On my x64 gentoo it looks like that:
ls /usr/lib64/qt4/plugins/sqldrivers/
libqsqlite.so libqsqlmysql.so libqsqlodbc.so libqsqlpsql.so libqsqltds.so
-- Tanuki
per cauda vel vaculus cauda
I have tried copying the plugins folder to my project, but still says "Could not connect to the database !!!"
Check the hierarchy of directories. It should resemble the original Qt.
-- Tanuki
per cauda vel vaculus cauda
Hi
could not find a solution for this , could you just tell me from where the drivers are being loaded ? If I could get find it I think I would be able to solve the problem.
thanks and regards
How to find out from which path the drivers are being loaded ?
How to find out from which path the drivers are being loaded ?
Its pretty urgent ! can somebody help me out ...
When I run my application through IDE it works pretty fine but when I run the application individually It doesn't ...
Have tried to figure out the path from where the drivers are being loaded ? but I couldn't succeed on this front. Can somebody help me ?
regards
Hi
First of all I WISH U ALL A VERY HAPPY, PROSPEROUS 'N' SUCCESSFULL NEW YEAR AHEAD ...
I could find the path from where the drivers are being loaded. QtDir / lib / libQtSql.so , libQtSql.so.4 , libQtSql.so.4.5 , libQtSql.so.4.5.3. But these are " link to shared library files ". So how do I use these files in my application ? Kindly help me out. I could not even copy them to any device, though I have copied to my application folder the application coudn't find the drivers.
thanks and regards
Last edited by praveen_g; 1st January 2010 at 06:53.
Try to run something like that (looks like you are Linux/*NIX user):
find /lib* /usr/lib/* -name "libqsqlite.so" -print
-- Tanuki
per cauda vel vaculus cauda
Bookmarks