fix for ubports_arm_xenial image

This commit is contained in:
therecipe 2018-03-26 12:31:58 +02:00
parent 3412d43d35
commit 6d0ccca26d

View file

@ -282,11 +282,15 @@ func (c *Class) IsSupported() bool {
}
}
if strings.HasPrefix(c.Name, "QOpenGL") && os.Getenv("DEB_TARGET_ARCH_CPU") == "arm" {
c.Access = "unsupported_isBlockedClass"
return false
}
if utils.QT_VERSION_NUM() <= 5042 {
if c.Name == "QQmlAbstractProfilerAdapter" ||
c.Name == "QGraphicsLayout" ||
c.Name == "QQmlAbstractProfilerAdapter" ||
strings.HasPrefix(c.Name, "QOpenGL") && os.Getenv("DEB_TARGET_ARCH_CPU") == "arm" {
c.Name == "QQmlAbstractProfilerAdapter" {
c.Access = "unsupported_isBlockedClass"
return false
}