Updated detection to also support Qt5 (should fix #69).