Did you included this ?
Qt Code:
  1. #include <QPixmap>
To copy to clipboard, switch view to plain text mode