highgui: window QT+OpenGL mouse wheel support, another build fix
highgui: window QT+OpenGL mouse wheel support, another build fix

amends work done in pull request #6976.

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv