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) |