Skip to Content.
Sympa Menu

mathemagix-devel - Re: [Mathemagix] Configuration of Qt on Mac Os X Leopard

Subject: Mathemagix

List archive

Re: [Mathemagix] Configuration of Qt on Mac Os X Leopard


Chronological Thread 
  • From: Joris van der Hoeven <address@concealed>
  • To: address@concealed
  • Subject: Re: [Mathemagix] Configuration of Qt on Mac Os X Leopard
  • Date: Sun, 24 Feb 2008 23:32:13 +0100

Dear Julien,

Thank you for your reply.

On Sun, Feb 24, 2008 at 11:21:53AM +0100, Julien Wintz wrote:
> Qt-4.3.4 has been released several days ago. I installed it yesterday.
> You are right, the default option is -framework. However, browsing
> /usr/lib/Trolltech/Qt-4.3.4/lib shows me an ".la" version of each module
> along with the corresponding framework (QtCore.la QtGui.la and so on).
>
> If dynamic libraries are required, I think libtool should provide a way
> to replace "-L... -lQtCore" by "-framework QtCore".

It seems best to require users to compile using the -noframework option.
Indeed, I had lots of difficulties when using frameworks in combination
with libtool.

> >>Note that this default path is the same under linux, and also that
> >>applying a diff on qt-mac and qt-x11 does not show any difference.
> >>
> >>I realized that with no additional work many libraries using autotools
> >>manage to find the required flags.
> >
> >Which libraries? I have been searching for an appropriate qt.m4,
> >but there does not seem to be any standard...
>
> Here is a link to the qt4.m4 used by Lyx:
> http://www.lyx.org/trac/browser/lyx-devel/trunk/config/qt4.m4.

Yes, I also hit that one when searching on the web;
it seems overly complex to me. The one that I have put in
our macros directory is a bit more straigtforward and effective.
It might be best to manually improve it...

> I'll try to find an opensource application using both Qt and libtool to
> see how they configure all that.

Any news on this issue would be welcome ;^)

Best wishes, Joris



Archive powered by MHonArc 2.6.18.

Top of Page