Qt 5.9 is now the minimum required version

This commit is contained in:
Albert Astals Cid 2018-11-17 11:24:51 +01:00
parent 6d6e1bfee9
commit e6f6bf9624
2 changed files with 0 additions and 4 deletions

View File

@ -486,11 +486,9 @@ void FrameSvgItem::doUpdate()
//software rendering (at time of writing Qt5.10) doesn't seem to like our tiling/stretching in the 9-tiles.
//also when using QPainter it's arguably faster to create and cache pixmaps of the whole frame, which is what the slow path does
#if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
if (QQuickWindow::sceneGraphBackend() == QLatin1String("software")) {
m_fastPath = false;
}
#endif
m_textureChanged = true;
update();

View File

@ -650,11 +650,9 @@ void IconItem::loadPixmap()
//don't animate initial setting
bool animated = (m_animated || m_allowNextAnimation) && !m_oldIconPixmap.isNull() && !m_sizeChanged && !m_blockNextAnimation;
#if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
if (QQuickWindow::sceneGraphBackend() == QLatin1String("software")) {
animated = false;
}
#endif
if (animated) {
m_animValue = 0.0;