zoukankan      html  css  js  c++  java
  • PyQt4 在 Windows 上的安装 Roy Chen的日志 网易博客

    PyQt4 在 Windows 上的安装 - Roy Chen的日志 - 网易博客

    PyQt4 在 Windows 上的安装   

    2011-04-07 12:33:04|  分类: 默认分类 |  标签:  |字号 订阅

    windows 上安装有两种方式:

    一.   windows 安装包方式

    此种方式最简单。

    1.    下载 python-2.6.4.msi windows 安装包 , 并安装

    2.    下载 sip-4.12.1.zip

    a.     解压

    b.     打开 visual studio 2008 command prompt, 定位到解压目录

    c.     执行 python configure.py

    d.     执行 nmake

    e.     执行 nmake install

    3.    下载 PyQt-Py2.6-x86-gpl-4.8.3-1.exe 安装包,并安装

    二.   Windows 编译安装

    1.    下载安装 qt-sdk-win-opensource-2010.05.exe

    2.    下载 python2.6.4 windows 安装

    3.    下载 sip-4.12.1.zip

    a.     解压

    b.     运行 cmd

    c.     定位安装目录中执行 qtenv.bat( 我的安装目录 : D:\Qt\2010.05\bin)

    d.     定位解压目录 , 执行 python configure.py -p win32-g++

    e.     执行 mingw32-make

    f.        执行 mingw32-make install

    4.    下载 PyQt-win-gpl-4.8.3.zip, 并解压

    a.     在同一个 cmd 环境下

    b.     执行 python configure.py –w

    c.     执行 mingw32-make

    d.     执行 mingw32-make install

  • 相关阅读:
    1059 C语言竞赛
    1058 选择题
    1057 数零壹
    1056 组合数的和
    1055 集体照
    Mysql--分库分表
    Mysql--改表结构
    Mysql--开始阶段
    Mysql--常用语句
    Mysql--grant授权
  • 原文地址:https://www.cnblogs.com/lexus/p/2815008.html
Copyright © 2011-2022 走看看