I created an app related opacity on qt widget app.It is succesfully working on ubuntu.But it s not working on imx6 board.Everything is same(only debugger is diffirent).
QT version : 5.3.2
Yocto : Poky Distro
Kernel : 3.14.28
{
QGraphicsOpacityEffect * effect = new QGraphicsOpacityEffect(this);
effect->setOpacity(0.565601);
ui->label->setGraphicsEffect(effect);
}
or with qpainter tried
{
QPixmap result(pixmap.size());
result.fill(Qt::transparent);
QPainter painter;
painter.begin(&result);
painter.setOpacity(pi);
painter.drawPixmap(0,0,pixmap);
painter.end();
label->setPixmap(result);
printf("opacity:%f",pi);
}
How does it "not working"?
Any error message?
There is no error message.I think framebuffer does not allow to change alpha channel.
Posted in the wrong forum. This is for Coldfire chips, not i.MX. Please use the "Actions" option to move it.
Tom