[CMake] Re: a question about QT_WRAP_CPP and QT_WRAP_UI

Alexander Neundorf a.neundorf-work at gmx.net
Wed May 30 09:16:03 EDT 2007


Hi,

On Wednesday 30 May 2007 08:59, Liang Qi wrote:
> No solution for this thread?
>
> On 23/05/07, Liang Qi <cavendish.qi at gmail.com> wrote:
> > I have a question about QT_WRAP_CPP and QT_WRAP_UI. Now the default
> > behavior of them are to generate .h and .cxx files.
> >
> > How could I modify something to change them to .H and .C(for example)
> > file extensions? Thanks.

If you want to you can write your own macro to handle the moc files, in 
FindQt4.cmake you can find an example. But I suggest if the suffix is the 
only "issue" then you just accept it as it is.

Bye
Alex


More information about the CMake mailing list