title: Problems using PyQt's Resource System
body: <p>I am trying to use PyQt's Resource System but it appears I have no clue what I am doing! I already have to application created, along with its GUI I am just trying to import some images to use with the program.</p>
  
  <p>I used the QtDesigner to create the resource file and I compiled it using pyrcc4.exe. But when I attempt to import the resource file I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Projects\main.py", line 14, in &lt;module&gt;
      import main_rc
    File "C:\Projects\main_rc.py", line 482, in &lt;module&gt;
      qInitResources()
    File "C:\Projects\main_rc.py", line 477, in qInitResources
      QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
        TypeError: argument 2 of qRegisterResourceData() has an invalid type
  </code></pre>
  
  <p>What am I doing wrong?</p>