2dpainting Modified code of 2dpainting demo for Qt 6 providing execution time of Native and OpenGL paint events in console