On 04/05/15 13:08, Nikos Chantziaras wrote:
> On 03/05/15 13:54, Igor Mironchik wrote:
>> Hi guys,
>>
>> I asked before about similar problem on Windows but now I have the same
>> problem on Linux.
>>
>> I have messagebox.cpp file that should be moced, and in the end of the
>> file I do #include "messagebox.moc"
> Since you're using qmake, you shouldn't include that. Manual inclusion
> of moc files should only be done when using build systems that are
> unable to do the moc'ing and building on their own. qmake does not need
> that.
>
Oh, is that documented somewhere? We #include <moc_foo.cpp> for almost 
everything (though they get forgotten occasionally), but we're compiling 
with VS, Xcode and gnu make and none of those should need it. Is there a 
benefit to changing?

Hamish
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to