No, It is Immpossible. C ++ works on many devices, some of which simply do not have this feature.
Qt can do this, usually because the operating systems it runs on offer this functionality. It is usually displayed as a set of C functions, which in practice means that they can be called with C ++ code in Qt. What uses the OS inside, who knows. This may even leave some of the work on the GPU for now.
And on some embedded systems, Qt just gets a pointer to the screen memory and does all the pixel manipulation. This is not a solution when you need to share a screen with multiple applications, but for single-function devices, it definitely works.
Msalters
source share