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.
[root@localhost qwt-5.2.2]# make
cd src && make -f Makefile
make[1]: Entering directory `/root/Qt/Babysteps-Examples-Qt/qwt-5.2.2/src'
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
qwt_abstract_scale_draw.cpp:15:21: qlocale.h: No such file or directory
qwt_abstract_scale_draw.cpp: In member function `virtual QwtText
QwtAbstractScaleDraw::label(double) const':
qwt_abstract_scale_draw.
cpp:362: `
QLocale' undeclared (first use this function)qwt_abstract_scale_draw.cpp:362: (Each undeclared identifier is reported only
once for each function it appears in.)
qwt_abstract_scale_draw.cpp:362: parse error before `::' token
qwt_abstract_scale_draw.cpp:361: warning: unused parameter `double value'
make[1]: *** [obj/qwt_abstract_scale_draw.o] Error 1
make[1]: Leaving directory `/root/Qt/Babysteps-Examples-Qt/qwt-5.2.2/src'
make: *** [sub-src] Error 2
[root@localhost qwt-5.2.2]#
[root@localhost qwt-5.2.2]# make
cd src && make -f Makefile
make[1]: Entering directory `/root/Qt/Babysteps-Examples-Qt/qwt-5.2.2/src'
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
qwt_abstract_scale_draw.cpp:15:21: qlocale.h: No such file or directory
qwt_abstract_scale_draw.cpp: In member function `virtual QwtText
QwtAbstractScaleDraw::label(double) const':
qwt_abstract_scale_draw.cpp:362: `QLocale' undeclared (first use this function)
qwt_abstract_scale_draw.cpp:362: (Each undeclared identifier is reported only
once for each function it appears in.)
qwt_abstract_scale_draw.cpp:362: parse error before `::' token
qwt_abstract_scale_draw.cpp:361: warning: unused parameter `double value'
make[1]: *** [obj/qwt_abstract_scale_draw.o] Error 1
make[1]: Leaving directory `/root/Qt/Babysteps-Examples-Qt/qwt-5.2.2/src'
make: *** [sub-src] Error 2
[root@localhost qwt-5.2.2]#
To copy to clipboard, switch view to plain text mode
Bookmarks