最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

linux - QML Material style ripple showing at top left corner of screen instead of on the Button element - Stack Overflow

programmeradmin10浏览0评论

I am developing a QML application for an HMI device running embedded linux. I have develoed my application on Ubuntu desktop pc with Qt6.8.1 and Material style QtQuick controls. On desktop the UI works as expected but when I cross compile and run the application on my HMI, I observed that whenever there is a touch event on any of the button the Ripple effect is always shown at top left corner of the screen instead of the button itself. The clicked signal is trigger for the correct button on which the user has touched only the ripple is not showing properly.

I am using Linux Frame buffer(qlinuxfb & QT_QPA_PLATFORM=linuxfb:fb=/dev/fb1 ) without any windowing system on HMI. I have kept the window height and width fixed matching with actual HMI screen size and with frameless window on desktop also.

Can anyone suggest what could be wrong here.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论