Hi,
this is my first post so please be tolerance.
I read about qwt and now i have many problems to use it with Qt Creator 1.3.0 based on Qt 4.6.0 (32 bit)
I download sources from https://qwt.svn.sourceforge.net/svnr...anches/qwt-5.2
I install it to C:\qwt
QT is installed in C:\Qt\2009
I read installation tips but i have no idea what i've to do step by step.
So please help me.
Information for installation from http://qwt.sourceforge.net/qwtinstall.html
First problem: I can't edit qwtconfig.pri because i don't have it.make reads project files, that contain the options and rules how to
build a certain project. A project file ends with the suffix "*.pro".
Files that end with the suffix "*.pri" are included by the project
files and contain definitions, that are common for several project files.
qwtconfig.pri is read by all project files of the Qwt package.
So the first step is to edit qwtconfig.pri to adjust it to your
needs.
So i go to the next step ,maby there i found answers or tips why....
I go to folder C:\qwtC) Win32/MinGW Qt4
==================
C1) Windows Shell
Start a Windows Shell, where Qt4 is initialized. ( F.e. with
"Programs->Qt by Trolltech ...->Qt 4.x.x Command Prompt" ).
qmake qwt.pro
make
"qmake qwt.pro " works but nothing is happen.
"make " doesn't work because name "make" is not recognizable
I "googled" and i found tips that after qmake i should use on Windows mingw32-make
And now i have many errors:
What i do wrong,where i have right and where i make a mistake.C:\qwt>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/qwt'
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -
DQT_DLL -DQWT_DLL -DQWT_MAKEDLL -DQT_THREAD_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_C
ORE_LIB -I"..\Qt\2009\qt\include\QtCore" -I"..\Qt\2009\qt\include\QtGui" -I"..\Q
t\2009\qt\include" -I"include" -I"..\Qt\2009\qt\include\ActiveQt" -I"src\moc" -I
"..\Qt\2009\qt\mkspecs\win32-g++" -o src\obj\qwt_autoscl.o src\qwt_autoscl.cpp
In file included from include/qwt_scldiv.h:14,
from include/qwt_autoscl.h:14,
from src\qwt_autoscl.cpp:11:
include/qwt_array.h:25:23: error: qmemarray.h: No such file or directory
In file included from src\qwt_autoscl.cpp:10:
include/qwt_math.h: In function 'void qwtShiftArray(T*, int, int)':
include/qwt_math.h:162: error: there are no arguments to 'QABS' that depend on a
template parameter, so a declaration of 'QABS' must be available
include/qwt_math.h:162: note: (if you use '-fpermissive', G++ will accept your c
ode, but allowing the use of an undeclared name is deprecated)
In file included from include/qwt_autoscl.h:14,
from src\qwt_autoscl.cpp:11:
include/qwt_scldiv.h: At global scope:
include/qwt_scldiv.h:18: error: 'QMemArray' is not a template
include/qwt_scldiv.h:18: error: explicit instantiation of non-template type 'QMe
mArray'
include/qwt_scldiv.h:128: error: 'QMemArray' is not a template
Please help mi with my big problem.
At the end sorry for my english. :/
Bookmarks