PDA

View Full Version : Running Qt Assistant stand alone



mukunda
8th July 2011, 14:37
Hi,

I've copied the assistant and the dependent files which were built statically during deployment of my application. I've deployed the application in another system and exported the library path as LD_LIBRARY_PATH as given in deployment document. When i run assistant , it is giving error "cannot load sqlite database driver!". Please give solution to this problem.

mcosta
8th July 2011, 14:41
you need to copy the sqldrivers directory

mukunda
8th July 2011, 14:43
I've copied the files in the directory in the application folder, even then the same error is occuring

mcosta
8th July 2011, 15:21
You must create a "sqldrivers" directory and copy qsqlite4 plugin in it.

Read here

mukunda
8th July 2011, 16:29
how do i get qsqlite4 plugin?

mcosta
8th July 2011, 16:56
If QTDIR is the path where have installed Qt, you find in <QTDIR>/plugins

mukunda
8th July 2011, 17:06
The plugins present were libqsqlite.so

mcosta
10th July 2011, 16:18
This is the plugin.

For Linux you have lib<plugin_name>.so, for Windows <plugin_name>.dll

mukunda
12th July 2011, 13:42
I've copied the plugin in the folder, even then it says "cannot load drivers"

mcosta
12th July 2011, 16:58
Can you post the directory structure of your installation??

mukunda
13th July 2011, 12:21
Directory strucure is

/home/QtUser/AppExe/lib/plugins/sqldrivers

Assistant is present in

/home/QtUser/AppExe

mcosta
13th July 2011, 14:50
ok, the directory must be

/home/QtUser/AppExe/sqldrivers

Read here form more details