Results 1 to 2 of 2

Thread: Running application on Mac OS X

  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Running application on Mac OS X

    Hi,

    I did not find a suitable category and therefore I am posting it here.

    I am trying to run an application on Mac OS X but I am getting the following error

    dylib: Library not loaded: libqwt.4.dy.lib
    Referenced from ......

    Reason: image not found
    Trace /BPT trap

    My application uses qwt 4.2.0. I have successfully complied the qwt code and build the library.

    I have libqwt.4.2.0.dylib in /Developer/Qwt-4.2.0/lib. Also there are other files which are alias. These files are:

    libqwt.4.2.dylib
    libqwt.4.dylib
    libqwt.dylib

    Thaks for the help.

  2. #2
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Running application on Mac OS X

    It sounds like libqwt isn't in your library path. Read the page on deploying for Mac OSX. http://doc.trolltech.com/4.1/deployment-mac.html. You may need to set an environment variable, or use install_name_tool. Or if you're distributing the program, consider static linking.

Similar Threads

  1. How to detect a running application
    By yogesh in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2009, 10:22
  2. How to invoke a running application
    By srikanthch in forum Qt Programming
    Replies: 2
    Last Post: 18th December 2008, 15:42
  3. Replies: 7
    Last Post: 24th November 2008, 11:22
  4. Knowing if application is running
    By mourad in forum Qt Programming
    Replies: 1
    Last Post: 15th May 2008, 10:47
  5. Replies: 10
    Last Post: 10th March 2008, 12:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.