qt-interest@trolltech.com
[Top] [All Lists]

[Qt4] Issue Building DLL with Xcode

Subject: [Qt4] Issue Building DLL with Xcode
From: Michael Rice
Date: Thu, 14 Jul 2005 02:16:40 -0500
Using the macx-xcode makespec (Xcode 2.0 and gcc 4.0), I'm able to build a .dylib file. However, it does not create the symbolic links for the versioned files. For example, after building, I would expect to see:
libfoo.1.0.0.dylib
libfoo.1.0.dylib -> libfoo.1.0.0.dylib
libfoo.1.dylib -> libfoo.1.0.0.dylib
libfoo.dylib -> libfoo.1.0.0.dylib

All I get from Xcode is libfoo.dylib. Linking my app against this library works fine. However, when I try to run the app, it fails becuase it can't find libfoo.1.dylib.

I can get around this by manually creating the symbolic link, but why doesn't the macx-xcode project create them?

BTW, it works correctly using the macx-g++ makespec.

Thanks.
michael

<Prev in Thread] Current Thread [Next in Thread>