title: XCB error: 148 - Qt application display issues
body: <p>I'm trying to run my Qt application on a different computer (it works perfectly on mine, where I developed it). 
  When I start this application through the terminal, I get this error - </p>
  
  <blockquote>
    <p>QXcbConnection: XCB error: 148 (Unknown), sequence: 175, resource id:
    0, major code: 140 (Unknown), minor code: 20</p>
  </blockquote>
  
  <p>My program does launch and everything looks ok, but when I run it I see strange behavior when interacting with the display (some paint commands are not being executed, which is crucial for my app).</p>
  
  <p>I've tried searching for this error and I can't find any solution so far. Do you have any suggestions?</p>
  
  <p>Using ubuntu 16.04, with Nvidia 1050 GTX gpu</p>