On Monday 19 December 2011, Clinton Stimpson wrote:
> On Monday, December 19, 2011 01:59:37 pm Alexander Neundorf wrote:
> > On Monday 19 December 2011, David Cole wrote:
> > > Alex,
> > > 
> > > Can you take a look at this and see if you know why QtAutomoc is
> > > failing on this one dashboard?
> > > 
> > > http://cdash.org/CDash/testDetails.php?test=126108609&build=1833949
> > 
> > I had a look, the output looks good:
> > "Automoc for target codeeditorLib
> > AUTOMOC: warning:
> > C:/Users/cjstimp/cmake_nightly/cmake/Tests/QtAutomoc/codeeditor.cpp:
> > The file includes the moc file "codeeditor.moc", but does not contain a
> > Q_OBJECT macro. Running moc on
> > "C:/Users/cjstimp/cmake_nightly/cmake/Tests/QtAutomoc/codeeditor.h" !
> > Better include "moc_codeeditor.cpp" for a robust build."
> > 
> > This is what it should say, and this means that the included
> > codeeditor.moc has been created, otherwise it would not have compiled.
> > 
> > Clinton, can you please send me the Tests/QtAutomoc/  build directory
> > zipped together ?
> > 
> > Thanks
> > Alex
> 
> I sent a .zip file.  Let me know if you didn't get it.
> Did you see the link error?

The generated codeeditor.moc is empty (0 bytes), but it shouldn't be empty.
It should have been generated from codeeditor.h.
I have no idea why this happens.
Can you run the build with the environment variable VERBOSE set to 1 ?
Then automoc will print more log messages.

 
> I also noticed it was using the wrong Qt build.  It is building with Visual
> Studio 2005 but using a Qt built with Visual Studio 2008.  I just made a
> change to use a compatible Qt.

Maybe that helps...

Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to