a problem about the opactiy effect in qt5+x11 (imx6q)

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

a problem about the opactiy effect in qt5+x11 (imx6q)

1,241 Views
wangzhigang
Contributor III

hi,everyone

recently,we have a problem about qt5 + x11  in imx6q.

our env :

yocto imx-3.10.53-1.1.2_patch

MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11

bitbake fsl-image-qt5

we compile the yocto,and get the x11 file system.

our demo for test the opactiy effect is as follow:

// -----------------------------------------

#include <QApplication>

#include <QScreen>

#include <QPushButton>

#include <QWidget>

#include <QSurfaceFormat>

int main(int argc, char **argv)

{

    QApplication app(argc, argv);

    QSurfaceFormat format;

    format.setSamples(4);

    QWidget w;

    w.setGeometry(200,200,500,400);

    w.setWindowOpacity(0.35);

    QPushButton bt("PushButton1", &w);

    bt.setGeometry(0,0,100,50);

    bt.show();

    QPushButton bt2("PushButton2", &w);

    bt2.setGeometry(400,350,100,50);

    bt2.show();

    w.show();

    return app.exec();

}

// -----------------------------------------

after we execute the demo,we get the warning as follow:

Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.

Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.

Warning: EGL suggested using X Visual ID 33 (RGB888) for EGL config 1 (RGB444), but this is incompatable

Unable to find an X11 visual which matches EGL config 1

and our demo is run without the opactiy effect.we have no idea about the problem,is everyone can help me ?

and how can I get the opactiy effect in qt5+x11?

Best Wishes!

0 Kudos
Reply
4 Replies

779 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi,

Your issue is being internally discussed with AE team. As soon as getting news, I will send you an update here.

Hope this will be useful for you.

Best regards!

/Carlos

0 Kudos
Reply

779 Views
wangzhigang
Contributor III

Thanks,I look forward to your help.

0 Kudos
Reply

779 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi,

Have you tried the latest release (with latest QT) in order to make sure it is reproducible using newer code? It would help to discard a bug on GPU package, which is the part of the code supported by Freescale.

Please let us know your finds.

Best regards!

0 Kudos
Reply

779 Views
wangzhigang
Contributor III

hi,

yes,we also use yocto-linux3.14 (qt5.3+x11) for test,It does not work.

0 Kudos
Reply