Thread Subject: OSX + Xcode + Qt + matlab -> cannot figure out dylibs

Subject: OSX + Xcode + Qt + matlab -> cannot figure out dylibs

From: jawilson

Date: 21 Jan, 2008 05:02:52

Message: 1 of 2

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

Subject: OSX + Xcode + Qt + matlab -> cannot figure out dylibs

From: oguz Tanrikulu

Date: 3 Aug, 2008 15:48:02

Message: 2 of 2

jawilson <jawilson2@gmail.com> wrote in message <8a43457d-17b4-
48d7-a5bd-4bd3bd7f5e8d@q39g2000hsf.googlegroups.com>...
> 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

Did you figure this out? I'm trying to do the same thing

Thanks

Oguz



Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
engine Ryan Ollos 11 Mar, 2009 21:58:15
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com