Hello,

I am trying to install QWT 5.2.2 on Qt 3 but I get the following error. Can anyone help me? I already have Qwt 0.4.1(4.1) installed , was trying to install this over it.

This is what I get.

Qt Code:
  1. [root@localhost qwt-5.2.2]# make
  2. cd src && make -f Makefile
  3. make[1]: Entering directory `/root/Qt/Babysteps-Examples-Qt/qwt-5.2.2/src'
  4. g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/lib/qt-3.1/include -Imoc/ -o obj/qwt_abstract_scale_draw.o qwt_abstract_scale_draw.cpp
  5. qwt_abstract_scale_draw.cpp:15:21: qlocale.h: No such file or directory
  6. qwt_abstract_scale_draw.cpp: In member function `virtual QwtText
  7. QwtAbstractScaleDraw::label(double) const':
  8. qwt_abstract_scale_draw.cpp:362: `QLocale' undeclared (first use this function)
  9. qwt_abstract_scale_draw.cpp:362: (Each undeclared identifier is reported only
  10. once for each function it appears in.)
  11. qwt_abstract_scale_draw.cpp:362: parse error before `::' token
  12. qwt_abstract_scale_draw.cpp:361: warning: unused parameter `double value'
  13. make[1]: *** [obj/qwt_abstract_scale_draw.o] Error 1
  14. make[1]: Leaving directory `/root/Qt/Babysteps-Examples-Qt/qwt-5.2.2/src'
  15. make: *** [sub-src] Error 2
  16. [root@localhost qwt-5.2.2]#
To copy to clipboard, switch view to plain text mode