Qt4 and CMake (OT)
Alexander Neundorf
neundorf at kde.org
Thu Jun 8 16:03:49 UTC 2006
Hi,
On Thursday 08 June 2006 03:06, Patrick Noffke wrote:
> > > # tell cmake to create .moc files for all files in the variable
> > > values_test_SRCS
> > > # that require such a file.
> > > # note: this assumes that you use #include "header.moc" in your files
> > > QT4_AUTOMOC(${values_test_SRCS})
> >
> > What does your "#include "foo.moc" file look like exactly ?
> > For debugging you could insert some message(STATUS ...) in the
> > FindQt4.cmake file to see what it does.
> >
> > Bye
> > Alex
>
> I've gotten it to work. The problem seems to be I needed to rerun cmake
> after adding the #include "header.moc" line. Even though CMakeLists.txt
> was checked each time I reran make, it didn't generate the rule to run
> moc unless I reran cmake.
Oh, this might indeed be a problem.
Can you please enter it at bugs.kde.org for buildsystem/kde4 (cmake) ?
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the KDevelop-devel
mailing list