Hi,

because I want to protect my SQLite-Database file, and don't whant the encryption module because it is then 50% slower, I thougt if it is possible to store my file in the executable itself.

I know, this does only make sens if:
- only reading the database
- the file size is not too big

So, storing the file (test.db alias embeddb) in the qrc makes no problem. But normaly you assign the db via set setDatabaseName( const QString & name ), but if I try so
Qt Code:
  1. setDatabaseName(":embeddb");
To copy to clipboard, switch view to plain text mode 
there is created a file named `:embeddb`. Is there any possibility to pass something like a path to the qrc stored file?


Thanks
Lykurg