Try setting something like this first:

widget->setAttribute(Qt::WA_Hover, true);

Then see if QStyle::State_MouseOver works on Mac.