Hi,

I would like to adjust an image in a qlabel but I can't. I do this but I have an error:

Qt Code:
  1. QPixmap imagen("/home/david/proyectos_python/larguero.jpg");
  2. etiqueta->setPixmap(imagen,Qt::IgnoreAspectRatio);
To copy to clipboard, switch view to plain text mode 

Any help please?
Many thanks and sorry for my english!