Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Cannot run any code that uses Qwt

Cannot run any code that uses Qwt

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 913 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jdent
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved