[vtkusers] Compile time error with Qt4 and VTK5CVS on WinXP

Nicolaus Andratschke koegli at yahoo.com
Mon Feb 26 02:59:58 EST 2007


Hello,

I just tried to compile VTK5-CVS with Qt4 and Python
support. Unexpectedely, I got the following error (So
far this combination compiled fine until now.):

[ 96%] Building CXX object
GUISupport/Qt/CMakeFiles/QVTK.dir/vtkEventQtSlotConnect.obj
vtkEventQtSlotConnect.cxx
C:\Programming\Qt-4.2.2\include\QtCore/qmap.h(908) :
error C2244: 'QMultiMap<Key,T>::replace' : unable to
match function definition to an existing declaration
      
C:\Programming\Qt-4.2.2\include\QtCore/qmap.h(893) :
see declaration of 'QMultiMap<Key,T>::replace'
       definition
       'QMap<aKey,aT>::iterator
QMultiMap<Key,T>::replace(const Key &,const T &)'
       existing declarations
       'QMap<aKey,aT>::iterator
QMultiMap<Key,T>::replace(const Key &,const T &)'
C:\Programming\Qt-4.2.2\include\QtCore/qmap.h(912) :
error C2244: 'QMultiMap<Key,T>::insert' : unable to
match function definition to an existing declaration
      
C:\Programming\Qt-4.2.2\include\QtCore/qmap.h(894) :
see declaration of 'QMultiMap<Key,T>::insert'
       definition
       'QMap<aKey,aT>::iterator
QMultiMap<Key,T>::insert(const Key &,const T &)'
       existing declarations
       'QMap<aKey,aT>::iterator
QMultiMap<Key,T>::insert(const Key &,const T &)'


I use Visual C++ Express (nmake mode) on WinXP, VTK5
(CVS, updated), Qt-4.2.2 and Python 2.5 in Release
mode.

Many thanks,

NIC



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/



More information about the vtkusers mailing list