Install and use QWT under Mac OS X

后端 未结 2 651
灰色年华
灰色年华 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:53

    1. Download the .tar.bz2 from here

    2. Extract it where you want, for Example inside your Download-Folder

    3. Then change into the directory qwt-6.1.4 (Example: mac:~ Apple$ cd downloads/qwt-6.1.4)
    4. Then qmake the qwt.pro (Example: mac:~ Apple$ /Users/(your name)/documents/qt/5.12.5/clang_64/bin/qmake qwt.pro)
    5. mac:~ Apple$ make
    6. mac:~ Apple$ sudo make install
    7. Inside your QT Project you have to add the following line to the .pro insert this line: "include ( /usr/local/qwt-6.1.4/features/qwt.prf )" without quotes
    8. Now you have to create a softlink like this: mac:~ Apple$ sudo ln -s/usr/local/qwt-6.1.4/lib/qwt.framework/qwt /usr/lib/qwt

    If you have this error:

    dyld: Library not loaded: qwt.framework/Versions/6/qwt
    Referenced from: /Users/Desktop/build-check5-Desktop_Qt_5_12_5_clang_64bit2-Debug/check5.app/Contents/MacOS/check5
    Reason: image not found
    

    For MacOs Mojave you must copy qwt.framework to the Library/Frameworks folder.

提交回复
热议问题