[Qt] Flip Qt Quick item vertically if Qt version >= 5.6
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
QQuickMapboxGL::QQuickMapboxGL(QQuickItem *parent_)
|
||||
: QQuickFramebufferObject(parent_)
|
||||
{
|
||||
#if QT_VERSION >= 0x050600
|
||||
// FIXME: https://github.com/mapbox/mapbox-gl-native/issues/4866
|
||||
setMirrorVertically(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
QQuickMapboxGL::~QQuickMapboxGL()
|
||||
|
||||
Reference in New Issue
Block a user