doc: build with qt5 is currently not possible

Add as a separate commit so that it can be easily reverted once
Qt5 is supported again.