In window XP, I failed to open a database file comes from Android phone.

Page  
2

February 18, 2011

pico pico
Lab Rat
28 posts

Hi, Volker: I really appreciate your great help. What you said make me know lots of things about database file.

Thanks a lot. BR, Pico

February 19, 2011

pico pico
Lab Rat
28 posts

Hi, Volker: Although I followed what you showed to me, I failed to generate a QtSql4.dll. I could get libqsqlite4.a, qsqlite4.dll, and something else. However, I can still NOT make a sql query successfully.

Could you give me more details for how to build a new sql driver and install it? Thanks a lot. BR, Pico

February 19, 2011

Volker Volker
Robot Herder
5428 posts

It could be, that your application grabs an old version of the plugin. Make sure, that
QCoreApplication::addLibraryPath() [doc.qt.nokia.com]

You can check the version of the used SQLite with

  1. select sqlite_version();

Issue this in your program and check that you actually use the newly built plugin, not the old one.

December 15, 2011

Volker Volker
Robot Herder
5428 posts

Just for the records, if anyone stumbles over this old thread: In the recent release 4.8 of Qt the included SQLite has been updated to version 3.7.7.1.

Page  
2

  ‹‹ UDP Multicast      change item’s color in table-view on click ››

You must log in to post a reply. Not a member yet? Register here!