PDA

View Full Version : QWT is missing files



Jore
17th February 2010, 15:36
Hi there

When building QWT i miss the file qmemarray.h as included in qwt_array.h written by josef wilgen and uwe rathmann

"#ifndef QWT_ARRAY_H
#define QWT_ARRAY_H

#include "qwt_global.h"

/*!
\def QwtArray
Aliases QArray (Qt-2.x) and QMemArray (Qt-3.x) to QwtArray
*/
#ifdef QWT_NO_MEMARRAY
#include <qarray.h>
#define QwtArray QArray
#else
#include <qmemarray.h>
#define QwtArray QMemArray
#endif

#endif"

Anyone who knows where I can find a complete release of QWT as the one at SOURCEFORGE is incomplete?
Or, even better, anyone who knows where I can download QWT.DLL compiled for WIN32 on mingw (g++)?

Brg
Jore

norobro
18th February 2010, 02:30
Looks like you have an old version of qwt. Try this one: qwt-5.2.0 (http://sourceforge.net/projects/qwt/)

Jore
18th February 2010, 07:57
Hi Norobro!

Thank you for trying to help me!

I think you mean 4.2.0 and that's the version I'm using
(link goes to qwt-4.2.0-setup-qt230nc.exe)

The way I'm building my qwt.dll the 4.2.0 release is missing include files

Probably I'm building it all wrong.
After setting path and qmakespec I write
qmake qwt.pro
make

as instructed by INSTALL txt file.

The last row in the install file was obviously put there for a reason.
The last row states
"Good luck !"
Luck is what I need right now :-)
"If it wasn't for bad luck, I would have no luck at all" ;-)

Now I'll go and experiment with nmake instead

I just wonder, why can I not build QWT.DLL in QT Creator?
Would not that be really neat feature.

Brg
Jore

Jore
18th February 2010, 09:33
I've found and tried to build 5.2
(aiming at make install)

But building in qt4.6.1 QT Creator 1.3.1 generate error
c:/tools/Qt/2010.01/qt/include/QtCore/../../src/corelib/tools/qhash.h:875: error: call of overloaded 'qHash(const double&)' is ambiguous

trying comand line so far without luck
exit with same error as qt creator, ambiguous call


Does this mean that I have to downgrade QT?
To what version??
Appears that 4.6.1 does not play football with neither 5.2.0 nor 4.2.0

Brg
Jore

norobro
18th February 2010, 15:28
There are some threads on this issue in qwt forum. Here's one: http://www.qtcentre.org/threads/24037-Qwt-build-error-with-Qt-4-6-0-tp1