Investigating this issue, it seems to be related to the Qt version.
@brino / @frauzufall 's solution is great but relies on the make build system, simply wrapped into Qt Creator.
I prefer the
.qbs build system which comes with more options, and I managed to get it to compile.
So on Ubuntu / Mint 16.0, I use Qt Creator 4.0.1 with Qt 5.6.1, a freshly generated OF project for Qt linux 64. (not using
addons.make but defining
of.addons in the
Following the Qt setup guide, it did not compile because it was trying to use the C compiler. To get it to compile, I just had to add a "kit" and set it to use C++ instead of C.
--> (Go to projects, manage Kits and in the compiler drop menu select
GCC (C++ x86 64bit in /usr/bin) instead of
GCC (C x86 64bit in /usr/bin))
And voila, build & run.