<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><font size="-1"><font face="Verdana">Hi Matteo,</font></font></p>
    <p><font size="-1"><font face="Verdana">The file is not present
          simply because you did not install QGIS. <br>
        </font></font></p>
    <p><font size="-1"><font face="Verdana">See here
          <a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/python/CMakeLists.txt#L287">https://github.com/qgis/QGIS/blob/master/python/CMakeLists.txt#L287</a></font></font></p>
    <p><font size="-1"><font face="Verdana"><br>
          Having it documented somewhere would be nice:</font></font></p>
    <p><font size="-1"><font face="Verdana">* Approach when installing<br>
        </font></font></p>
    <p><font size="-1"><font face="Verdana">* Without installing: were
          to put libqgis_customwidget and qgis_customwidgets.py, how to
          run pyuic.</font></font></p>
    <p><font size="-1"><font face="Verdana"><br>
        </font></font></p>
    <p><font size="-1"><font face="Verdana">Cheers,</font></font></p>
    <p><font size="-1"><font face="Verdana">Denis<br>
        </font></font></p>
    <div class="moz-cite-prefix">On 12/07/2016 10:41 AM, matteo wrote:<br>
    </div>
    <blockquote
      cite="mid:361fea6e-3c9a-a313-6ee3-b0fa56924a10@gmail.com"
      type="cite">
      <pre wrap="">Hold on.. I should have manage it..

I discovered that my machine was missing the file

qgis_customwidgets.py

in the folder

/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/


in another machine I found that file and I copied it in the right folder
(the above one) and now it seems working, that is the plugin with the
custom widget is now correctly loaded without any more issues..

So many thanks Denis for the assistance..


My question is now.. why was that file missing in the folder?
In the other machine I ran Ubuntu and I was used to compile QGIS with
debian rules.
In this new machine I compile QGIS with make and run it directly from
the output folder (so QGIS has never been installed with repository
packages and/or deb files, don't know if this could be related to the
problem)

I have some confusion on my mind..

If this is worth I can put this solution (if you think it is a solution
and not a workaround) somewhere in the website or another place so that
other people facing the same problem could solve the issue.

Many many thanks to all

Matteo
</pre>
    </blockquote>
    <br>
  </body>
</html>