Results 1 to 2 of 2

Thread: QWT compilation problems - Mac OS 10.6 & QT 4.6.0

  1. #1
    Join Date
    Jun 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default QWT compilation problems - Mac OS 10.6 & QT 4.6.0

    I'm trying to install QWT on a Mac running OS 10.6. I installed QT 4.6.0 using the .dmg files available from Nokia's website. I extracted QWT, opened terminal and ran the following commands (as recommended in the INSTALL file):

    qmake -spec macx-g++
    make

    Unfortunately make doesn't complete successfully. I get the following output:

    ......
    rm -f qwtmathml qwtmathml.framework/qwtmathml ../../lib/qwtmathml.framework/qwtmathml
    linking ../../lib/qwtmathml.framework/qwtmathml
    ld: file not found: QtSvg.framework/Versions/4/QtSvg for architecture x86_64
    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 tried the same with the SDK version of QT. The only difference is that the architecture specified is then i386.

    I've tried a number of things, and I've googled like crazy, but I haven't been able to find a solution to the problem. I'm also new to Mac, QT and QWT so if someone could nudge me in the right direction, it would be much appreciated.

  2. #2
    Join Date
    Jun 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QWT compilation problems - Mac OS 10.6 & QT 4.6.0

    I eventually installed the latest version of QT SDK. Then I didn't have problems compiling QWT.

    It seems that the main difference between the latest install and the old install (other than a change in code of course) is that the latest QT SDK installs all its files in one location where the old version installs its files in various standard developer directories. I assume this is what caused the new version to work.

    If someone could still help me to get the old version working, that would be great - I don't want to have compatibility issues with other computers at my organisation.

Similar Threads

  1. Replies: 2
    Last Post: 23rd July 2010, 14:53
  2. Compilation problems with MinGW
    By nhs_0702 in forum Qt Programming
    Replies: 1
    Last Post: 2nd April 2010, 08:34
  3. Compilation problems with QT 4.3.1
    By mansoorulhaq in forum Qt Programming
    Replies: 2
    Last Post: 20th August 2007, 09:47
  4. problems about cross-compilation qte to arm
    By slient in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 10th April 2007, 16:59
  5. Compilation without......
    By ball in forum Installation and Deployment
    Replies: 1
    Last Post: 28th January 2006, 21:31

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.