PDA

View Full Version : [Mac] How to include the Qt internal API on Mac?



lovehouye
14th October 2010, 10:23
Hi,
I want to add qtextcontrol_p.h file into my own cpp file on Mac. How can I write the code to include it?
In Windows, I just use:

#include <../src/gui/text/qtextcontrol_p.h>

But in Mac, what can I do? I can't find the qtextcontrol_p.h file in the /Library/Frameworks .

Hope you can help me. Thanks very much. (Kiitos)

koan
14th October 2010, 16:02
Could you explain a little about what functions/classes you want to use ?

lovehouye
15th October 2010, 03:16
Hi, I want to write my own QLable class. Just use the QTextControl, but this is a private class. So I want to include qtextcontrol_p.h file.