title: Button icons are not showing on Run
body: <p>I am trying to display icons (all .png files) on my <code>QPushButton</code>s however for some strange reason, some are showing and some are not, which is why I cannot understand the problem.</p>
  
  <p>Here is my .qrc file under my project:</p>
  
  <pre><code>&lt;RCC&gt;
      &lt;qresource prefix="/"&gt;
          &lt;file&gt;icons/auto.png&lt;/file&gt;
          &lt;file&gt;icons/connect.png&lt;/file&gt;
          &lt;file&gt;icons/disconnect.png&lt;/file&gt;
          &lt;file&gt;icons/home.png&lt;/file&gt;
          &lt;file&gt;icons/manual.png&lt;/file&gt;
          &lt;file&gt;icons/measures.png&lt;/file&gt;
          &lt;file&gt;icons/move_to.png&lt;/file&gt;
          &lt;file&gt;icons/reset.png&lt;/file&gt;
          &lt;file&gt;icons/spindle_off.png&lt;/file&gt;
          &lt;file&gt;icons/spindle_on.png&lt;/file&gt;
      &lt;/qresource&gt;
  &lt;/RCC&gt;
  </code></pre>
  
  <p>which I created by using the Qt Creator's menu. So I have this under my <code>.pro</code> file as well:</p>
  
  <pre><code>RESOURCES  = myresource.qrc \
  </code></pre>
  
  <p>All the icon paths are confirmed and they load on the GUI design screen. However, when I run, I get only some of them showing, the rest are missing. They all have the same size, same extension, etc. I really cannot get what is going on.</p>
  
  <p><a href="https://i.stack.imgur.com/GI3aK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GI3aK.jpg" alt="enter image description here"></a></p>
  
  <p>P.S: I did run <code>qmake</code> after adding my resources.</p>
  
  <p><strong>EDIT:</strong> I noticed that my label (which has an image inside) also does not appear on runtime. So it is not only the buttons.</p>