PDA

View Full Version : problem in istallation of qwtpolar



wagmare
20th December 2012, 09:50
hi friends,

i have a problem in installing qwtpolar in my linux rhel-6(santiago)

when i try to install
i made all the settings of makespecs

qmake-qt4 -set QMAKEFEATURES /usr/local/qwt-6.0.1/features

and
qmake-qt4 -query returns,

MAKEFEATURES:/usr/local/qwt-6.0.1/features
QMAKEFEATURES:/usr/local/qwt-6.0.1/features
QT_INSTALL_PREFIX:/usr/local/Trolltech/Qt-4.7.1
QT_INSTALL_DATA:/usr/local/Trolltech/Qt-4.7.1
QT_INSTALL_DOCS:/usr/local/Trolltech/Qt-4.7.1/doc
QT_INSTALL_HEADERS:/usr/local/Trolltech/Qt-4.7.1/include
QT_INSTALL_LIBS:/usr/local/Trolltech/Qt-4.7.1/lib
QT_INSTALL_BINS:/usr/local/Trolltech/Qt-4.7.1/bin
QT_INSTALL_PLUGINS:/usr/local/Trolltech/Qt-4.7.1/plugins
QT_INSTALL_IMPORTS:/usr/local/Trolltech/Qt-4.7.1/imports
QT_INSTALL_TRANSLATIONS:/usr/local/Trolltech/Qt-4.7.1/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/local/Trolltech/Qt-4.7.1/examples
QT_INSTALL_DEMOS:/usr/local/Trolltech/Qt-4.7.1/demos
QMAKE_MKSPECS:/usr/local/Trolltech/Qt-4.7.1/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.1

but still i receives the same error messages ..


make[1]: Entering directory `/home/rtts/Downloads/qwtpolar-1.0.1/src'
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC -DQWT_POLAR_NO_SVG -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib64/qt-3.3/mkspecs/default -I. -I/usr/lib64/qt-3.3/include -Imoc/ -o obj/qwt_polar_fitter.o qwt_polar_fitter.cpp
In file included from qwt_polar_fitter.cpp:9:
qwt_polar_fitter.h:13:30: error: qwt_curve_fitter.h: No such file or directory
In file included from qwt_polar_fitter.cpp:9:
qwt_polar_fitter.h:25: error: expected class-name before ‘{’ token
qwt_polar_fitter.h:33: error: ‘QPolygonF’ does not name a type
qwt_polar_fitter.cpp: In member function ‘void QwtPolarFitter::setStepCount(int)’:
qwt_polar_fitter.cpp:50: error: ‘qMax’ was not declared in this scope
qwt_polar_fitter.cpp: At global scope:
qwt_polar_fitter.cpp:69: error: ‘QPolygonF’ does not name a type
make[1]: *** [obj/qwt_polar_fitter.o] Error 1
make[1]: Leaving directory `/home/rtts/Downloads/qwtpolar-1.0.1/src'
make: *** [sub-src-make_default-ordered] Error 2



please help me to solve this problem ..


Thanks in advance ..

Uwe
20th December 2012, 09:55
Obviously the makefile was generated with a Qt3 qmake ( see: /usr/lib64/qt-3.3/mkspecs/default ).

Uwe

wagmare
20th December 2012, 10:20
Obviously the makefile was generated with a Qt3 qmake ( see: /usr/lib64/qt-3.3/mkspecs/default ).

Uwe

first thanks for reply ..
yeah i observed that but i created the make with qt-4.7 qmake only ... but how ..?
how can i solve it ..

even query return s

QMAKE_MKSPECS:/usr/local/Trolltech/Qt-4.7.1/mkspecs

Added after 12 minutes:

yeah solved it ..
changed my QTDIR path to /usr/local/Trolltect/Qt-4.7.2

thanks