Qt5 build support (initial work)