[cmake-developers] QtAutomoc dashboard failure?
neundorf at kde.org
Mon Dec 19 16:28:37 EST 2011
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...
More information about the cmake-developers