Jetson nano: Black window when using openCV named window with OpenGL

Works.
Setting WITH_QT=4 solved the issue.

Setting WITH_QT=OFF, works also, if WITH_GTK=ON, WITH_GTK_X_2=ON is used.
Using WINDOW_OPENGL for openCV named window greatly improved performance and quality of video output.

Thank you for your help.