On the development system everything is fine but when I distribute the application, the database itself is not getting created.
Can someone help me please?
Thanks a lot.
On the development system everything is fine but when I distribute the application, the database itself is not getting created.
Can someone help me please?
Thanks a lot.
Mithin
www.mithin.in
Is the database support compiled as a plug-in? In that case you must package the plugin along with your application.
I am packaging the following dll's
QtCore4.dll
QtGui4.dll
QtSql4.dll
plugins\sqldrivers\qsqlite.dll
and installing in the following path respectively
applicationPath
applicationPath
applicationPath
aplicationPath\plugins\sqldrivers\
But it is not working. Everything is wroking perfectly if I install the application on the development system.
Thanks a lot.
Mithin
www.mithin.in
Use Dependency Walker to see what DLLs qsqlite.dll require.
I get the following message
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
Also, I am packaging all the dll's that are needed, but it is still not working.
Please Help
Thanks a lot
Mithin
www.mithin.in
Where did you place them? They should be in the same directory as the executable.Originally Posted by munna
Remember that Dependency Walker shows all missing DLLs --- even those you don't need (like msjava.dll or something).
Also I've just noticed that you have placed SQLite plugin in wrong directory. It should be in aplicationPath\sqldrivers\ (unless you have qt.conf file).
Bookmarks