[Fwd: Re: [CMake] [Fwd: [Insight-users] Cmake - QT : moc problem]]
Hugo Gratama van Andel
h.a.gratamavanandel at amc.uva.nl
Mon Jan 9 03:49:00 EST 2006
Hello ITK-users,
on 5-1-2006 Devalkeneer Arnaud sent a message to yhe ITK mailinglist
with the subject: "Cmake - QT : moc problem" I have forwarded the
message to the CMake mailinglist and received the answer shown below.
gr. Hugo
-------- Original Message --------
Subject: Re: [CMake] [Fwd: [Insight-users] Cmake - QT : moc problem]
Date: Fri, 06 Jan 2006 12:48:19 -0500
From: William A. Hoffman <billlist at nycap.rr.com>
To: Hugo Gratama van Andel <h.a.gratamavanandel at amc.uva.nl>, CMake at cmake.org
References: <43BE2AB1.1090901 at amc.uva.nl>
At 03:30 AM 1/6/2006, Hugo Gratama van Andel wrote:
>Dear CMake users,
>
>I send you a message that appeared on the Itk-user list. I experienced the same error as described below. CMake 2.2.3 was not able to create the makefile correctly on a Linux system, while the previous version(s) of CMake were. Have the semantics of QT_WRAP_CPP changed?
>thanks in advance,
>Hugo
The big change in 2.2.3 is that you have to do ${VAR} and not just VAR.
So, this:
> QT_WRAP_CPP(segment ATHENA_SRCS ATHENA_MOC_SRCS)
Should be
QT_WRAP_CPP(segement ATHENA_SRCS ${ATHENA_MOC_SRCS})
Are you using qt3 or qt4? For qt4 there are new commands to do
the wrapping stuff. See FindQt4.cmake for more information.
-Bill
--
Hugo Gratama van Andel - MSc
Academic Medical Centre - University of Amsterdam
Dept. Medical Physics L0-152
Meibergdreef 9
1105 AZ Amsterdam
The Netherlands
Phone : +31 20 566 5206
FAX : +31 20 691 7233
e-mail : h.a.gratamavanandel at amc.uva.nl
More information about the Insight-users
mailing list