IMX6 AND QT WİTH OPACITY

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX6 AND QT WİTH OPACITY

322 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

213 Views
jimmychan
NXP TechSupport
NXP TechSupport

How does it "not working"?

Any error message?

0 Kudos

213 Views
mesahin
Contributor I

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

0 Kudos

213 Views
TomE
Specialist I

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

Tom

0 Kudos