On segunda-feira, 3 de setembro de 2012 10.13.39, Justin Karneges wrote:
> Interesting approach. So the idea here is to have APIs that are platform
> independent, even if the underlying code paths (e.g. within QPixmap) must
> certainly differ by platform? And if the APIs themselves must differ by
> platform, split into special "support" libraries?

For X11, it's a necessity.

For Windows, we could leave the functions in QtGui, since QtGui links to the
Win32 libraries.

For Mac, it might be acceptable to do the same.

For Linux, it's not. QtGui does not link to any of the GUI libraries like X11,
XCB, DirectFB or Wayland. The only one it links to is the libGL (which means
it loads XCB/X11 indirectly). That means we need a separate library anyway.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to