[solved] problems with QLabel pixmap
I want to save the image in the pixmap of a QLabel (label name)
I used this code:
ui-> label-> pixmap () -> save ("/ tmp / test", "GIF", -1);
but it does not work, does not generate image ...
I am using linux ubuntu, with Qt 5.2 verção
Can anyone help me or show me an example of how to do this?
Qt does not support GIF writing/saving,
check this link for supported formats
thank you very much
worked perfectly using JPG