When sqlite queries fail for no reason
If you have worked with QtSql, you might have hit the dreaded “Parameter count mismatch” for your perfectly valid SQL query. The problem is excruciatingly hard to debug because the query itself works perfectly fine with the sqlite3 tool.
Here’s the solution: Compile Qt with -system-sqlite.
The problem: Qt uses it’s own sqlite3 headers under src/3rdparty by […]