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> &lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt; 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>&gt; Hi all,<br>&gt; I installed the Open Source Qt version and tried to build the latest<br>&gt; version of VTK with support for Qt.<br>&gt;<br>&gt; However, towards the end of the build it fails with the following error:<br>
&gt;<br>&gt; /Users/anja/development/vtk-5/GUISupport/Qt/Q4VTKWidgetPlugin.h:56: Error:<br>&gt; Undefined interface<br>&gt; make[2]: *** [GUISupport/Qt/moc_Q4VTKWidgetPlugin.cxx] Error 1<br>&gt; make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKWidgetPlugin.dir/all] Error 2<br>
&gt; make: *** [all] Error 2<br>&gt;<br>&gt; It seems to barf at the QT macro declaration<br>&gt; Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)<br>&gt;<br>&gt; I am using Mac OSX 10.5.1 and using Qt open source version 4.3.3.<br>
&gt;<br>&gt; Is there something that has changed? I remember not having problems with an<br>&gt; earlier Qt and VTK 5.0?<br>&gt;<br><br>Can you check that your QT_QTDESIGNER_INCLUDE_DIR variable is set correctly in<br>CMake?&nbsp;&nbsp;&quot;Undefined interface&quot; 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