Follow this link:  

For unit testing, I needed to read ForceProof project database into an in-memory SQLite database, from a .sql text file. Turns out, Sqlite (at least in Qt) is unable to execute multiple statements in one string. As our SQL is not one statement per line, the SQL in the text file has to be splitRead more »