From 22587f57bd5d1b4440d936cd4655a7e8fcebdf36 Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Sun, 14 Jun 2009 20:43:05 +0100 Subject: Import Qt backend by Mozilla Written by Vladimir Vukicevic to enable integration with Qt embedded devices, this backend allows cairo code to target QPainter, and use it as a source for other cairo backends. This imports the sources from mozilla-central: http://mxr.mozilla.org/mozilla-central/find?text=&kind=text&string=cairo-qpainter renames them from cairo-qpainter to cairo-qt, and integrates the patch by Oleg Romashin: https://bugs.freedesktop.org/attachment.cgi?id=18953 And then attempts to restore 'make check' to full functionality. However: - C++ does not play well with the PLT symbol hiding, and leaks into the global namespace. 'make check' fails at check-plt.sh - Qt embeds a GUI into QApplication which it requires to construct any QPainter drawable, i.e. used by the boilerplate to create a cairo-qt surface, and this leaks fonts (cairo-ft-fonts no less) causing assertion failures that all cairo objects are accounted for upon destruction. [Updated by Chris Wilson] Acked-by: Jeff Muizelaar Acked-by: Carl Worth --- build/configure.ac.features | 1 + 1 file changed, 1 insertion(+) (limited to 'build/configure.ac.features') diff --git a/build/configure.ac.features b/build/configure.ac.features index 1901a18d..d3d321fd 100644 --- a/build/configure.ac.features +++ b/build/configure.ac.features @@ -363,6 +363,7 @@ AC_DEFUN([CAIRO_REPORT], echo " Image: yes (always builtin)" echo " Xlib: $use_xlib" echo " Xlib Xrender: $use_xlib_xrender" + echo " Qt: $use_qt" echo " Quartz: $use_quartz" echo " Quartz-image: $use_quartz_image" echo " XCB: $use_xcb" -- cgit v1.2.3