This is the error I get with Qt 4.8:<br><br>[ 3%] Building CXX object CMakeFiles/PythonQt.dir/src/moc_PythonQtStdDecorators.cxx.o<br>/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx: In static member function static void PythonQtStdDecorators::qt_static_metacall(QObject*, QMetaObject::Call, int, void**):<br>
/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:152:25: error: expected unqualified-id before ( token<br>/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:153:25: error: expected unqualified-id before ( token<br>
/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:154:25: error: expected unqualified-id before ( token<br>/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:155:25: error: expected unqualified-id before ( token<br>
/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:156:25: error: expected unqualified-id before ( token<br>/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:157:25: error: expected unqualified-id before ( token<br>
/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:158:26: error: expected unqualified-id before ( token<br>/mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:159:26: error: expected unqualified-id before ( token<br>
make[5]: *** [CMakeFiles/PythonQt.dir/src/moc_PythonQtStdDecorators.cxx.o] Error 1<br>make[4]: *** [CMakeFiles/PythonQt.dir/all] Error 2<br>make[3]: *** [all] Error 2<br>make[2]: *** [PythonQt-cmake/src/PythonQt-stamp/PythonQt-install] Error 2<br>
make[1]: *** [CMakeFiles/PythonQt.dir/all] Error 2<br>make: *** [all] Error 2<br><br><br>I found a patch for this on the Debian list, and I also found that this bug has been fixed in the PythonQt upstream in revision 196.<br>
<br>So I think the commontk/PythonQt should be upgraded to at least rev. 196 first.<br><br>There is already a pull request for this here which might solve the problem:<br><br><a href="https://github.com/commontk/PythonQt/pull/2">https://github.com/commontk/PythonQt/pull/2</a><br>
<br>Could someone merge it, please?<br><br>Thank you,<br><br>Miklos<br><br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 11:05 AM, Miklos Espak <span dir="ltr"><<a href="mailto:espakm@gmail.com" target="_blank">espakm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi,</p>
<p>I want to develop an XNAT plugin for our MITK based application.</p>
<p>Sunil already created one for Slicer in Python, and now I want to port it to MITK. </p>
<p>Later the code could be pushed to CTK eventually, like it had been done with other commonly used code.</p>
<p>I ran into a problem for which there are some fixes and even a pull request on the ctk site.</p>
<p>The PythonQt build fails with Qt 4.8 with am error about a decorator class.</p>
<p>Would it be possible to fix this and update the ctk version dep of mitk eventually?</p>
<p>Thank you,</p>
<p>Miklos<br>
</p>
</blockquote></div><br>