[kdelibs/frameworks] /: Move kconfig_compiler tests in kconfig framework

Kevin Ottens ervin at kde.org
Mon May 14 21:48:27 UTC 2012


On Monday 14 May 2012 23:11:22 David Faure wrote:
> On Monday 14 May 2012 19:46:29 Kevin Ottens wrote:
> > On Sunday 13 May 2012 21:27:40 David Faure wrote:
> > > On Saturday 12 May 2012 23:24:04 Kevin Ottens wrote:
> > > > Git commit f1eee305fe31b002b8f35738873fe45dedf83fc1 by Kevin Ottens.
> > > > Committed on 12/05/2012 at 23:22.
> > > > Pushed by ervin into branch 'frameworks'.
> > > > 
> > > > Move kconfig_compiler tests in kconfig framework
> > > 
> > > I get this (full kdelibs, Qt4, latest ECM) :
> > > 
> > > [100%] Building CXX object
> > > tier2/kconfig/autotests/kconfig_compiler/CMakeFiles/test_signal.dir/test
> > > _s
> > > i
> > > gnal.cpp.o
> > > /d/kde/build/5/kdelibs-frameworks/tier2/kconfig/autotests/kconfig_compil
> > > er
> > > /
> > > test_signal.cpp:70:27: fatal error: test_signal.moc: No such file or
> > > directory compilation terminated.
> > 
> > Anything special with this build?
> 
> Not really... it happened in my existing build dir, so I tried again after
> wiping out the build dir, and the same error happened.
> 
> > I had the same setup, kdelibs, Qt4 and ECM
> > 0.0.3 when I tried the build before pushing and this moc file got
> > generated
> > just fine.
> 
> Latest cmake and latest ECM?

Yes.

> Isn't this another one of these cmake-automoc-changed-the-naming issues,
> i.e. test_signal.moc should be moc_test_signal.cpp, because this is about
> "Q_OBJECT in the header"?

I don't think so. I just moved the file, I see no reason for the renaming.

> I wonder if you have CMAKE_AUTOMOC_RELAXED_MODE set to ON somehow...

AFAIK it's not. It's activated only in the plasma directory anyway (just 
grepped).

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20120514/7c622dc5/attachment.sig>


More information about the Kde-frameworks-devel mailing list