[Interest] Handle files with the same name by automoc

2014-05-05 Thread CanisMajorWuff
Hi, There is the following source tree: *-source *subsource *Source1.hpp *Source1.hpp Both files, ./Source1.hpp and ./subsource/Source1.hpp, must be handled by moc. When using automoc it puts output moc files to the same directory with the same name, since

Re: [Interest] Handle files with the same name by automoc

2014-05-05 Thread Till Oliver Knoll
Am 26.04.2014 um 18:30 schrieb CanisMajorWuff canismajorw...@gmail.com: ... Any solutions? Rename the sources? ;) Cheers, Oliver ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Handle files with the same name by automoc

2014-05-05 Thread Scott Aron Bloom
+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of CanisMajorWuff Sent: Saturday, April 26, 2014 9:30 AM To: interest@qt-project.org Subject: [Interest] Handle files with the same name by automoc Hi, There is the following source

Re: [Interest] Handle files with the same name by automoc

2014-05-05 Thread Alan Ezust
I know that a lot of QtTestLib examples use this hack where they #include filename.moc at the bottom of their filename.cpp files to fool moc into processing them in addition to the other h files. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Handle files with the same name by automoc

2014-05-05 Thread Thiago Macieira
Em seg 05 maio 2014, às 14:13:57, Scott Aron Bloom escreveu: Use separate libraries for each directory This isn't an automoc issue, it's a multiple files with the same name in the same library issue If they weren't header files, but rather straight c++ files, you wouldn't be asking