Install and use QWT under Mac OS X

后端 未结 2 655
灰色年华
灰色年华 2020-12-10 23:06

I am currently trying to get QWT 6.1.0 running under MAC OS X 10.7.5. I followed the instructions over here --> http://qwt.sourceforge.net/qwtinstall.html I didn\'t changed

2条回答
  •  我在风中等你
    2020-12-10 23:51

    I found a solution. Here is a step by step guide on how to install QWT 6.1.0 under Mac OS X and get it running inside the QT-Creator :

    1. Download the .tar.bz2 from here http://sourceforge.net/projects/qwt/files/qwt/6.1.0/
    2. Extract it where you want, for Example inside your Download-Folder
    3. Then change into the directory qwt-6.1.0
    4. Then you have to locate the qmake command line tool ( you can do so by simply searchng for it inside the Finder.
    5. Then qmake the qwt.pro File like /Applications/QT/5.1.0/clang_64/bin/qmake qwt.pro
    6. make
    7. sudo make install
    8. Inside your QT Project you have to add the following line to the .pro File include ( /usr/local/qwt-6.1.0/features/qwt.prf ) includes QWT libary into Project
    9. Now you have to create a softlink like this : sudo ln -s /usr/local/qwt-6.1.0/lib/qwt.framework/qwt /usr/lib/qwt

    Thats it. QWT now should work.

    UNDER MAVERICKS:

    If you are using Mavericks you have to manually copy the qwt.framework to Libary/Frameworks folder for not getting the "dyld: Library not loaded: libqwt.6.dylib" error .. i dont know why but it works.

提交回复
热议问题