Re: [Qt-creator] Using Windows API directly

2010-03-27 Thread Stephen Chu
Well. I had trouble spelling the lib name right. Now it works. :) Thanks On 3/27/2010 8:04 PM, Coda Highland wrote: > You mean LIBS += -lmscms doesn't work? That's odd... > > /s/ Adam > > On Sat, Mar 27, 2010 at 4:59 PM, Stephen Chu wrote: >> Hi. >> >> I have a piece of code that converts CMYK i

Re: [Qt-creator] Using Windows API directly

2010-03-27 Thread Coda Highland
You mean LIBS += -lmscms doesn't work? That's odd... /s/ Adam On Sat, Mar 27, 2010 at 4:59 PM, Stephen Chu wrote: > Hi. > > I have a piece of code that converts CMYK image data to color corrected > RGB for display. In Creator, I can use ColorSync for OS X by including > and call the OS function

[Qt-creator] Using Windows API directly

2010-03-27 Thread Stephen Chu
Hi. I have a piece of code that converts CMYK image data to color corrected RGB for display. In Creator, I can use ColorSync for OS X by including and call the OS function directly. I need to do the same thing on Windows with WCS/ICM. So I include the following: #include #define _WIN32_WINN