Please use the [CODE] tags, it's hard to read your code now.
You have to assign the database to query, it won't work otherwise:
Qt Code:
// or query.prepare("SELECT * FROM City");To copy to clipboard, switch view to plain text mode
Please use the [CODE] tags, it's hard to read your code now.
You have to assign the database to query, it won't work otherwise:
Qt Code:
// or query.prepare("SELECT * FROM City");To copy to clipboard, switch view to plain text mode
Bookmarks