<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=800493605-20052009><FONT size=2>Hi:</FONT></SPAN></DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2> I want to use PyQt4 in
Scribus extension Script.</FONT></SPAN></DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2> 1. When i run the most
simply code using PyQt4 as below, the scripter always say no module named qt
(PyQt4)</FONT></SPAN></DIV>
<DIV><SPAN class=800493605-20052009><FONT
size=2>
#!/usr/bin/env python<BR>
import sys<BR> from
PyQt4.QtGui import *<BR> app =
QApplication(sys.argv)<BR>
button = QPushButton("Hello World",
None)<BR>
button.show()<BR>
app.exec_()</FONT></SPAN></DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2> 2. In Scribus Install
directory lib\site-packages, no PyQt4 library found.</FONT></SPAN></DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2> 3. I have
installed the Python, Sip and PyQt4, but have no idea how to install them
in Scribus?</FONT></SPAN></DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2> 4. I works on window xp,
scribus1.3.5(svn), python2.5</FONT></SPAN></DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800493605-20052009><FONT size=2> Can PyQt4 be used
in Scribus Script?</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>--------------------------------------------<BR>Lei Bin
(Bobby)<BR><BR>Global Delivery China Center (GDCC)<BR><BR>EDS, A HP
Company<BR>--------------------------------------------</FONT> </P>
<DIV> </DIV></BODY></HTML>