<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hello, I'm trying to make a GUI using Qt 4 with Vtk, as a test, I started doing a simple window and put the QVTKWidget using Qt Designer, I used the pyquic4 and did my python file, however when I try to compile it, there is the following error:</div><div><br></div><div>Traceback (most recent call last):</div><div> File "viv.py", line 40, in <module></div><div> from QVTKWidget import QVTKWidget</div><div>ImportError: No module named QVTKWidget</div><div><br></div><div>I saw on the internet that the QVTKWidget is not a module, but a class of vtk module, but when I change the code and try again the following occurs:</div><div><br></div><div>Traceback (most recent call last):</div><div> File "viv.py", line 40, in <module></div><div> from vtk import QVTKWidget</div><div>ImportError: cannot import name QVTKWidget</div><div><br></div><div>Does anyone know the solution to this?</div><div>I thank the attention.</div><div><br></div> </div></body>
</html>