• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running fresh app on MacOSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running fresh app on MacOSX


  • Subject: Re: Running fresh app on MacOSX
  • From: Peter Groen <email@hidden>
  • Date: Sat, 5 Jan 2008 15:03:35 +0100


On 5 jan 2008, at 01:35, Peter Groen wrote:

Hi Trolls,

Quite new to programming with Qt on MacOSX and running into troubles already.

I have an application build with plugins (shared libs) and I was able to compile and link it. When I try to run the application, I'm treated to the following message...

--[ Message ]--

qtimetrack.app/Contents/MacOS/qtimetrack
dyld: Library not loaded: liblog4cpp.1.dylib
Referenced from: /Users/pgroen/projects/qtimetrack/build/ qtimetrack.app/Contents/MacOS/qtimetrack
Reason: image not found
Trace/BPT trap


--[ /Message ]--

I have to tell the DESTDIR for my application is build and the libs are one level below under lib.
I fiure it is normal under MacOSX to create a directory structure for the application. I only wonder how I can tell my application it has to look for the libs in a different place than expected (Where ever that may be). Not really a Qt-question, I know, but it is somewhat related.. (I hope)


Kind regards,

Peter M. Groen
Open Systems Development
Klipperwerf 12
2317 DZ  Leiden
Tel   : +31-(0)71-5216317
Mobile: +31-(0)6-29563390
Email : email@hidden
Skype : peter_m_groen

--
To unsubscribe - send a mail to email@hidden with "unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/


Kay.. Problems always get in my hair (If I had any :S ) so I tried to copy all the libs into the directory where the <applicationame>.app directory exist. And guess? It works.

But I still want to figure out if it is possible to use custom dirs for home-baked directories. If I have the time, I'll try to do something with LD_LIBRARY_PATH or something more BSD-like :)

Thanx for now.

Peter M. Groen
Open Systems Development
Klipperwerf 12
2317 DZ  Leiden
Tel   : +31-(0)71-5216317
Mobile: +31-(0)6-29563390
Email : email@hidden
Skype : peter_m_groen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Build on 10.5.1, run on 10.3.5, undefined symbols
  • Next by Date: Re: Running fresh app on MacOSX
  • Previous by thread: Re: Build on 10.5.1, run on 10.3.5, undefined symbols (solved, sort of)
  • Next by thread: Re: Running fresh app on MacOSX
  • Index(es):
    • Date
    • Thread