Results 1 to 3 of 3

Thread: Qwt with Qt for S60

  1. #1
    Join Date
    Oct 2009
    Location
    Vilnius, Lithuania
    Posts
    4
    Qt products
    Qt4

    Default Qwt with Qt for S60

    Hi,
    I'm trying to use Qwt in Qt for S60. I've managed to compile Qwt for WINSCW (emulator), but I can't manage to compile the supplied examples for example radio:
    Here are the compile errors:

    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'

    and from Carbide:

    http://i047.radikal.ru/0910/d2/0fc7961fe39c.jpg

    Looks like something with includes, but they looks like this and seems like ok:
    http://s39.radikal.ru/i083/0910/6a/827f96c67866.jpg

    Also I've tryed to put qwt.dll everywere it can be found (pro file have LIBS to it), but result is the same Any ideas?

  2. #2
    Join Date
    Oct 2009
    Location
    Vilnius, Lithuania
    Posts
    4
    Qt products
    Qt4

    Default Re: Qwt with Qt for S60

    Seems like I found the answer to my problem:
    http://wiki.forum.nokia.com/index.ph...ymbian_C%2B%2B

  3. #3
    Join Date
    Oct 2009
    Location
    Vilnius, Lithuania
    Posts
    4
    Qt products
    Qt4

    Default Re: Qwt with Qt for S60

    Ok, the problem was a little more complicated as described in that document: qwt_global.h header defines library export directives only for windows, so under symbian were builded empty lib.

Similar Threads

  1. qwt 5.2 install on qt 4.5
    By HyperB in forum Qwt
    Replies: 4
    Last Post: 13th May 2009, 20:03
  2. Step by step Qwt on MinGW
    By Doug Broadwell in forum Qwt
    Replies: 2
    Last Post: 23rd January 2009, 00:19
  3. QWT introduction
    By nitriles in forum Qwt
    Replies: 4
    Last Post: 28th September 2007, 10:48
  4. How to upgrade Qwt 5.0.1 to Qwt 5.0.2
    By luffy27 in forum Qwt
    Replies: 1
    Last Post: 15th July 2007, 19:55
  5. use interesting QWT Library with QT3.X
    By raphaelf in forum Qwt
    Replies: 2
    Last Post: 23rd January 2006, 11:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.