Hi all,
I need some help on creating a widget shaped with an icon I choosed, and with the same icon displayed.
For the first part, all is simple:
Qt Code:
  1. ...
  2. QDialog myDialog;
  3. QPixmap myPixmap = QPixmap( QString::fromUTF8(":/img/logo.svg") );
  4. myDialog.setMask( pixmap.mask() );
To copy to clipboard, switch view to plain text mode 
Now, how can I embed the same .svg icon inside the shaped dialog, in order to display it ??
Or, there is a simpler way to do it ??
Thanks in advance, cheers !