Re: [gtk-osx-users] GTK with Quartz backend



On Fri, 8 Jan 2021, John Ralls wrote:

On Jan 8, 2021, at 10:32 AM, Valerio Messina via gtk-osx-users-list <gtk-osx-users-list gnome org> wrote:

I'm new on macOS things, so sorry for obvious questions. [...]

First of all, you're on the wrong list. This list isn't a generic Gtk on macOS list, it's for supporting https://wiki.gnome.org/action/show/Projects/GTK/OSX?action=show&redirect=Projects%2FGTK%2B%2FOSX.

Yep, "gtk-osx" has a very specific meaning here, and that's fine. But I hope I'm not too far off-topic in commenting on a couple of points. (Valerio: if you want to follow up, best to do so off-list.)

As far as I know there is no binary distribution of the Gtk2 (or 3 or 4 for that matter) stack for macOS, Quartz or X11.

There are some existing binary packages for macOS with X11. The R project has one at http://r.research.att.com/libs/GTK_2.24.17-X11.pkg and another is
at http://ricardo.ecn.wfu.edu/pub/gretl/GTK+.framework.dmg .

It's also not possible to cross-compile for the Quartz backend because that requires a macOS SDK, something available only on Mac computers running macOS.

Not so. See https://github.com/tpoechtrager/osxcross , a brilliant piece of work. Cross-compiling on linux via clang is not too difficult; I do it for gretl ( http://gretl.sourceforge.net/ ), a rather complex GTK application.

Allin Cottrell


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]