title: A custom widget created with PyQt doesn't load on boot but loads when program is started from command line
body: <p>I've created a GUI using PyQt. I'm using a custom widget: a modified version of the code from here: <a href="https://github.com/juancarlospaco/qslider/blob/master/qslider/qslider.py" rel="nofollow noreferrer">https://github.com/juancarlospaco/qslider/blob/master/qslider/qslider.py</a></p>
  
  <p>My program is set to run when booted, and works perfectly. However, these QSwitches from the above qslider.py do NOT load on boot (They don't show up on the screen at all, it is just blank where they're supposed to be)</p>
  
  <p>When I exit the program loaded from boot and run the same program by executing it from the  command line, the QSwitches from qslider.py  work correctly (they show up on the screen where they're supposed to be).</p>
  
  <p>What could be causing this error.</p>