Tema: Qwt ir Qt/S60
Autorius: Takkskalduha
Data: 2009-10-14 10:06:37
Sveiki,
noriu panaudoti Qwt biblioteka Qt/S60 programelej (is tikro QwtPlot, bet 
vistiek jam reikia Qwt). Esme, kad pati Qwt sukompiliavau WINSCW 
(emuliatoriui) sekmingai, bet sukompiliuot koki nors example'a 
nepavyksta, nors atrodo viskas elementariau :/

Compilinimo nesekmes atrodo sekanciai:

mwldsym2.exe: Undefined symbol: 'QwtThermo::QwtThermo(class QWidget *) 
(??0QwtTh
ermo@@QAE@PAVQWidget@@@Z)'
mwldsym2.exe: referenced from 'Thermo::Thermo(class QString const &, 
class QWidg
et *) (??0Thermo@@QAE@ABVQString@@PAVQWidget@@@Z)' in ampfrm.cpp:79
mwldsym2.exe: referenced from 'TuningThermo::TuningThermo(class QWidget 
*) (??0T
uningThermo@@QAE@PAVQWidget@@@Z)' in tunerfrm.cpp:15
.......
mwldsym2.exe: referenced from 'void TunerFrame::adjustFreq(double) 
(?adjustFreq@
TunerFrame@@AAEXN@Z)' in tunerfrm.cpp:85
mwldsym2.exe: referenced from 'void TunerFrame::adjustFreq(double) 
(?adjustFreq@
TunerFrame@@AAEXN@Z)' in tunerfrm.cpp:87
mwldsym2.exe: Undefined symbol: 'class QwtRoundScaleDraw * 
QwtKnob::scaleDraw(vo
id) (?scaleDraw@QwtKnob@@QAEPAVQwtRoundScaleDraw@@XZ)'
mwldsym2.exe: referenced from 'class QSize Knob::sizeHint(void) const 
(?sizeHint
@Knob@@UBE?AVQSize@@XZ)' in ampfrm.cpp:39
.....
mwldsym2.exe: referenced from 'TunerFrame::TunerFrame(class QWidget *) 
(??0Tuner
Frame@@QAE@PAVQWidget@@@Z)' in tunerfrm.cpp:43
mwldsym2.exe: Undefined symbol: 'void 
QwtAbstractScale::setScaleMaxMinor(int) (?
setScaleMaxMinor@QwtAbstractScale@@QAEXH@Z)'
mwldsym2.exe: referenced from 'TunerFrame::TunerFrame(class QWidget *) 
(??0Tuner
Frame@@QAE@PAVQWidget@@@Z)' in tunerfrm.cpp:45
......
mwldsym2.exe: referenced from 'TunerFrame::TunerFrame(class QWidget *) 
(??0Tuner
Frame@@QAE@PAVQWidget@@@Z)' in tunerfrm.cpp:52
mwldsym2.exe: Undefined symbol: 'void QwtWheel::setTotalAngle(double) 
(?setTotal
Angle@QwtWheel@@QAEXN@Z)'
mwldsym2.exe: referenced from 'TuningThermo::TuningThermo(class QWidget 
*) (??0T
uningThermo@@QAE@PAVQWidget@@@Z)' in tunerfrm.cpp:16

Errors caused tool to abort.
make[2]: *** [\Dev\S60_5th_Edition_SDK_v1.0\epoc32\release\winsc
w\udeb\radio.exe
] Error 1
make[1]: *** [TARGETRADIO_0XEF759F7E] Error 2
make[1]: Leaving directory `D:/Dev/qwt-5.2/examples/radio'
make -r -f "\Dev\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Dev\qw 
t-5.2\examples\r
adio\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
make[1]: Entering directory `D:/Dev/qwt-5.2/examples/radio'
make -s -C \Dev\qwt-5.2\examples\radio -f "MAKEFILE_0XEF759F7E.MK" 
TO_ROOT=..\.
..\..\.. EPOCBLD=\Dev\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD
\MAKEFILE_0XEF759F7E\W
INSCW TO_BLDINF=..\..\..\..\Dev\qwt-5.2\examples\radio PLATFORM=WINSCW 
CFG=UDEB
FINAL
make[1]: Leaving directory `D:/Dev/qwt-5.2/examples/radio'


atrodo elementariai kazkas su include'ais, bet nerandu kas su jais gali 
buti ne taip. Gal is Carbide projekto atrodys aikskiau:

klaidos: http://i047.radikal.ru/0910/d2/0fc7961fe39c.jpg
includai: http://s39.radikal.ru/i083/0910/6a/827f96c67866.jpg

Qwt lib'a projekte nurodau.

Dekui uz mintis.