Results 1 to 3 of 3

Thread: [Mac] How to include the Qt internal API on Mac?

  1. #1
    Join Date
    Feb 2009
    Location
    Chengdu, China
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question [Mac] How to include the Qt internal API on Mac?

    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:
    Qt Code:
    1. #include <../src/gui/text/qtextcontrol_p.h>
    To copy to clipboard, switch view to plain text mode 

    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)

  2. #2
    Join Date
    Jun 2010
    Posts
    26
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: [Mac] How to include the Qt internal API on Mac?

    Could you explain a little about what functions/classes you want to use ?

  3. #3
    Join Date
    Feb 2009
    Location
    Chengdu, China
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: [Mac] How to include the Qt internal API on Mac?

    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.

Similar Threads

  1. Drag drop internal
    By valgaba in forum Qt Programming
    Replies: 0
    Last Post: 30th September 2010, 14:49
  2. moc.exe is not recognized as an internal or external command
    By Deshi in forum Installation and Deployment
    Replies: 4
    Last Post: 23rd January 2010, 00:40
  3. QImage internal error
    By GiuseppeBonfa in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2009, 14:12
  4. QHttp (internal bug?)
    By fear in forum Qt Programming
    Replies: 12
    Last Post: 16th March 2007, 07:18
  5. QHttp internal error
    By LubosD in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2006, 09:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.