This undefined reference is when compiling or linking?

A note about the paths in your .pro file:
Do not use full paths. It makes it very hard to distribute your code to other computers.