[Qt-creator] iOS and OSX .mm support
Harri Pasanen
harri at mpaja.com
Fri Dec 19 10:43:03 CET 2014
On 19/12/2014 10:16, Ziller Eike wrote:
>> On Dec 18, 2014, at 6:44 PM, Harri Pasanen <harri at mpaja.com> wrote:
>>
>> Objective-C++ syntax highlighter seems to thing
>>
>> @import UIKit;
>>
>> would be in error, but #import is recognized, like
>>
>> #import <UIKit/UIKit.h>
>>
>> Is the parse a QC internal thing, or some Kate module, or similar?
>>
>> This is just an observation, I realize there are probably higher priorities.
> At least Qt Creator’s own C++ code model does not support modules. Not sure why the clang code model does not either :D
>
> By the way, AFAIK modules are only available for Objective-C, not Objective-C++. At least I also was not able to make clang compile a Objective-C++ file with modules.
>
> Br, Eike
>
Autch, looks like you are correct. Short google session turned up this:
http://stackoverflow.com/questions/20708262/using-import-in-objective-c-in-conjunction-with-cplusplus
So back to #import then ...
Harri
More information about the Qt-creator
mailing list