Nominate our 2022 Qt Champions!

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/*/
    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?



  • Lifetime Qt Champion


    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