<div dir="ltr">HI, CTK members,<div><br></div><div>I'm trying to build CTK with newest versions of VTK, ITK and PythonQt. I can build ctk successfully with Qt4.8.6, VTK6.2.0 and PythonQt3.0,but when I provide ITK_DIR for my ITK4.7.1 build, an error happens. Although I have Qt5 installed too, but in cmake for ctk build, moc and qmake are specifically  set as .../Qt4.8.6/bin/moc and .../Qt4.8.6/bin/qmake. But it seems moc from Q5 was used instead. I don't why. I'm using  CTK downloaded on April 3, 2015, on Ubuntu14.04 64bit.</div><div><br></div><div><div>..../CTK-Build-Test/CTK-build/Libs/Core/moc_ctkBooleanMapper.cxx:15:2: error: #error "This file was generated using the moc from 5.4.1. It"</div><div> #error "This file was generated using the moc from 5.4.1. It"</div><div>  ^</div><div>.../CTK-Build-Test/CTK-build/Libs/Core/moc_ctkBooleanMapper.cxx:16:2: error: #error "cannot be used with the include files from this version of Qt."</div><div> #error "cannot be used with the include files from this version of Qt."</div><div>  ^</div><div>.../CTK-Build-Test/CTK-build/Libs/Core/moc_ctkBooleanMapper.cxx:17:2: error: #error "(The moc has changed too much.)"</div><div> #error "(The moc has changed too much.)"</div></div><div>...</div><div><br></div><div>Thanks,</div><div>Hongzhi</div></div>