Fehler bei installation von qwt

Verschiedenes zu Qt
Antworten
JanDos
Beiträge: 8
Registriert: 5. Dezember 2009 16:37

Fehler bei installation von qwt

Beitrag von JanDos »

Hallo,
habe vor mit qt angefangen und möchte kleine diagramme zeichnen,
nun scheitert es bei der installation von qwt unter windows xp
Die INSTALL Datei habe ich befolgt
das ist der Fehler:

Code: Alles auswählen

Setting up a MinGW/Qt only environment...
-- QTDIR set to C:\Qt\4.6.2
-- PATH set to C:\Qt\4.6.2\bin
-- Adding C:\MinGW\bin to PATH
-- Adding C:\WINDOWS\System32 to PATH
-- QMAKESPEC set to win32-g++

C:\Qt\4.6.2>cd qwt-5.2.0

C:\Qt\4.6.2\qwt-5.2.0>qmake qwt.pro

C:\Qt\4.6.2\qwt-5.2.0>make
cd src\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Qt/4.6.2/qwt-5.2.0/src'
mingw32-make -f Makefile.Release all
mingw32-make[2]: Entering directory `C:/Qt/4.6.2/qwt-5.2.0/src'
g++ -c -O2 -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_DLL -DQWT_DLL -DQWT_MAKEDLL -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT
_GUI_LIB -DQT_CORE_LIB -I"..\..\include\QtCore" -I"..\..\include\QtGui" -I"..\..
\include" -I"..\..\include\ActiveQt" -I"moc" -I"c:\Qt\2010.02.1\qt\mkspecs\win32
-g++" -o obj\qwt_plot.o qwt_plot.cpp
../../include/QtCore/../../src/corelib/tools/qhash.h: In member function `typena
me QHash<K, V>::Node** QHash<K, V>::findNode(const Key&, uint*) const [with Key
= qreal, T = QHashDummyValue]':
../../include/QtCore/../../src/corelib/tools/qhash.h:752:   instantiated from `t
ypename QHash<K, V>::iterator QHash<K, V>::insert(const Key&, const T&) [with Ke
y = qreal, T = QHashDummyValue]'
../../include/QtCore/../../src/corelib/tools/qset.h:175:   instantiated from `QS
et<V>::const_iterator QSet<V>::insert(const T&) [with T = qreal]'
../../include/QtCore/../../src/corelib/tools/qset.h:309:   instantiated from `QS
et<T> QList<T>::toSet() const [with T = qreal]'
qwt_valuelist.h:48:   instantiated from here
../../include/QtCore/../../src/corelib/tools/qhash.h:875: error: call of overloa
ded `qHash(const double&)' is ambiguous
../../include/QtCore/../../src/corelib/tools/qhash.h:62: note: candidates are: u
int qHash(char)
../../include/QtCore/../../src/corelib/tools/qhash.h:63: note:                 u
int qHash(uchar)
../../include/QtCore/../../src/corelib/tools/qhash.h:64: note:                 u
int qHash(signed char)
../../include/QtCore/../../src/corelib/tools/qhash.h:65: note:                 u
int qHash(ushort)
../../include/QtCore/../../src/corelib/tools/qhash.h:66: note:                 u
int qHash(short int)
../../include/QtCore/../../src/corelib/tools/qhash.h:67: note:                 u
int qHash(uint)
../../include/QtCore/../../src/corelib/tools/qhash.h:68: note:                 u
int qHash(int)
../../include/QtCore/../../src/corelib/tools/qhash.h:70: note:                 u
int qHash(ulong)
../../include/QtCore/../../src/corelib/tools/qhash.h:77: note:                 u
int qHash(long int)
../../include/QtCore/../../src/corelib/tools/qhash.h:79: note:                 u
int qHash(quint64)
../../include/QtCore/../../src/corelib/tools/qhash.h:86: note:                 u
int qHash(qint64)
../../include/QtCore/../../src/corelib/tools/qhash.h:87: note:                 u
int qHash(QChar)
mingw32-make[2]: *** [obj/qwt_plot.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/4.6.2/qwt-5.2.0/src'
mingw32-make[1]: *** [release-all] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.6.2/qwt-5.2.0/src'
mingw32-make: *** [sub-src-make_default] Error 2
woran könnte es liegen?
ich wäre für jede hilfe dankbar:)
jandos
PS:
QT 4.6.2
und Qwt 5.2.0 oder 5.1.2
Uwe
Beiträge: 176
Registriert: 9. Oktober 2005 13:37
Wohnort: München

Beitrag von Uwe »

Qwt 5.2.0 und Qt 4.6 vetragen sich nicht unter Windows. Nimm Qwt 5.2.1 oder Qt 4.5.

Uwe
Antworten