Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I need a connection to my SQL database to my exam project
andreabicskei last edited by
Hi, so I have a problem to connect my db to my project.
In connection.h I have this:
#endif // CONNECTION_H
How can I connect the connection.h to my database, which name is "mydb"?
I am kinda new and a bit lost in all this things and infos.
It's perfectly described here which params you have to set.
koahnig last edited by
Hi and welcome to devnet forum
The best start for you would be using a Qt creator installation with appropriate Qt lib version. For a starter Qt version 5.15 for the Qt libs is better.
There are a couple of example projects with SQL available. Try those.