Fix condition
Make documents for Qt5