Hi!

Im working on a project that will run on an embedded linux device. On the GUI that Im building I have a QPushButton that has a QMenu that is populated with a bunch of QWidgetActions.

On my desktop (Kubuntu 18.04 LTS) the QMenu just paints the QWidgets associated with the QWidgetActions in the QMenu (And this is the behaviour that I want)

On a Windows 10 machine the QMenu paints the QWidgets but it puts a border around them. This border can be deleted with
Qt Code:
  1. m_pMenu->setStyleSheet( "border: 0;" );
To copy to clipboard, switch view to plain text mode 

On my embedded linux device (I run the application directly on the framebuffer) the QMenu paints the QWidgets but it puts a border around them but I cant turn the border off with the StyleSheet code that works on Windows.

Any ideas on what to do? I need to remove the border on the embedded linux device. QT Version on the embedded device is 5.12

Thanks!