BUG: The makefixdebug hack wasn't applied to the unit tests, making them crash.
COMP: Use the correct #ifdef for Windows in Qt5. The correct one is Q_OS_WIN, and the former Q_WS_WIN has been removed in Qt5.