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: Julien Wintz <address@concealed>
  • To: address@concealed
  • Subject: Re: [Mathemagix] Configuration of Qt on Mac Os X Leopard
  • Date: Tue, 12 Feb 2008 08:47:49 +0100

Dear Joris,

I guess you installed Qt using the somehow "official" disk image (.dmg). The latter tries to follow the Apple Developer Tools (ADT) concept (by installing everything in /Developer) but it is not a good choice in combination with autotools.

I use to install Qt with the regular ./configure make make install method. This results in a clean installation in e.g. /usr/local/Trolltech/Qt-4.3.3 which is better handled by autotools, in particular this does not build frameworks (unless the -framework option is given to configure) but dylibs.

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.

Regards, Ju.

Joris van der Hoeven wrote:
Hi,

Does anyone know how to configure the official Qt 4 distribution by Trolltech
on Mac OS 10.5 (Leopard) in combination with autotools ? In the columbus
package,
I included the file qt.m4 with macros for detecting Qt. However, adaptations
seem to be required for the native Aqua version. Even when setting CXXFLAGS,
LDFLAGS and LIBS by hand in the AC_LIB_QT macro, I do not manage to get things
working. I tried to copy the flags from the hello world example, but libtool
seems to throw away the -F option to specify a framework (no idea how these
things work by the way). Someone knows what to do?

Best wishes, Joris



Archive powered by MHonArc 2.6.18.

Top of Page