Re: Can I install both GTK+2 and GTK+3?
- From: Emmanuele Bassi <ebassi gmail com>
- To: David Buchan <pdbuchan yahoo com>
- Cc: gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Re: Can I install both GTK+2 and GTK+3?
- Date: Fri, 17 May 2013 03:50:57 +0100
hi;
yes, you most definitely can have gtk 2.x and gtk 3.x installed on the
same machine, without them interfering with each other. the shared
libraries and ancillary files are all parallel installable.
what you cannot do is using gtk 2.x *and* gtk 3.x at the same time, in
the same process.
if you want to write your application to support both gtk 2.x and 3.x,
you can do that only by compiling once against gtk 2.x and again
against gtk 3.x — i.e. you will need two binaries.
targeting gtk 2.x is not a good idea, though, unless you're migrating
from 2.x to 3.x and you want to have a "grace period" for your users
to switch. gtk 3.x is already 2.5 years old, and will be 3 years old
when 3.10 is released this September.
ciao,
Emmanuele.
On 17 May 2013 03:40, David Buchan <pdbuchan yahoo com> wrote:
I am using Ubuntu 13.04.
Rumour on the street (I *think* I read it somewhere) is that I can install both libgtk2.0-dev and
libgtk-3-dev. Is that true? Can they both be installed without interfering with each other, and without
breaking Unity?
I'd like to be able to provide executables of my program for those with GTK+2 and those with GTK+3. Maybe
I'm safer to use two separate machines to compile. Unity seems .... mmmm .... delicate.
Dave
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]