[Qt-interest] make moc generate .mm file?
Israel Brewster
israel at frontierflying.com
Tue Oct 25 19:29:01 CEST 2011
Is there any way to get moc to generate a .mm file rather than a .cpp file? I have a file which includes some Objective-C code out of necessity of complying with the possible Mac App Store sandbox requirements (as I can't use Qt's open/save dialogs). However, if moc generates a .cpp file, it won't compile. Changing the extension on this file to .mm fixes things and allows compilation again, but of course it is changed back next time the file is generated. If it could be generated with a .mm extension, then everything would be fine. Is there any way to fix this?
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Era Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x7293
-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111025/77a1f59c/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111025/77a1f59c/attachment.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111025/77a1f59c/attachment-0001.html
More information about the Qt-interest-old
mailing list