[Qt-creator] How to include OS X system framework header files?

Stephen Chu stephen at ju-ju.com
Wed Apr 7 21:55:42 CEST 2010


Hi.

I need to access some native OS X functions, specifically ColorSync API. 
I can add #include <ApplicationServices/ApplicationServices.h> to my 
source files and have it compiled properly. But if I use #include 
<ColorSync/CMApplication.h> then it can not find the file.

What is the rules of including this kind of system headers? The reason 
I'd like to include individual header files is so Creator can highlight 
the types declared in them properly. Right now it doesn't see anything 
defined in those files.

-- 
Stephen Chu
<mailto:stephen at ju-ju.com>
<http://www.ju-ju.com>



More information about the Qt-creator-old mailing list