Page 1 of 1

How to get the system background color of a window in QT?

Posted: Fri Mar 29, 2024 10:35 am
by Martin Verlaan
In GTK this works fine to get the system background color of a window

Code: Select all

StartDrawing(WindowOutput(0))
SystemBackgroundColor = Point(0, 0)
StopDrawing() 
But it fails in QT. Does anyone know an alternative way for this subsystem?