[Qt-interest] QSqlDatabase: load sqlite base from users home directory

norulez at me.com norulez at me.com
Sun Oct 30 16:41:07 CET 2011


Use QSqlDatabase::setDatabaseName();


Am 30.10.2011 um 16:13 schrieb Nicholas Shatokhin <n.shatokhin at gmail.com>:

> Hello.
> 
> How can I tell QSqlDatabase to load database not from app directory. How  
> can I set directory path?
> 
> Best regards,
> Nick.
> 
> -- 
> За використання революційного клієнта електронної пошти Opera:  
> http://www.opera.com/mail/
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list