Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

attempt to write a readonly database Unable to fetch row



  • Hi,
    I am new to Qt development. I am developing windows app using Qt, SQLite, and visual studio. When I build and run the project in visual studio I am getting this error "attempt to write a read-only database Unable to fetch row". I tried changing project file permissions in windows it didn't work. Any help would be appreciated thank you.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Where are you trying to create that database ?


Log in to reply