Replace Q_WS_MAC with Q_OS_MAC.