Search code examples
linuxuser-interfacecolorsqt4.88-bit

Correct display Qt Gui on Linux with 8-bits color. Dots at the dialog


Update: Now I know, that the reason is 8-bit color in the system. But I still have no decision.

The first dialog created with Xlib and the second one is the Qt dialog. Both dialogs are very simple.

X11/Xlib vs Qt

The code for Qt Project is here Window Flags Example.


Solution

  • QApplication::setGraphicsSystem("native");