×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    7

    Using Objective C data types in Qt

    Hi,
    I am basically a iPhone developer.
    Recently i got a project for nokia to be developed with Qt.
    While checking for examples i wrote

    #include <Foundation/NSString.h>

    which shows that some of the Objective C data structures are in Qt also.
    But i got lots of warning like "stray @" in line ##...

    Do i need to include something extra to work with these...
    Thanks. :-)

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Using Objective C data types in Qt

    Sounds to me like you somehow found your Objective C include directory, or some 3rd-party something on your box.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    166

    Re: Using Objective C data types in Qt

    I am not sure, but that must be some internal Qt header, Ideally you should use class starting with Q while developing in Qt. Qt' string class is QString , you should use that in your Qt project rather than platform dependent code.
    http://kunalmaemo.blogspot.com/

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Using Objective C data types in Qt

    I searched: No "NSString.h" on my Qt box anywhere.

Similar Threads

  1. Data types doing FFT
    By jllop in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2010-02-15, 23:58
  2. Replies: 5
    Last Post: 2007-10-16, 13:00
  3. Basic Data Types!
    By earamsey in forum Symbian
    Replies: 1
    Last Post: 2004-09-07, 20:14
  4. problems about data types when importing C code
    By smallfish_ntu in forum Symbian
    Replies: 5
    Last Post: 2003-06-05, 04:45
  5. 7160 and data bearer types
    By mpattman in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •