title: Creating an exe file with pyqt5 gui
body: <p>My main goal is to create a onefile of my project and I'm having trouble in creating an executable file with pyqt5, I'm using pyinstaller. When I create a onefile it does not work, here 's how I do it</p>
  
  <pre><code>pyinstaller --onefile --windowed main.py
  </code></pre>
  
  <p>And when I dont use onefile(this is just my second option but I really need to produce a onefile) I still run in an error but I fix this by  way of copying some .dll to pyqt bin in dist folder and all other python files together same with my .ui files and images. Is there a way to not do this copying files?</p>