Provide a way to force a qt4 build in case both qt4 and qt5 are present.

Same solution as in attica and others.