I just noticed that the file does not import the pkg-config module. I did not see this before and thus added the BOOST_LIB variable to the qmake invocation. This likely won't be necessary when pkg-config is actually used.
I'll fix this in an updated patch. ~~ Ricardo