Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7461
  • 博文数量: 2
  • 博客积分: 1400
  • 博客等级: 上尉
  • 技术积分: 30
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-03 16:04
文章分类
文章存档

2008年(2)

我的朋友
最近访客

分类: Python/Ruby

2008-09-21 07:45:46

Eric安装

准备工作:生成libpython25.a

   1. Download pexport.
   2. Get Python25.dll (C:\Windows\system32).
   3. Run : pexports python25.dll > python25.def
      (This will extract all symbols from python25.dll and write them into python25.def)
   4. Run : dlltool --dllname python25.dll --def python25.def --output-lib libpython25.a
      (This will create libpython25.a)
   5. Copy libpython25.a to c:\python25\libs\ (in the same directory as python25.lib).


1、安装Qt(OpenSource版,安装过程中下载并安装MinGW,全部安装到缺省目录);

2、设置环境变量,将/bin和/bin加入到path中;

3、将mingw-make复制为make.exe

4、安装SIP
      python configure.py -p win32-g++
      make
      make install

5、安装QScintilla
      cd <解压目录>
      cd Qt4
      qmake qscintilla.pro
      make
      make install
      copy %QTDIR%\lib\qscintilla2.dll %QTDIR%\bin
      cd ..
      cd Python
      python configure.py -n C:\Qt\4.4.2\include -o C:\Qt\4.4.2\lib
      <编辑makefile,将4.4.1替换为4.4.2>
      make
      make install

6、安装PyQT;

7、安装eric
      python install

阅读(1624) | 评论(0) | 转发(0) |
0

上一篇:导出PL/SQL定义

下一篇:没有了

给主人留下些什么吧!~~