Port to Qt5, maintaining Qt4 support (at least for nokia sdk w/4.8.1)