Hey,<br><br>That was it. Do not know why but when I installed the packaged Qt for Mac from the Trolltech site, some of these components were not installed. Anyway, I downloaded the source and built it and then it all worked fine.<br>
<br>Thank you for your help!<br><br>Anja<br><br><div><span class="gmail_quote">On 25/01/2008, <b class="gmail_sendername"><a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a></b> <<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> Hi all,<br>> I installed the Open Source Qt version and tried to build the latest<br>> version of VTK with support for Qt.<br>><br>> However, towards the end of the build it fails with the following error:<br>
><br>> /Users/anja/development/vtk-5/GUISupport/Qt/Q4VTKWidgetPlugin.h:56: Error:<br>> Undefined interface<br>> make[2]: *** [GUISupport/Qt/moc_Q4VTKWidgetPlugin.cxx] Error 1<br>> make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKWidgetPlugin.dir/all] Error 2<br>
> make: *** [all] Error 2<br>><br>> It seems to barf at the QT macro declaration<br>> Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)<br>><br>> I am using Mac OSX 10.5.1 and using Qt open source version 4.3.3.<br>
><br>> Is there something that has changed? I remember not having problems with an<br>> earlier Qt and VTK 5.0?<br>><br><br>Can you check that your QT_QTDESIGNER_INCLUDE_DIR variable is set correctly in<br>CMake? "Undefined interface" can come from not having that set correctly.<br>
<br>Did you configure your build of Qt with -no-framework?<br><br>Clint<br></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br><br>Anja