[Qgis-developer] Problem with my first plugin in Python

Gary Sherman gsherman at geoapt.com
Tue Sep 16 13:57:43 PDT 2014


To begin with, you need to be using Python 2.x from PyCharm (the one
included with your QGIS install).

On Tue, Sep 16, 2014 at 12:18 PM, Francisco D. Salas Rosette <
fsalas at pinar.geocuba.cu> wrote:

> Hi,  I am novice in this topic and I use a QGis plugin builder , when I
> load the plugin in  PyCharm , is not possible accede the package
> PyQt4.QtGui, show this in  QtGui.py
>
>
>
> # encoding: utf-8
>
> # module PyQt4.QtGui
>
> # from D:\Python34\lib\site-packages\PyQt4\QtGui.pyd
>
> # by generator 1.124
>
>
>
> # Skeleton generation error:
>
> #
>
> #     Failed to process 'PyQt4.QtGui' while redoing innards of module
> 'PyQt4.QtGui' "<module 'PyQt4.QtGui' from
> 'D:\\\\Python34\\\\lib\\\\site-packages\\\\PyQt4\\\\QtGui.pyd'>": wrapped
> C/C++ object of type QApplication has been deleted
>
>
>
> How I could resolve this, because I need use for example : the Class
> QMessageBox, etc.
>
>
>
> Thanks!
>
>
>
> Best regards,
>
> Francisco Salas
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Open Source GIS Books:
 *http://locatepress.com
-Alaska Novel:
 *http://alaskana.co
-Geospatial Consulting & Hosting:
 *http://geoapt.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140916/2c5e6459/attachment.html>


More information about the Qgis-developer mailing list