QSqlDatabase, Where store data from the server
What would be the best way to store data of connection such as password, IP, database name, ....
I believe it is not a good idea from the point of view of maintenance, put these data in binary. A possible change in the network would require recompiling the application.
I use QSettings to store the connection data.