Qt creator : error: 'TargetConditionals.h' file not found

Hi all,

Any idea why I get this error?
Im on Mac 10.11 with the latest git master.
Latest qt templates. The thing I try to compile is an empty qt temple that I generated.

Thanks

openFrameworks/libs/openFrameworks/utils/ofConstants.h:66:14: fatal error: ‘TargetConditionals.h’ file not found
#include <TargetConditionals.h>
^
1 error generated.
Process failed with exit code 1.

I have had this error on OS X. Installing the command line tools from Xcode fixed it for me…

lol! I thought that I had the tools, its a new mac so I probably forgot as Xcode and qt were ok!

Now I get more linking errors!!!

@arturo do I need any extra C++ flags for mac and qt to play well?

no, it should work right away, which version of osx and xcode do you have?

~/D/G/o/s/qtcreator ❯❯❯ uname -a
Darwin bart112-215 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64

El Capitan.

~/D/G/o/s/qtcreator ❯❯❯ clang --version
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin15.0.0
Thread model: posix

Version 7.1.1 (7B1005)