|
Hello,
I am writing an application on OS X using Xcode, and using Qt4 as the
GUI library. I am trying to use the matlab engine to do backend
calculations, but I am having a difficult time figuring out how
exactly to do handle the dylib matlab dynamic library files.
I have tried copying them to a Frameworks directory, and then going
through every dylib file and resetting the references to other dylibs
using install_name_tool change. I also needed to do this to the
executable being generated for my program (ie, I had to run
install_name_tool and update the path for EVERY dylib being used).
However, every time I recompiled, I needed to do this over again.
Also, if I cleaned the project, all of my copied dylibs were deleted,
and I had to recopy and reconfigure them again.
So, from within Xcode, how can I use the matlab engine dylibs with Qt?
I am specifically mentioning Qt because it would also be great to be
able to incorporate the solution into my qmake .pro file, such as
including the library files.
Thanks for the help!
Adam
|