<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:453717229;
mso-list-type:hybrid;
mso-list-template-ids:-927957622 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi PyQt Developer,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am QT commercial customer 01-003031. I face problem when I installing windows pyqt 4.9.1.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>Setup Environment<o:p></o:p></u></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>Windows 7 64bits<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>MSVC 2008<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>QT 4.8.1<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>SIP 4.13.2<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>Python 2.7.1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>Environment Variable<o:p></o:p></u></p>
<p class="MsoNormal"><span style="color:#00B050">QT_HOME</span>=s:\tools\qt\4.8.1\windows64<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">PATH</span>=s:\tools\qt\4.8.1\windows64\bin;s:\tools\qt\4.8.1\windows64\bin;"c:\ProgramFiles\MicrosoftSDKs\Windows\v6.0A\Bin\x64";S:\tools\share\python\2.7.1\windows64\bin;C:\devstudio2008\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v3.5;C:\WINDOWS\Microsoft.NET\Framework64\v3.5\Microsoft
.NET Framework 3.5 (Pre-ReleaseVersion);C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;C:\devstudio2008\VC\VCPackages;C:\devstudio2008\Common7\IDE;C:\devstudio2008\Common7\Tools;C:\devstudio2008\Common7\Tools\bin;s:\tools\arc\bin;s:\tools\perl\current\windows32\bin;s:\tools\bin\windows32;c:\mks\bin;c:\mks\bin64;c:\mks\bin\X11;c:\mks\mksnt;C:\WINDOWS\SysWOW64;c:\windows\system32;c:\windows;c:\windows\system32\wbem;C:\Program
Files (x86)\Microsoft SQL Server\90\Tools\bin<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">LD_LIBRARY_PATH</span>=s:\tools\share\python\2.7.1\windows64\Lib<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">LIB</span>=C:\devstudio2008\VC\ATLMFC\LIB\amd64;C:\devstudio2008\VC\LIB\amd64;;"c:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64"<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">LIBPATH</span>=C:\WINDOWS\Microsoft.NET\Framework64\v3.5;C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;C:\WINDOWS\Microsoft.NET\Framework64\v3.5;C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;C:\devstudio2008\VC\ATLMFC\LIB\amd64;C:\devstudio2008\VC\LIB\amd64;<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">INCLUDE</span>=C:\devstudio2008\VC\ATLMFC\INCLUDE;C:\devstudio2008\VC\INCLUDE;;"c:\Program Files\Microsoft SDKs\Windows\v6.0A\Include"<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">PYTHONHOME</span>=S:\tools\share\python\2.7.1\windows64<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">PYTHONPATH</span>=S:\tools\share\python\2.7.1\windows64\lib\python2.7\site-packages\ChartDirector\lib<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#00B050">PYTHON_ROOT</span>=S:\tools\share\python\2.7.1\windows64<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>Error Message<o:p></o:p></u></p>
<p class="MsoNormal">When I running configure PyQt, the combination of Pyqt 4.9.1, SIP 4.13.2, QT 4.8.1 will bring out problem below.<o:p></o:p></p>
<p class="MsoNormal">“<span style="color:red">sip: __or__() unsupported function return type - provide %MethodCode and a C++ signature Error: Unable to create the C++ code.<o:p></o:p></span></p>
<p class="MsoNormal">” <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, the combination of Pyqt 4.9.1, SIP 4.13.2, QT 4.7.0 is working fine. Is it PyQt 4.9.1 not compatible with QT 4.8.1? or I missing out something here? Please help.
<o:p></o:p></p>
<p class="MsoNormal">FYI. The environment I configure for PyQt on both are same except the QT version.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Today, I tried to exclude out problematic QT module when I install Pyqt 4.9.1, SIP 4.13.2, QT 4.8.1 that are (QtDeclarative, QtWebKit, QtNetwork, QtXmlPatterns), it is working fine now. But I guess these 4 QT module are important to us
as well. Could you tell me what’s wrong when I install Pyqt 4.9.1 with SIP 4.13.2, QT 4.8.1, Python 2.7.1?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>NOT ABLE TO INSTALL<o:p></o:p></u></p>
<p class="MsoNormal">QtDeclarative<o:p></o:p></p>
<p class="MsoNormal">QtWebKit<o:p></o:p></p>
<p class="MsoNormal">QtNetwork<o:p></o:p></p>
<p class="MsoNormal">QtXmlPatterns<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Kah Fai<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u>Details Error Message <o:p></o:p></u></p>
<p class="MsoNormal">Qt v4.8.1 Desktop edition is being used.<o:p></o:p></p>
<p class="MsoNormal">Qt is licensed to Denis Goh.<o:p></o:p></p>
<p class="MsoNormal">SIP 4.13.2 is being used.<o:p></o:p></p>
<p class="MsoNormal">The Qt header files are in S:\tools\qt\4.8.1\windows64\include.<o:p></o:p></p>
<p class="MsoNormal">The shared Qt libraries are in S:\tools\qt\4.8.1\windows64\lib.<o:p></o:p></p>
<p class="MsoNormal">The Qt binaries are in S:\tools\qt\4.8.1\windows64\bin.<o:p></o:p></p>
<p class="MsoNormal">The Qt mkspecs directory is in S:\tools\qt\4.8.1\windows64.<o:p></o:p></p>
<p class="MsoNormal">These PyQt modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,<o:p></o:p></p>
<p class="MsoNormal">QtNetwork, QtDeclarative, QtOpenGL, QtScript, QtScriptTools, QtSql, QtSvg,<o:p></o:p></p>
<p class="MsoNormal">QtTest, QtWebKit, QtXml, QtXmlPatterns, phonon, QtDesigner, QAxContainer.<o:p></o:p></p>
<p class="MsoNormal">The PyQt Python package will be installed in<o:p></o:p></p>
<p class="MsoNormal">s:\tools\pyqt\4.9.1\windows64\lib\python2.7\site-packages.<o:p></o:p></p>
<p class="MsoNormal">PyQt is being built with generated docstrings.<o:p></o:p></p>
<p class="MsoNormal">The Designer plugin will be installed in<o:p></o:p></p>
<p class="MsoNormal">S:\tools\qt\4.8.1\windows64\plugins\designer.<o:p></o:p></p>
<p class="MsoNormal">The PyQt .sip files will be installed in<o:p></o:p></p>
<p class="MsoNormal">s:\tools\pyqt\4.9.1\windows64\share\sip.<o:p></o:p></p>
<p class="MsoNormal">pyuic4, pyrcc4 and pylupdate4 will be installed in<o:p></o:p></p>
<p class="MsoNormal">s:\tools\pyqt\4.9.1\windows64\bin.<o:p></o:p></p>
<p class="MsoNormal">Generating the C++ source for the QtCore module...<o:p></o:p></p>
<p class="MsoNormal">"S:\tools\share\python\2.7.1\windows64\sip" -w -o -x VendorID -t WS_WIN -x PyQt_<o:p></o:p></p>
<p class="MsoNormal">OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_1 -x Py_v3 -g -a QtCore.api -c S:\tool<o:p></o:p></p>
<p class="MsoNormal">s\pyqt\4.9.1\PyQt-win-commercial-4.9.1\QtCore -b QtCore\QtCore.sbf -I S:\tools\p<o:p></o:p></p>
<p class="MsoNormal">yqt\4.9.1\PyQt-win-commercial-4.9.1\sip S:\tools\pyqt\4.9.1\PyQt-win-commercial-<o:p></o:p></p>
<p class="MsoNormal">4.9.1/sip/QtCore/QtCoremod.sip<o:p></o:p></p>
<p class="MsoNormal">Creating the Makefile for the QtCore module...<o:p></o:p></p>
<p class="MsoNormal">Generating the C++ source for the QtDeclarative module...<o:p></o:p></p>
<p class="MsoNormal">"S:\tools\share\python\2.7.1\windows64\sip" -w -o -x VendorID -t WS_WIN -x PyQt_<o:p></o:p></p>
<p class="MsoNormal">OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_1 -x Py_v3 -g -a QtDeclarative.api -c<o:p></o:p></p>
<p class="MsoNormal">S:\tools\pyqt\4.9.1\PyQt-win-commercial-4.9.1\QtDeclarative -b QtDeclarative\QtD<o:p></o:p></p>
<p class="MsoNormal">eclarative.sbf -I S:\tools\pyqt\4.9.1\PyQt-win-commercial-4.9.1\sip S:\tools\pyq<o:p></o:p></p>
<p class="MsoNormal">t\4.9.1\PyQt-win-commercial-4.9.1/sip/QtDeclarative/QtDeclarativemod.sip<o:p></o:p></p>
<p class="MsoNormal"><span style="color:red">sip: __or__() unsupported function return type - provide %MethodCode and a C++ signature Error: Unable to create the C++ code.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="2">Confidentiality Notice.<br>
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments,
is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.<br>
</font>
</body>
</html>