Forget it. Now works fine, I don't know why. (maybe initialization and I forgot to rebuild)

Anyway, any idea about this:
"QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setPen: Painter not active"

Thanks.