IMX6 AND QT WİTH OPACITY

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6 AND QT WİTH OPACITY

883 Views
mesahin
Contributor I

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);

}

0 Kudos
3 Replies

774 Views
jimmychan
NXP TechSupport
NXP TechSupport

How does it "not working"?

Any error message?

0 Kudos

774 Views
mesahin
Contributor I

There is no error message.I think framebuffer does not allow to change alpha channel.

0 Kudos

774 Views
TomE
Specialist II

Posted in the wrong forum. This is for Coldfire chips, not i.MX. Please use the "Actions" option to move it.

Tom

0 Kudos