The documentation says that to compile on Linux on needs to do:
In fact, the first step must say:
This may seem trivial, but I don't know Qt well, and was misled into typing
which actually worked, but led to a lot of problems further down the way which I spent several hours debugging. Please fix the documentation. Thanks!