From espakm at gmail.com Fri Jun 22 10:05:17 2012 From: espakm at gmail.com (Miklos Espak) Date: Fri, 22 Jun 2012 11:05:17 +0100 Subject: [Ctk-developers] PythonQt Qt 4.8 compatibility Message-ID: Hi, I want to develop an XNAT plugin for our MITK based application. Sunil already created one for Slicer in Python, and now I want to port it to MITK. Later the code could be pushed to CTK eventually, like it had been done with other commonly used code. I ran into a problem for which there are some fixes and even a pull request on the ctk site. The PythonQt build fails with Qt 4.8 with am error about a decorator class. Would it be possible to fix this and update the ctk version dep of mitk eventually? Thank you, Miklos -------------- next part -------------- An HTML attachment was scrubbed... URL: From espakm at gmail.com Fri Jun 22 11:09:39 2012 From: espakm at gmail.com (Miklos Espak) Date: Fri, 22 Jun 2012 12:09:39 +0100 Subject: [Ctk-developers] PythonQt Qt 4.8 compatibility In-Reply-To: References: Message-ID: This is the error I get with Qt 4.8: [ 3%] Building CXX object CMakeFiles/PythonQt.dir/src/moc_PythonQtStdDecorators.cxx.o /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**)?: /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:152:25: error: expected unqualified-id before ?(? token /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:153:25: error: expected unqualified-id before ?(? token /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:154:25: error: expected unqualified-id before ?(? token /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:155:25: error: expected unqualified-id before ?(? token /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:156:25: error: expected unqualified-id before ?(? token /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:157:25: error: expected unqualified-id before ?(? token /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:158:26: error: expected unqualified-id before ?(? token /mnt/src/NifTK-debug/CTK-build/PythonQt-build/src/moc_PythonQtStdDecorators.cxx:159:26: error: expected unqualified-id before ?(? token make[5]: *** [CMakeFiles/PythonQt.dir/src/moc_PythonQtStdDecorators.cxx.o] Error 1 make[4]: *** [CMakeFiles/PythonQt.dir/all] Error 2 make[3]: *** [all] Error 2 make[2]: *** [PythonQt-cmake/src/PythonQt-stamp/PythonQt-install] Error 2 make[1]: *** [CMakeFiles/PythonQt.dir/all] Error 2 make: *** [all] Error 2 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. So I think the commontk/PythonQt should be upgraded to at least rev. 196 first. There is already a pull request for this here which might solve the problem: https://github.com/commontk/PythonQt/pull/2 Could someone merge it, please? Thank you, Miklos On Fri, Jun 22, 2012 at 11:05 AM, Miklos Espak wrote: > Hi, > > I want to develop an XNAT plugin for our MITK based application. > > Sunil already created one for Slicer in Python, and now I want to port it > to MITK. > > Later the code could be pushed to CTK eventually, like it had been done > with other commonly used code. > > I ran into a problem for which there are some fixes and even a pull > request on the ctk site. > > The PythonQt build fails with Qt 4.8 with am error about a decorator class. > > Would it be possible to fix this and update the ctk version dep of mitk > eventually? > > Thank you, > > Miklos > -------------- next part -------------- An HTML attachment was scrubbed... URL: