[Qt-interest] make moc generate .mm file?

Israel Brewster israel at frontierflying.com
Wed Oct 26 18:32:53 CEST 2011


Oh, I'm sure the moc file is needed - just not by this particular .mm file, as it doesn't deal with any Qt related stuff (it's only purpose in life is to open a native file save dialog). Of course, there could be something else going on there that I am not aware of :-) That said, if this suggestion is the best approach (as opposed to separating out the objective-c stuff completely), then it is certainly easy enough to implement.

On Oct 25, 2011, at 10:11 PM, Thiago Macieira wrote:

> On Tuesday, 25 de October de 2011 15.21.26, Israel Brewster wrote:
>> Interesting approach. I'll have to try that. Though it does strike me as
>> somewhat kludgy, given that the mm file has no need of the moc file.
> 
> If it helps you justify this, yes, it does need the .moc file. There are many 
> cases of them being included at the end. It improves the optimisation.
> 
> -- 
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>   Software Architect - Intel Open Source Technology Center
>      PGP/GPG: 0x6EF45358; fingerprint:
>      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest

-----------------------------------------------
Israel Brewster
Computer Support Technician II
Era Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x7293
-----------------------------------------------

-------------- 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/20111026/c0e40799/attachment.bin 
-------------- next part --------------



More information about the Qt-interest-old mailing list