Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@Christian-Ehrlicher
Hm ok... That's not what I wanted to hear :D Thank you anyway. I think, I will subclass QSqlQueryModel then and write functions to make the model writable...
@mranger90 said in sqlite commands not working in qt:
Apparently you can not directly access an SQLite database from a resource. There are some discussions about this, but I cant find the links right now.
Indeed, Qt resources are compiled into the executable (or standalone binary file) which is read-only. Good catch! :-)
Thanks for sharing your findings !
It indeeds make sense since the views are read-only
Since you have a workaround, can you please update the thread title prepending [solved] so other forum users may know a solution has been found :)