yuvaraj.addu
26th December 2011, 10:42
Hi All,
I have qt application which is based on qslite. My folder structure is
bin ----
plugins ---> sqldrviers
myapplication
qt.conf
[Paths]
Plugins=./plugins
lib
libQt* libraries
I resolved librariy linking via rpath.
Now my problem is sql deivers are not loaded. I am getting below error messages
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
QSqlDatabase: an instance of QCoreApplication is required for loading driver plugins.
Even i tried with QCoreapplication::addlibrarypath and set library path. Same error i am getting
How do i solve this issue
Thanks
Addu R
I have qt application which is based on qslite. My folder structure is
bin ----
plugins ---> sqldrviers
myapplication
qt.conf
[Paths]
Plugins=./plugins
lib
libQt* libraries
I resolved librariy linking via rpath.
Now my problem is sql deivers are not loaded. I am getting below error messages
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
QSqlDatabase: an instance of QCoreApplication is required for loading driver plugins.
Even i tried with QCoreapplication::addlibrarypath and set library path. Same error i am getting
How do i solve this issue
Thanks
Addu R