Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Cannot run any code that uses Qwt
jdent last edited by
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?
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.