I'm wondering if you can take some SQLite databases setup like this:
Qt Code:
  1. QSqlDatabase sql = QSqlDatabase::addDatabase("QSQLITE","pva");
  2. sql.setDatabaseName("pva.db");
  3.  
  4. QSqlDatabase sql2 = QSqlDatabase::addDatabase("QSQLITE","pva-cache");
  5. sql2.setDatabaseName(":memory:");
To copy to clipboard, switch view to plain text mode 

and then "copy" the one to the other?

and is there a way to store a ":memory:" database
as a file when done working with it?