Subject: Re: qt3-lib on OS X
To: Jeremy C. Reed <reed@reedmedia.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 04/14/2005 20:34:49
On Thu, Apr 14, 2005 at 10:12:56AM -0700, Jeremy C. Reed wrote:
> > The attached patch fix it, by making osX equivalent to darwin.
>
> > + #if defined(__DARWIN_X11__)
> > + # define Q_OS_DARWIN
> > + #elif defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__))
> > +-# define Q_OS_MACX
> > ++# define Q_OS_DARWIN
> > + #elif defined(__MACOSX__)
> > +-# define Q_OS_MACX
> > ++# define Q_OS_DARWIN
>
> I see you already committed. I will have to give this a try.
>
> How is it working for you?
Quite well. I've been able to compile others qt3 packages without much
troubles.
>
> I am surprised that just defining Q_OS_DARWIN is good enough. I spent
> hours trying it a harder way, and never finished it.
>
> I found various patches from a fink list and from darwin ports. They fixed
> a lot places in the code that missed checks for Darwin for X11.
>
> Now I see the qt-x11-free in pkgsrc is now 3.3.4. That probably fixed
> these problems. I forgot that was done in February -- thanks Adam.
Maybe. I didn't have anything else to patch than this. And it looks like
Darwin is officially supported in qt.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--