Results 1 to 2 of 2

Thread: Qwt 6.0.2 installation: linker error under MacOsX

  1. #1
    Join Date
    Feb 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Qwt 6.0.2 installation: linker error under MacOsX

    Hi,

    I am currently trying to install Qwt6.0.2 under MacOsX 10.7.5 (I already got it working and using it under WindowsXp, but I am quite new to programming under MacOsX). I am using Qt4.8.4. I created makefiles using qmake following the instructions given here: http://qwt.sourceforge.net/qwtinstall.html. When executing make, the linker stops with an error:
    ...
    cd textengines/ && make -f Makefile
    cd mathml/ && make -f Makefile
    compiling qwt_mathml_text_engine.cpp
    compiling qwt_mml_document.cpp
    rm -f qwtmathml qwtmathml.framework/qwtmathml ../../lib/qwtmathml.framework/qwtmathml
    linking ../../lib/qwtmathml.framework/qwtmathml
    ld: library not found for -lqwt
    collect2: ld returned 1 exit status
    make[2]: *** [../../lib/qwtmathml.framework/qwtmathml] Error 1
    make[1]: *** [sub-mathml-make_default] Error 2
    make: *** [sub-textengines-make_default-ordered] Error 2

    I also checked the included *.pro and *.pri files, but I did not change anything there as everything looked OK for me (as far as I can judge, perhaps I am missing something at this point?). Any ideas what is going wrong here?

    Thanks in advance!

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,326
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 880 Times in 828 Posts

    Default Re: Qwt 6.0.2 installation: linker error under MacOsX

    The project files are broken when building Qwt as a framework. You can disable using frameworks in qwtconfig.pri or replace qwtfunctions.pri with the version from SVN ( 6.0 branch ).

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 14th November 2012, 19:20
  2. Linker error with .obj
    By Wasabi in forum Newbie
    Replies: 0
    Last Post: 3rd August 2011, 17:49
  3. MacOSX PyQt4 installation problems
    By wraithdragon in forum Installation and Deployment
    Replies: 0
    Last Post: 11th November 2009, 04:36
  4. Linker error
    By alfblt16 in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2006, 10:20
  5. Linker Error
    By ankurjain in forum Qt Programming
    Replies: 2
    Last Post: 5th April 2006, 06:45

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.