Ok I change it to
deploy
|-----><bin>
|---------><sqldrivers>
|--------------------->qsqlite4.dll
|--------------------->qsqlodbc4.dll
|--------------------->sqlite3.dll
|-------------->app.exe
|-------------->QtCore4.dll
|-------------->QtGui4.dll
|-------------->QtNetwork4.dll
|-------------->QtSql4.dll
|-------------->QtXml4.dll
|-------------->mingwm10.dll
|----->images
And change the line in my main.cpp to
Qt Code:
QString apppath; apppath.append("/sqldrivers"); qApp->addLibraryPath(apppath);To copy to clipboard, switch view to plain text mode
This time my sqlite connection work fine but I also have an ODBC con to mssql and I get an <Unable to Connect> message
could anybody help???
Bookmarks