`
hellocgc
  • 浏览: 28843 次
  • 性别: Icon_minigender_1
  • 来自: 汕头
社区版块
存档分类
最新评论

解决在eric4中无法生成对话框代码问题

阅读更多

On Mittwoch, 29. Dezember 2010, Youssef Oualmakran wrote:
> Dear sir or madame,
>
> I am trying to lean pyQt and Eric5 with the tutorial from Eric5 website.
>
>
> I get an "uic error" while trying to hit "Generate dialog code ...".
> The error text tells:
> "There was an error loading the form C:\Users[...]
> 'module' object has no attribute 'StackedWidget'".

That is an issue of the latest PyQt4. See PyQt mailing list for a patch. Here
is the quote from the article:

To fix this issue, just open
"/usr/lib/python2.7/site-packages/PyQt4/uic/uiparser.py", move to line
161 and replace "QtGui.StackedWidget" with "QtGui.QStackedWidget".

Regards,
Detlev

>
> Then, I click "Ok" on the error window. On the window that appears
> "Forms code generator", when I click "new", I get a similar error.
>
>
> I have followed the instructions on
> http://ericide.pythonprojects.org/tutorials/MiniBrowser/index.html and
> get this error when I am at chapter 3.
>
>
> I think I am using latest versions of the required softwarse:
>
> Eric 5.0.4
>
> Windows Seven Home Premium on a Pentium Dual Core
> Python Version: 3.1.3
> Found PyQt
> Found QScintilla2
> Qt Version: 4.7.1
> PyQt Version:  4.8.2
> QScintilla Version:  2.4.6
>
> Can someone tell me what that error means?
>
> Regards,
> Youssef Oualmakran
> _______________________________________________
> Eric mailing list
> Eric@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric


--
Detlev Offenbach
det...@die-offenbachs.de

0
0
分享到:
评论

相关推荐

    在Eric4下用PyQt4编写Python的图形界面程序

    在 Eric4 下用 PyQt4 编写 Python 的图形界面程序 先介绍一下 PyQt4。Qt4 图形库一经发布就好评不断,它在 Python 下的绑定 PyQt4 更是让我眼前一亮,不但漂亮,而且开发程序非常方便。在我看来,PyQt4 最大的改进之...

    Eric4在Windows下的安装

    Eric4在Windows下的安装的详细方法

    eric meyer谈css 代码下载

    eric meyer谈css 示例代码下载,大师的eric meyer谈css示例代码

    选择目录和选择文件对话框

    选择目录 选择文件 对话框 vs2010 具体描述在blog: http://blog.csdn.net/cau_eric/article/details/12570815

    eric4-4.5.23

    eric4-4.5.23.rar PYthon gui Pythong qt画界面工具

    Python2.7.4+PyQt+Eric4安装配置

    Eric是一款开源的Python IED,特别适合新手

    Python ide eric4 4.5

    好用的Python IDE 开发工具!

    eric6-20.2.zip

    Eric6还集成了Scintilla编辑器控制,具有很强大的代码编辑、代码补全等功能。Eric是一个专业的Python项目管理的IDE,它使用了插件管理系统,可以通过安装插件来扩展Eric的功能。Riverbank公司网站上推荐的IDE就是...

    pyqt4-eric5-中文语言包-安装文档

    pyqt4-eric5-中文语言包-安装文档

    eric最后汉化版.zip

    python ide 编辑器 eric6_17.12安装包及汉化文件,安装简单,是eric6最后可以汉化的版本,汉化包同时能汉化最新的ide,大家可以试试。

    matlab弹出对话框代码-Multi-Particle-Tracking:基于DanielBlair和EricDufresne的MATLAB

    在对话框中选择图像序列 Craft.io粒子跟踪 tr.getPTrace( pSize, intensityRatio, isShowRes, maxVel) pSize是以像素为单位的粒度initensityRatio是目标粒子的最小强度,例如,strengthRatio = 0.3表示粒子的最小...

    eric4-4.4.1.zip

    eric4的最新版本.eric4是免费开源的python开发工具支持语法高亮智能感知执行调试等等..功能与pyqt4.x 配合使用比目前大多数商业ide都要来得强大.推荐使用.4系列是python2.x系列配合使用的版本 3.x需要配合5系列, ...

    eric6 17.12支持中文的最后版本安装包

    合并中文包的版本,直接解压缩安装即可。安装前需要先搞定python3,安装好pyqt5及pyqt5-tool,否则win10下界面会错乱。

    Python2_6 + eric4-4_2_2a的安装全过程

    Python2_6 + eric4-4_2_2a的安装全过程转载

    Eric6-18.08

    Eric6,18.08版。Eric is a Python IDE written using PyQt and QScintilla. It provides various features such as any number of open editors, an integrated (remote) debugger, project management facilities,...

    eric-ide-zh_CN-master.zip

    eric-ide-zh_CN-master.zip eric7,eric6中文语言包,内附安装使用说明. 配合eric,可视化界面设计器

    电脑蓝屏代码大全

    电脑蓝屏,又叫蓝屏死机(Blue Screen of Death,简称BSOD),是微软的 Windows 系列操作系统在无法从一个系统错误中恢复过来时,为保护电脑数据文件不被破坏而强制显示的屏幕图像。 Windows操作系统的蓝屏死机提示...

    eric5-5.1.4及汉化

    下载eric5-5.1.4.zip,eric5-i18n-zh_...双击eric5.bat,然后在Interface的语言设置里有中文选项了.选中 ->应用->重启.然后就是以中文启动了 ============================== 还需要下载PyQt-Py3.2-x86-gpl-4.8.5-1.exe

    eric7Python开发 编辑器源码

    Eric编辑器(IDE)的安装包(源码). 解决网不好的问题.

    虚拟光驱 daemon_tools_347cn_eric

    虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱 daemon_tools_347cn_eric虚拟光驱...

Global site tag (gtag.js) - Google Analytics