The documents state that the function isavailable however I get an error with the statement
img = QPixmap::fromWinHBITMAP(hRetVal).toImage();
The error is
error C3861: 'fromWinHBITMAP': identifier not found
I tried including
#include <QPixmap>
However I am still getting that . Any suggestions ?