I faced highgui issues (aspect ratio of windows weren't maintained) when using Qt5 and OpenCV3 built from source.
I'm attempting to rebuild OpenCV with Qt4 support instead, but OpenCV3 Cmake configuration keeps looking for Qt5.
I short, can OpenCV3 work with Qt4 for the backend of highgui?