Support < Qt 5.3 for Travis CI