probabily your're mixing pyqt4 from osgeo4w installation with pyqt4 as standalone installation (with python)... to solve it's a good shortcut launch your pycharm from a .bat script similar to that used to start QGIS (copy and edit it)... leave loading osgeo4w env and add pythonpath to point your qgis install.
Regards, Luigi Pirelli ([email protected] - [email protected]) On 16 September 2014 22:57, Gary Sherman <[email protected]> wrote: > 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 > <[email protected]> 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 >> [email protected] >> 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" > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
