<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt arial"><FONT face=Arial size=2>Hello
vtkusers,</FONT></DIV>
<DIV style="FONT: 10pt arial"> </DIV>
<DIV style="FONT: 10pt arial"> </DIV>
<DIV style="FONT: 10pt arial"> I want to recompute polydata in
vtkQtRenderInteractor based on mouse information, so I try to write a
subclass which inherits both vtkQtRenderInteractor and my own C++ class (which
includes the data for re-rendering).</DIV>
<DIV style="FONT: 10pt arial"> </DIV>
<DIV style="FONT: 10pt arial">But if I add my C++ header file into the
subclass, it always generates an compiling error:</DIV>
<DIV style="FONT: 10pt arial"> </DIV>
<DIV style="FONT: 10pt arial">use -Wno-deprecated.<BR>In file included from
/usr/lib/qt-3.1/include/qdict.h:42,<BR>
from
/usr/lib/qt-3.1/include/qstylesheet.h:45,<BR>
from
/usr/lib/qt-3.1/include/qtextedit.h:43,<BR>
from simulator2.cpp:21:<BR>/usr/lib/qt-3.1/include/qgdict.h: In member function
`QString<BR> QGDictIterator::getKeyString()
const':<BR>/usr/lib/qt-3.1/include/qgdict.h:203: parse error before numeric
constant<BR> </DIV>
<DIV style="FONT: 10pt arial"> </DIV>
<DIV style="FONT: 10pt arial">Thanks for any suggestions!</DIV>
<DIV style="FONT: 10pt arial"> </DIV>
<DIV style="FONT: 10pt arial">Hualiang Zhong</DIV>
<DIV style="FONT: 10pt arial"> </DIV></BODY></HTML>