Maybe my problem is very stupid but when i launch my application, that reads a sqlite3 database file, from the console it works good but if I click on the executable I got an error on db.open() and in my home is created a file whose name is the same of the database.

Where is the mistake?

Thanks,
Giuseppe