IMX6 AND QT WİTH OPACITY

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6 AND QT WİTH OPACITY

887件の閲覧回数
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 件の賞賛
3 返答(返信)

778件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

How does it "not working"?

Any error message?

0 件の賞賛

778件の閲覧回数
mesahin
Contributor I

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

0 件の賞賛

778件の閲覧回数
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 件の賞賛