Results 1 to 2 of 2

Thread: How to call objective-C objects from my C++ object (on OS X)

  1. #1
    Join Date
    Feb 2010
    Location
    Los Angeles
    Posts
    61
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How to call objective-C objects from my C++ object (on OS X)

    Hello All,

    I have a class derived from QObject and I need to integrate pieces of code that are written in objective-C. As soon as I include those header file I get a ton of errors.

    Any suggestions?

    Thank you all
    Markus

  2. #2
    Join Date
    Aug 2009
    Posts
    33
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to call objective-C objects from my C++ object (on OS X)

    I get this error

    /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:189: error: stray '@' in program

    please help

Similar Threads

  1. cannot call member function without object
    By been_1990 in forum Qt Programming
    Replies: 11
    Last Post: 23rd October 2010, 17:12
  2. Check if a object is null and destroy objects
    By ruben.rodrigues in forum Newbie
    Replies: 3
    Last Post: 2nd July 2010, 10:25
  3. Cannot call function without object
    By Salazaar in forum Newbie
    Replies: 5
    Last Post: 11th June 2007, 14:55
  4. How to call QValidator derived object
    By bruccutler in forum Qt Programming
    Replies: 2
    Last Post: 23rd March 2007, 17:07
  5. Call on Parent Object
    By hufgardm in forum Newbie
    Replies: 1
    Last Post: 7th September 2006, 15:11

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.