<div dir="ltr"><div><div><div><div><div><div>hey there.<br></div>however my question is about abother things but,yes i built my PyQt5, but for Python 2.7 on windows8 x64.<br></div>and i use visual studio for building it.i don't know Anaconda.<br>
</div>if you work in window my way works for you.<br></div>this is my steps in windows to building PyQt5.2.1:<br>----------------------------------------------------------------------------<br>for buillding PyQt5 for your python version (python 2.7 for me):<br>
I used this link for building:<br>PyQt5 Installation: <a href="http://pyqt.sourceforge.net/Docs/PyQt5/installation.html">http://pyqt.sourceforge.net/Docs/PyQt5/installation.html</a><br>SIP Installation: <a href="http://pyqt.sourceforge.net/Docs/sip4/installation.html">http://pyqt.sourceforge.net/Docs/sip4/installation.html</a><br>
Abstract Factory Tips: <a href="http://www.abstractfactory.io/blog/pyqt5-1-1-for-python-2-7/">http://www.abstractfactory.io/blog/pyqt5-1-1-for-python-2-7/</a><br>----------------------------------------<br>Prerequistics:<br>
Visual Studio 2012<br>Qt5.2.1<br>Python 2.7 or later<br>.........................<br>Installation:<br>Note: Use VS2012 x64 Cross Tools Command Prompt as command prompt<br><br>1. install SIP:<br>a) download latest version of SIP source code from <a href="http://www.riverbankcomputing.com/software/sip/download">http://www.riverbankcomputing.com/software/sip/download</a><br>
b) unzip it and take it to f:\ drive (or any drive as root)<br>c) in VS2012 cmd : python configure.py<br>d) in VS2012 cmd : nmake<br>e) in VS2012 cmd : nmake install<br>(at the end of this steps sip.exe added to python folder and sip added to site-package)<br>
<br>2. install PyQt5:<br>a) download latest version of PyQt5 source code from <a href="http://www.riverbankcomputing.com/software/pyqt/download5">http://www.riverbankcomputing.com/software/pyqt/download5</a><br>b) unzip it and take it to f:\ drive (or any drive as root)<br>
c) in VS2012 cmd : python configure.py<br>d) in VS2012 cmd : nmake<br>e) in VS2012 cmd : nmake install<br>(at the end of this steps PyQt5 folder added to site-package)<br><br>3. Create QT_QPA_PLATFORM_PLUGIN_PATH environment variable and give it : C:\Python27\Lib\site-packages\PyQt5\plugins\platforms<br>
end.<br><br>4. add C:\Python27 and C:\Python27\Lib\site-packages\PyQt5 to PATH env<br>...........................................<br><br>----------------------------------------------------------------------------<br></div>
good luck.<br><br></div>i hope i can get my solution.<br>:)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 9:22 PM, Chaturvedi, Himanshu <span dir="ltr"><<a href="mailto:Himanshu.Chaturvedi@capitalone.com" target="_blank">Himanshu.Chaturvedi@capitalone.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hey Madoodia,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I spent whole night yesterday trying to install sip and pyqt on the top of anaconda. Given you have done it can you tell me the steps, I am novice in it. Probably if you prefer I can call you and tell you the issues I am facing. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Looking forward for your reply<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Himanshu<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> PyQt [mailto:<a href="mailto:pyqt-bounces@riverbankcomputing.com" target="_blank">pyqt-bounces@riverbankcomputing.com</a>] <b>On Behalf Of </b>Mahmoodreza Aarabi<br>
<b>Sent:</b> Thursday, April 24, 2014 11:23 AM<br><b>To:</b> <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br><b>Subject:</b> [PyQt] Create PyQt5.2.1 with qmlscene portable [question]<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><div><div><p class="MsoNormal">hi guys<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">i am using python 2.7 but i can't find PyQt5.2.1 for it, so i got PyQt5.2.1 source code and built it for myself in my labtop(win 8 x64).it works here and everythings is ok.<u></u><u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12.0pt">but problem here that i have a client that i want give him a GUI application that created qith QML (Qt5.2.1) and python (for its logic).and i want that this application works okey on his system, without any bug, so i have now PyQt5 folder in my site-packages and i want just give him this PyQt5 folder with all libs,exe files,and qml folder, and plugin folder (for platform) and qmlscene.exe files<u></u><u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12.0pt">but when i put this built PyQt5 in another PC it can't run qml files.and give some error.<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">
i need this feature, please help me.<u></u><u></u></p></div><p class="MsoNormal">thanks.<br clear="all"><u></u><u></u></p><div><div><div><div><div><div><p class="MsoNormal"><br>-- <u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
<u></u> <u></u></p></div><div><p class="MsoNormal">Bests,<u></u><u></u></p></div><div><p class="MsoNormal">madoodia<u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div></div><br>
<hr color="#222222" align="left" noshade size="2">
<p style="MARGIN:0in 0in 0pt"><span style="FONT-FAMILY:'Arial','sans-serif';COLOR:#404040;FONT-SIZE:8.5pt">The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.</span></p>
</div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><br><br></div><div>Bests,<br></div><div>madoodia<br></div></div>
</div>