title: Qt Label::setPixmap not working
body: <p>Simple, I'm trying to display an image in a simple Qt GUI app.
  I have this code:</p>
  
  <pre><code>ui-&gt;label_2-&gt;setVisible(true);
  QPixmap supremect(":/images/supremecourt.jpg");
  ui-&gt;label_2-&gt;setPixmap(supremect);
  if(supremect.isNull())
  {
      QMessageBox err(this);
      err.setText("File null");
      err.exec();
  }
  building=SPCT; // A flag
  ui-&gt;label_2-&gt;show();
  </code></pre>
  
  <p>It compiles perfectly, but when I run it, nothing shows. I am sure that the image exists in the resources, so what am I doing wrong?</p>
  
  <p>EDIT: Converting to PNG does not help</p>