<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hualiang Zhong wrote:
<blockquote cite="mid002201c4497f$28203490$292814c6@irus.robarts.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2600.0" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hello vtkusers,</font></div>
<div> </div>
<div><font face="Arial" size="2">I am using vtkQt version1.5 (<a
href="http://carol.science.uva.nl/%7Edshamoni/">http://carol.science.uva.nl/~dshamoni/</a>) </font></div>
<div><font face="Arial" size="2">based on VTK 4.2 and Qt 3.1 on
linux. For the following simple program:</font></div>
<div> </div>
<div>#include "vtkQtRenderWindow.h"<br>
#include "vtkRenderer.h"<br>
<br>
int main (void)<br>
{<br>
vtkRenderer *ren = vtkRenderer::New();<br>
vtkQtRenderWindow *renWindow = vtkQtRenderWindow::New();<br>
</div>
</blockquote>
Try:<br>
vtkQtRenderWindow *renWindow = new vtkQtRenderWindow();<br>
::New() method was removed, to make it easy use Qt Designer.<br>
<br>
<pre class="moz-signature" cols="72">--
Denis Shamonin
Section Computational Science
University of Amsterdam
Kruislaan 403, 1098 SJ Amsterdam
The Netherlands
E-mail : <a class="moz-txt-link-abbreviated" href="mailto:dshamoni@science.uva.nl">dshamoni@science.uva.nl</a>
URL : <a class="moz-txt-link-freetext" href="http://www.science.uva.nl/~dshamoni/">http://www.science.uva.nl/~dshamoni/</a>
Room number : F.215
Secr. number : +31 20 525 7463
Fax number : +31 20 525 7419
Office number : +31 20 525 7574
</pre>
</body>
</html>