[Paraview] Current Version of Qt for CVS HEAD

Mike Jackson imikejackson at gmail.com
Wed Feb 20 08:37:49 EST 2008


Bug 6390 submitted.

--  
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Feb 20, 2008, at 2:33 AM, Jens wrote:

> but you have to fix the cmake-file, because it still asks for Qt  
> 4.2.3,
> even though the function
> 	qHash(const QPair<unsigned int,unsigned int>&)
> got introduced in Qt 4.3.x
>
> Greetings
> Jens
>
> Jens schrieb:
>> I had the same problem. You need Qt 4.3.3
>>
>> Mike Jackson schrieb:
>>> What version of Qt is expected for ParaView CVS HEAD? I am trying to
>>> build against Qt 4.2.3 on OS X 10.4.11 (intel) and I am getting the
>>> following error:
>>>
>>> [ 92%] Building CXX object
>>> Qt/Components/CMakeFiles/pqComponents.dir/ 
>>> pqCompositeDataTreeWidget.o
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h: In  
>>> member
>>> function 'typename QHash<K, V>::Node** QHash<K, V>::findNode 
>>> (const Key&,
>>> uint*) const [with Key = QPair<unsigned int, unsigned int>, T =
>>> QHashDummyValue]':
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:687:
>>> instantiated from 'typename QHash<K, V>::iterator QHash<K,
>>> V>::insert(const Key&, const T&) [with Key = QPair<unsigned int,
>>> unsigned int>, T = QHashDummyValue]'
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qset.h:152:
>>> instantiated from 'QSet<V>::const_iterator QSet<V>::insert(const T&)
>>> [with T = QPair<unsigned int, unsigned int>]'
>>> /Users/Shared/Kitware-CVS/ParaView3/Qt/Components/ 
>>> pqCompositeDataTreeWidget.cxx:220:
>>> instantiated from here
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:803:  
>>> error:
>>> no matching function for call to 'qHash(const QPair<unsigned int,
>>> unsigned int>&)'
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/ 
>>> qabstractitemmodel.h:350:
>>> note: candidates are: uint qHash(const QModelIndex&)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:40:
>>> note:                 uint qHash(char)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:41:
>>> note:                 uint qHash(uchar)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:42:
>>> note:                 uint qHash(signed char)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:43:
>>> note:                 uint qHash(ushort)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:44:
>>> note:                 uint qHash(short int)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:45:
>>> note:                 uint qHash(uint)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:46:
>>> note:                 uint qHash(int)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:47:
>>> note:                 uint qHash(ulong)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:55:
>>> note:                 uint qHash(long int)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:56:
>>> note:                 uint qHash(quint64)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:64:
>>> note:                 uint qHash(qint64)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:65:
>>> note:                 uint qHash(QChar)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:66:
>>> note:                 uint qHash(const QByteArray&)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtCore/qhash.h:67:
>>> note:                 uint qHash(const QString&)
>>> /Users/Shared/Toolkits/Qt-4.2.3-UBLib/include/QtGui/ 
>>> qitemselectionmodel.h:183:
>>> note:                 uint qHash(const QItemSelectionRange&)
>>> make[2]: ***
>>> [Qt/Components/CMakeFiles/pqComponents.dir/ 
>>> pqCompositeDataTreeWidget.o]
>>> Error 1
>>> make[1]: *** [Qt/Components/CMakeFiles/pqComponents.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>>
>>> When I was building against Qt 4.3.3 I did NOT get this error?
>>>
>>> -- 
>>> Mike Jackson
>>> imikejackson & gmail * com
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>



More information about the ParaView mailing list