title: Custom QWidgets. How do I build/get the pyqt5 plugin for Qt Designer on Mac?
body: <p>I want to be able to create my own custom widgets in Qt Designer using the pyqt5 plugin on my Mac!</p>
  
  <p>On my windows system this is easy.  I have/install pyqt5-tools, this contains pyqt5.dll and I copy this into the Qt Designers plugin directory (these packages were all installed via winPython).</p>
  
  <ul>
  <li>I set PYQTDESIGNERPATH=.</li>
  <li>In my current directory I have ledplugin.py and ledwidget.py</li>
  <li>I start Qt Designer and I have my custom widget to drag and drop</li>
  </ul>
  
  <p>( this tutorial was taken from <a href="https://www.ics.com/blog/integrating-python-based-custom-widget-qt-designer" rel="nofollow noreferrer">https://www.ics.com/blog/integrating-python-based-custom-widget-qt-designer</a> )</p>
  
  <p>On my Mac, I can't figure out what the equivalent .dylib of pyqt5.dll is? What is it?  Where do I get it? How do I build it?</p>
  
  <p>I try: brew install Qt Creator, that doesn't have the pyqt plugin.  I try: brew install pyqt5, that creates: libpyqt5qmlplugin.dylib. I copy that into the Qt Designer plugin dir and the plugin loads, but it doesn't seem to do anything with my .py plugin/widget files.</p>
  
  <p>How do I get this working on a Mac?  What is the actual .dylib plugin I'm looking for?  I can't find anything googling around.</p>
  
  <p>Thanks for any help</p>