that's simple
once you established the connection you can obtain these information wherever you want
creating QSqlDatabase object and using appropriate getters of it, take a look on QSqlDatabase documentation and you will know which one to use
tip, create an QSqlDatabase object like this
only thinq you have to keep somewhere is connectionName, personally I also have static structure to hold some vital information where connectionName is one of themQt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks