travis: Use different build configurations for Qt4/Qt5 and debug/release and respect $CXX in qmake