<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello,<BR>
&nbsp;<BR>
I am trying to make an application combining Qt and VTK. My goal is to display a 3D Model in a QVTKWidget. I have successfully installed Qt 4.7.0 and&nbsp;VTK 5.6.1.&nbsp;I have also compiled the example "SimpleView" in the directory "VTK/Examples/GUI/Qt/SimpleView". This application works fine and displays the text "VTK and Qt!".&nbsp;But if&nbsp;replace the vtkVectorText in the source code by&nbsp;:&nbsp;<BR>
<FONT size=2>vtkBYUReader *import = vtkBYUReader::New(); </FONT><BR>
<FONT size=2>import-&gt;SetFileName(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"Modele.g"</FONT></FONT><FONT size=2>);</FONT><BR>
<FONT size=2></FONT>&nbsp;<BR>
<FONT size=2>The QVTKWidget remains black and does not display my 3D model. This problem appears on Ubuntu 10.10. If I compile on Windows 7, I don't have this problem. I have already tried to compile with Qt 4.6.2 and VTK 5.4.2 but it's always the same problem. I have disabled the "ubuntu effects", installed the lastest Nvidia driver, to run my application with the&nbsp;option "-graphicssystem raster"...with no result.</FONT><BR>
<FONT size=2></FONT>&nbsp;<BR>
<FONT size=2>I don't know if it is relevant but if I install the paraview package from the ubuntu repositories, I have the same problem...Paraview can't display my 3D Model. However, if I download the compiled version of Paraview on the official Website, it works fine !</FONT><BR>
<FONT size=2></FONT>&nbsp;<BR>
<FONT size=2>Thank you for your help.<BR></FONT>                                               </body>
</html>