Did you make connection to the database before making any queries ?
Haviang able to connect to database from the designer does not generate any connection code. So in the main(), connect to database and try again.
Note. This thread is belongs more to the Qt Programming section. Next time you post a question, please post in the appropriate section




Reply With Quote
Bookmarks