Hello all!

Whats is the best solution for database connections using Qt, open the connection when the program starts and close it when the program closes or open and close it every time it is needed?

Thanks a lot.