@Conical
The INCLUDEPATH seems to be correct. At least what you are showing.
I do not know the test library feature of boost. However, I know that some features require separate compilation which will create libraries. This would be for the regular expression of boost for instance. Those libraries need to be referenced with LIBS statement.
https://doc.qt.io/qt-5/qmake-variable-reference.html#libs