AFAIK you currently can't use Qt5 with our autotools!? I remember @theuni mentioned he planed to add Qt5 patches soon.