System information (version)
- OpenCV => 3.4-dev
- Operating System / Platform => Mac 10.11
- Compiler => Apple LLVM version 8.0.0 (clang-800.0.42.1)
- Python => 3.6.4
- QT => 5.10.0_1
Detailed description
imshow opens QT-Window in the background
Steps to reproduce
import cv2
file = cv2.imread('input.jpg')
cv2.imshow('Hello World', file)
cv2.waitKey(0)
cv2.destroyAllWindows()