[Qt-interest] Not able to make new QSqlDatabase() ?

Stéphane stephane at hacout.com
Thu Oct 1 11:50:45 CEST 2009


hello

It seem to me that you only create a new object and not a new database...

You will need to call then *setUserName* <#setUserName>, *setPassword* 
<#setPassword>, *setHostName* <#setHostName> and *setPort* <#setPort>  
if needed
and finaly open it with open call function and then addDatabase to 
create a new one

hope this helps.

Best regards
Stéphane



More information about the Qt-interest-old mailing list