<div dir="ltr"><div><div>hey there<br>no problem<br><br>error is because you don't have Qt5.2.1 in your system. maybe, or you don't set bin of Qt to Path<br><br>you should install these in order:<br></div>1. Qt5.2.1 (qt-opensource-windows-x86-msvc2012_64-5.2.1)<br>
2. PyQt-gpl-5.2.1 (latest version)<br>3.sip-4.15.5 (latest version)<br><br><br></div>good luck<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 8:11 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">Thanks a ton Aarabi! I was eventually able to install sip , Yay! </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><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"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But when I tried to configure PyQt, I got following error<br>
<br><u></u><u></u></span></p><p class="MsoNormal"><span style="background:white;font-size:11.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="background:white;font-size:11.0pt;font-family:"Courier New"">C:\PyQt5\PyQt-gpl-5.2.1>python configure.py<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="background:yellow;font-size:11.0pt;font-family:"Courier New"">Error: Make sure you have a working Qt qmake on your PATH.</span></b><b><span style="background:white;font-size:11.0pt;font-family:"Courier New""><u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="background:white;font-size:11.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Do you have any idea what is the reason behind it.<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""> Mahmoodreza Aarabi [mailto:<a href="mailto:madoodia@gmail.com" target="_blank">madoodia@gmail.com</a>] <br>
<b>Sent:</b> Thursday, April 24, 2014 12:08 PM<br><b>To:</b> Chaturvedi, Himanshu<br><b>Cc:</b> <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br><b>Subject:</b> Re: [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><div><p class="MsoNormal">hey there.<u></u><u></u></p></div><p class="MsoNormal">however my question is about abother things but,yes i built my PyQt5, but for Python 2.7 on windows8 x64.<u></u><u></u></p>
</div><p class="MsoNormal">and i use visual studio for building it.i don't know Anaconda.<u></u><u></u></p></div><p class="MsoNormal">if you work in window my way works for you.<u></u><u></u></p></div><p class="MsoNormal">
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" target="_blank">http://pyqt.sourceforge.net/Docs/PyQt5/installation.html</a><br>SIP Installation: <a href="http://pyqt.sourceforge.net/Docs/sip4/installation.html" target="_blank">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/" target="_blank">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" target="_blank">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" target="_blank">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>----------------------------------------------------------------------------<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">good luck.<u></u><u></u></p></div><p class="MsoNormal">i hope i can get my solution.<br>
:)<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Thu, Apr 24, 2014 at 9:22 PM, Chaturvedi, Himanshu <<a href="mailto:Himanshu.Chaturvedi@capitalone.com" target="_blank">Himanshu.Chaturvedi@capitalone.com</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hey Madoodia,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></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. </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Looking forward for your reply</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Himanshu</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></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]</span><u></u><u></u></p>
<div><div><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><p class="MsoNormal">
<u></u> <u></u></p><div class="MsoNormal"><hr style="color:#222222" align="left" noshade size="2" width="100%"></div><p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#404040">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><u></u><u></u></p>
</div></div><p class="MsoNormal"><br><br clear="all"><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 class="h5"><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></div></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>