Found that recent trunk has been changed significantly and qt-surface port need to be updated in order to get mozilla-cairo-tree updates more smooth.
Created attachment 56905 [details] [review] Cairo_qt Fix
Created attachment 56906 [details] [review] Added comment to the patch
commit 4f81940749b680c6e48d393fd13108775efa38eb Author: Oleg Romashin <romaxa@gmail.com> Date: Sun Feb 12 01:34:34 2012 -0500 qt: Fix compilation, also minor fix for building against Qt5 Update to latest surface backend structure, removed obsolete functions and fixed functions API in order to be compatible with backend definition. Fixed compilation with Qt5
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.