chris at chris-wilson.co.uk
Sun Jun 14 13:12:44 PDT 2009
Once upon a time Vlad wrote a backend for Mozilla to integrate cairo
into a Qt[Embeded] stack. Only slightly more recently did Oleg Romashin
(http://lists.cairographics.org/archives/cairo/2008-September/015078.html) request that it be added to cairo proper. Now that Qt has been relicensed to LGPL, it would seem reasonable to accept the backend into cairo - if it is still useful.
I've pushed an initial merge to annarchy:~ickle/cairo in the qt branch,
and attached the patch.
The remaining issues are basically:
1. Compile flags - we could do with filtering the invalid for C++ flags
from MAYBE_WARN for CXXFLAGS. I started and lost the will to continue
after failing miserably to separate out CPPFLAGS, CFLAGS and CXXFLAGS.
2. C++ does not play well with the PLT symbol hiding, and leaks into the
global namespace. (causing make check to fail at check-plt.sh)
3. QApplication (used by the boilerplate to construct the context to
create a cairo-qt-surface) leaks cairo-ft-fonts causing assertion
failures during the test suite and perf suite.
4. The various incomplete warts still remaining in the backend
(show-glyphs is the principal missing interface).
For me not being able to run 'make check' is enough to stop this backend
becoming supported, but should we add it as an experimental backend?
Does anybody care?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20090614/9ba5bd6a/attachment-0001.bin
More information about the cairo