FIX escape backslashes in .pro files

fixes the deprecation warning
add (EventType) case in switch statement

Fixes compiler warning that the cases in the switch statement are not in Qt::EventType. As those are however our custom events, we should cast it to fix the warning.

And we build for the first time without warnings now :).