I solved the same way:
#include "afxwin.h"
#include <qt_windows.h>
#include <QtWinExtras/qwinfunctions.h>
QT_BEGIN_NAMESPACE
Q_GUI_EXPORT HBITMAP qt_pixmapToWinHBITMAP(const QPixmap &p, int hbitmapFormat = 0);
QPixmap pixmap(":/resources/images/file.bmp");
if(!pixmap.isNull())
{
pixmap = pixmap.scaled(16,16);
}
HBITMAP bitMap = qt_pixmapToWinHBITMAP(pixmap);
thanks all the same for those who wanted to help me!!