title: Problem using OpenCV in WSL, when opening windows
body: <p>I am using WSL, and when running some Python code with OpenCV that needs to open a different window, it throws an error.
  This is the code:</p>
  <pre><code>import cv2 as cv
  
  image = cv.imread(&quot;images/pic.jpg&quot;)
  cv.imshow(0)
  cv.waitKey(0)
  </code></pre>
  <p>And this is the error I get</p>
  <pre><code>qt.qpa.xcb: could not connect to display 
  qt.qpa.plugin: Could not load the Qt platform plugin &quot;xcb&quot; in &quot;/home/user/.local/lib/python3.8/site-packages/cv2/qt/plugins&quot; even though it was found.
  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this 
  problem.
  
  Available platform plugins are: xcb.
  
  Aborted (core dumped)
  </code></pre>