Originally Posted by anda_skoa Is the Ligas object you are calling this on a valid one? Cheers, _ OK. I found the mistake. I had deleted "ligas = new Ligas" unwillingly. So that was the problem. Ligas was NULL. I still don't know what is the best way to pass a QSqlDatabase. Isn't a good ideo to do it by pointer?
View Tag Cloud
Forum Rules
Bookmarks