Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Embarrassingly it turned out to be the documented linker setting or additional includes
All goo and thanks for the reply MB