Results 1 to 2 of 2

Thread: Can run every Qwt demo except svgmap

  1. #1
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Can run every Qwt demo except svgmap

    Hi,

    I'm using Qt 4.7.0, Qwt 6.0 on Windows 7, and it has a particular problem with SVG for some reason. I can run the SVG demos from qtdemo, but when I try to run the Qwt svgmap demo, I get

    c:\Qt\2010.05\qt\lib\libQtSvg.a(qsvghandler.o):qsv ghandler.cpp.text+0x6c2): undefined reference to `_imp___Z7qstrtodPKcPS0_Pb'

    collect2: ld returned 1 exit status
    libQtSvg.a is, of course, in lib along with libQtSvg4.a. Qt and Qwt are statically built, in release mode. Does anybody know how to solve this?

    Matt
    Last edited by MattPhillips; 23rd January 2011 at 23:01. Reason: More info

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Can run every Qwt demo except svgmap

    Is the svgmap build defining QWT_DLL or QT_DLL? This could cause symbol mismatches because the mangled names for the DLL vs. static versions are probably different. Neither QWT_DLL not QT_DLL should be defined for static linking.

    Was libQtSvg.a also compiled with static linking? Are you sure that it is a release build?

Similar Threads

  1. Game demo
    By QTInfinity in forum Qt-based Software
    Replies: 0
    Last Post: 1st November 2010, 04:56
  2. Customization of Qt Demo
    By nivditha in forum Newbie
    Replies: 7
    Last Post: 26th October 2010, 22:58
  3. QT Demo's Problem
    By photo_tom in forum Installation and Deployment
    Replies: 0
    Last Post: 26th May 2010, 21:44
  4. problem with stroking demo.
    By impeteperry in forum Qt Programming
    Replies: 4
    Last Post: 5th July 2006, 20:56

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.