[PyQt] Pyqt4.7.7 QGraphicsDropShadowEffect dont work, AttibuteError in ubuntu 9.04 on python2.6.2

leo kirotawa kirotawa at gmail.com
Wed Oct 20 18:31:13 BST 2010


Sorry,
I should have  shown more details.
So, I installed the PyQt4.7.7 in my ubuntu 9.04 through this link
http://www.riverbankcomputing.co.uk/software/pyqt/download.

Installing this way the files come with a folder called examples in it has a
other folder called effect. In this folder has some samples the app using
the new classes Effect of PyQt4.7.7. When I tried run the sample lighting.py
 it show this message:

File "lighting.py", line 66, in setupScene
    effect = QtGui.QGraphicsDropShadowEffect(self)
AttributeError: 'module' object has no attribute 'QGraphicsDropShadowEffect'

So, my questions are: this trouble is cause my python version 2.6.2 or my
ubuntu version 9.04? Or cause other reasons? For other examples like :
/examples/graphicsview/anchorlayout.py show the same message.

[]'s

-- 
Leônidas S. Barbosa (Kirotawa)
[DesenvolvedorWeb/CEFET/RN]
[Ciências da Computação/UFRN]
[pós-graduando em Inteligência Computacional/Processamento Gráfico /UFRN
[Estudante de japonês nível Intermediário I  - Japanese Student]
[Desenvolvedor em python, PyGame]
blog nerd: corecode.wordpress.com/
blog music: essenaomanja.blogspot.com
blog tirinhas: elminiche.wordpress.com/

"Mais sábio é aquele que sabe que não sabe" (Sócrates)

日本語の学生です。
コンピュータサイエンスの学位.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101020/12f02387/attachment.html>


More information about the PyQt mailing list