How to read an existing SQLite database in Android using Qt?
问题 I have been developing an app in Qt on Ubuntu which works with an SQLite database and several GB of files. Everything is working well in Ubuntu and Windows, but... when I try to port to Android I'm having some problems. I've placed the database.db file and other files on an SD card, installed it in my target device, and finally was able to "find" it with this code: QString dbName; #ifdef Q_OS_ANDROID QAndroidJniObject androidContext = QtAndroid::androidContext(); QAndroidJniObject dir =