Cannot run any code that uses Qwt



  • Hi, I downloaded and installed Qwt 6.1.2 and built the examples ... However, I am unable to run any of them... I get the following:

    Dyld Error Message:
    Library not loaded: qwt.framework/Versions/6/qwt
    Referenced from: /Users/USER/*/barchart.app/Contents/MacOS/barchart
    Reason: image not found

    Could it be that the app (in this case barchart) is looking for a .dylib and not a framework? If so, how can I build Qwt as a dylib instead of a framework?

    Thanks!!

    Juan


  • Lifetime Qt Champion

    Hi,

    IIRC you have to add the DYLD_FRAMEWORK_PATH environment variable to the Run part of the project panel. Copy there the path to then folder containing the qwt.framework bundle.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.