<!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></HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>thanks for response, I have found on this link a
good information: <FONT face="Times New Roman" size=3>to use QT_DLL, UNICODE,
QT_THREAD_SUPPORT in the precompiled arguments.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>With this line I can link the vtkhandqt solution
without problem, but It is strange because the other solutions (even kuebler
solution) give the same linking problem... It's strange but one runs, therefore
It's ok.</FONT></DIV>
<DIV><FONT face=Arial size=2>If anyone can explain me the reason of theses
problems, I'm still interested.</FONT></DIV>
<DIV><FONT face=Arial size=2>oli</FONT></DIV></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><BR><BR>I
have no ideas how to solve these problems but you might want to<BR>try another
vtk-Qt-package, which is provided by Carsten Kuebler:<BR><BR><A
class=moz-txt-link-freetext
href="http://wwwipr.ira.uka.de/~kuebler/vtkqt/index.html">http://wwwipr.ira.uka.de/~kuebler/vtkqt/index.html</A><BR><BR>I'm
using VTK4.0 and Qt2.3 under windows together with this <BR>package and it
works fine. It is very easy to handle and probably<BR>the very latest package
bringing VTK and Qt together.<BR><BR>Steffen<BR><BR>Oli wrote:<BR>
<BLOCKQUOTE cite=mid:00eb01c27ffd$2b3df790$694eb280@epfl.ch type="cite">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'have tried two librairies packages that
integrate VTK RendreWindow in a QT Widget. These librairies are vtkqt <A
href="http://www.matthias-koenig.net/vtkqt/">http://www.matthias-koenig.net/vtkqt/</A>
and vtkhandqt <A
href="http://www.medres.ch/%7Ejstifter/vtkandqt/">http://www.medres.ch/~jstifter/vtkandqt/</A>
. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I use QT2.3 and VTK4.0, and I runs without
problem programs that use VTK or KT. </FONT></DIV>
<DIV><FONT face=Arial size=2>But I cannot use these librairies, VisualC++
compiles but I get errors at linking:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>So Have you an idea?</FONT></DIV>
<DIV><FONT face=Arial size=2>thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>oli</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Errors with vtkhandqt:</FONT></DIV>
<DIV><FONT face=Arial size=2>Linking...<BR>interactormain.obj : error
LNK2001: unresolved external symbol "private: static struct QStringData
* QString::shared_null" (<A
href="mailto:?shared_null@QString@@0PAUQStringData@@A">
?shared_null@QString@@0PAUQStringData@@A</A> )<BR>renderwindow.obj : error
LNK2001: unresolved external symbol <A
href="mailto:_gluOrtho2D@32">_gluOrtho2D@32</A> <BR>moc_renderwindow.obj :
error LNK2001: unresolved external symbol "class QApplication * qApp"
(<A href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>
)<BR>moc_renderwindowinteractor.obj : error LNK2001: unresolved external
symbol "class QApplication * qApp" (<A
href="mailto:?qApp@@3PAVQApplication@@A"> ?qApp@@3PAVQApplication@@A</A>
)<BR>Debug/VTKQT1.exe : fatal error LNK1120: 3 unresolved externals<BR>Error
executing link.exe.</FONT></DIV>
<DIV><FONT face=Arial size=2>VTKQT1.exe - 5 error(s), 0
warning(s)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Errors with VTKQT:</FONT></DIV>
<DIV><FONT face=Arial size=2>Linking...<BR>qvExample.obj : error LNK2001:
unresolved external symbol "class QApplication * qApp" (<A
href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>
)<BR>vtkQtRenderWindow.obj : error LNK2001: unresolved external symbol
"class QApplication * qApp" (<A
href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>
)<BR>vtkQtRenderWindowInteractor.obj : error LNK2001: unresolved external
symbol "class QApplication * qApp" (<A
href="mailto:?qApp@@3PAVQApplication@@A"> ?qApp@@3PAVQApplication@@A</A>
)<BR>qvExample.obj : error LNK2001: unresolved external symbol "private:
static struct QStringData * QString::shared_null" (<A
href="mailto:?shared_null@QString@@0PAUQStringData@@A">
?shared_null@QString@@0PAUQStringData@@A</A>
)<BR>vtkQtRenderWindowInteractor.obj : error LNK2001: unresolved external
symbol "protected: virtual void __thiscall
vtkQtRenderWindowInteractor::initMetaObject(void)" (<A
href="mailto:?initMetaObject@vtkQtRenderWindowInteractor@@MAEXXZ">?initMetaObject@vtkQtRenderWindowInteractor@@MAEXXZ</A>
)<BR>vtkQtRenderWindowInteractor.obj : error LNK2001: unresolved external
symbol "public: virtual char const * __thiscall
vtkQtRenderWindowInteractor::className(void)const " (<A
href="mailto:?className@vtkQtRenderWindowInteractor@@UBEPBDXZ">?className@vtkQtRenderWindowInteractor@@UBEPBDXZ</A>
)<BR>vtkQtRenderWindowInteractor.obj : error LNK2001: unresolved external
symbol "private: static class QWidget * QApplication::main_widget" (<A
href="mailto:?main_widget@QApplication@@0PAVQWidget@@A">
?main_widget@QApplication@@0PAVQWidget@@A</A>
)<BR>vtkQtRenderWindowInteractor.obj : error LNK2001: unresolved external
symbol "public: static class QMetaObject * __cdecl
vtkQtRenderWindowInteractor::staticMetaObject(void)" (<A
href="mailto:?staticMetaObject@vtkQtRenderWindowInteractor@@SAPAVQMetaObject@@XZ">
?staticMetaObject@vtkQtRenderWindowInteractor@@SAPAVQMetaObject@@XZ</A>
)<BR>Debug/vtkqt2.exe : fatal error LNK1120: 6 unresolved externals<BR>Error
executing link.exe.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>vtkqt2.exe - 9 error(s), 0
warning(s)</FONT></DIV></FONT></DIV></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>