Fix documentation building on Qt5