In order to make Qt port compiling with Qt5, we need to minor fix for cairo-qt-surface.
This fix has been landed to cairo upstream:
So I guess we can easily apply it to moz-cairo tree
Created attachment 596504 [details] [diff] [review]
Cairo qt5 compilation fix