[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Create PyQt5.2.1 with qmlscene portable [question]
From:       Mahmoodreza Aarabi <madoodia () gmail ! com>
Date:       2014-04-25 16:15:34
Message-ID: CADvbQwLuBEMHKB8EXsB9V7kS_+3JUe9jTzfhxR8CmLEF0tXmcQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


and if you have another question please create new thread about it

i need my solution in this thread.


On Fri, Apr 25, 2014 at 8:32 PM, Mahmoodreza Aarabi <madoodia@gmail.com>wrote:

> hey there
> no problem
>
> error is because you don't have Qt5.2.1 in your system. maybe, or you
> don't set bin of Qt to Path
>
> you should install these in order:
> 1. Qt5.2.1 (qt-opensource-windows-x86-msvc2012_64-5.2.1)
> 2. PyQt-gpl-5.2.1 (latest version)
> 3.sip-4.15.5 (latest version)
>
>
> good luck
>
>
> On Fri, Apr 25, 2014 at 8:11 PM, Chaturvedi, Himanshu <
> Himanshu.Chaturvedi@capitalone.com> wrote:
>
>> Thanks a ton Aarabi! I was eventually able to install sip , Yay! J
>>
>>
>>
>> But when I tried to configure PyQt, I got following error
>>
>>
>>
>> C:\PyQt5\PyQt-gpl-5.2.1>python configure.py
>>
>> *Error: Make sure you have a working Qt qmake on your PATH.*
>>
>>
>>
>> Do you have any idea what is the reason behind it.
>>
>>
>>
>> Thanks
>>
>> Himanshu
>>
>>
>>
>> *From:* Mahmoodreza Aarabi [mailto:madoodia@gmail.com]
>> *Sent:* Thursday, April 24, 2014 12:08 PM
>> *To:* Chaturvedi, Himanshu
>> *Cc:* pyqt@riverbankcomputing.com
>> *Subject:* Re: [PyQt] Create PyQt5.2.1 with qmlscene portable [question]
>>
>>
>>
>> hey there.
>>
>> however my question is about abother things but,yes i built my PyQt5, but
>> for Python 2.7 on windows8 x64.
>>
>> and i use visual studio for building it.i don't know Anaconda.
>>
>> if you work in window my way works for you.
>>
>> this is my steps in windows to building PyQt5.2.1:
>>
>> ----------------------------------------------------------------------------
>> for buillding PyQt5 for your python version (python 2.7 for me):
>> I used this link for building:
>> PyQt5 Installation:
>> http://pyqt.sourceforge.net/Docs/PyQt5/installation.html
>> SIP Installation: http://pyqt.sourceforge.net/Docs/sip4/installation.html
>> Abstract Factory Tips:
>> http://www.abstractfactory.io/blog/pyqt5-1-1-for-python-2-7/
>> ----------------------------------------
>> Prerequistics:
>> Visual Studio 2012
>> Qt5.2.1
>> Python 2.7 or later
>> .........................
>> Installation:
>> Note: Use VS2012 x64 Cross Tools Command Prompt as command prompt
>>
>> 1. install SIP:
>> a) download latest version of SIP source code from
>> http://www.riverbankcomputing.com/software/sip/download
>> b) unzip it and take it to f:\ drive (or any drive as root)
>> c) in VS2012 cmd : python configure.py
>> d) in VS2012 cmd : nmake
>> e) in VS2012 cmd : nmake install
>> (at the end of this steps sip.exe added to python folder and sip added to
>> site-package)
>>
>> 2. install PyQt5:
>> a) download latest version of PyQt5 source code from
>> http://www.riverbankcomputing.com/software/pyqt/download5
>> b) unzip it and take it to f:\ drive (or any drive as root)
>> c) in VS2012 cmd : python configure.py
>> d) in VS2012 cmd : nmake
>> e) in VS2012 cmd : nmake install
>> (at the end of this steps PyQt5 folder added to site-package)
>>
>> 3. Create QT_QPA_PLATFORM_PLUGIN_PATH environment variable and give it :
>> C:\Python27\Lib\site-packages\PyQt5\plugins\platforms
>> end.
>>
>> 4. add C:\Python27 and C:\Python27\Lib\site-packages\PyQt5 to PATH env
>> ...........................................
>>
>>
>> ----------------------------------------------------------------------------
>>
>> good luck.
>>
>> i hope i can get my solution.
>> :)
>>
>>
>>
>> On Thu, Apr 24, 2014 at 9:22 PM, Chaturvedi, Himanshu <
>> Himanshu.Chaturvedi@capitalone.com> wrote:
>>
>> Hey Madoodia,
>>
>>
>>
>> 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.
>>
>>
>>
>> Looking forward for your reply
>>
>>
>>
>> Thanks
>>
>> Himanshu
>>
>>
>>
>> *From:* PyQt [mailto:pyqt-bounces@riverbankcomputing.com] *On Behalf Of *Mahmoodreza
>> Aarabi
>> *Sent:* Thursday, April 24, 2014 11:23 AM
>> *To:* pyqt@riverbankcomputing.com
>> *Subject:* [PyQt] Create PyQt5.2.1 with qmlscene portable [question]
>>
>>
>>
>> hi guys
>>
>> 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.
>>
>> 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
>>
>> but when i put this built PyQt5 in another PC it can't run qml files.and
>> give some error.
>>
>> i need this feature, please help me.
>>
>> thanks.
>>
>>
>> --
>>
>>
>>
>> Bests,
>>
>> madoodia
>>
>>
>> ------------------------------
>>
>> 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.
>>
>>
>>
>>
>> --
>>
>>
>>
>> Bests,
>>
>> madoodia
>>
>> ------------------------------
>>
>> 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.
>>
>
>
>
> --
>
>
> Bests,
> madoodia
>



-- 


Bests,
madoodia

[Attachment #5 (text/html)]

<div dir="ltr"><div>and if you have another question please create new thread about \
it<br><br></div>i need my solution in this thread.<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 8:32 PM, \
Mahmoodreza Aarabi <span dir="ltr">&lt;<a href="mailto:madoodia@gmail.com" \
target="_blank">madoodia@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div>hey there<br>no problem<br><br>error \
is because you don&#39;t have Qt5.2.1 in your system. maybe, or you don&#39;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"><div><div class="h5"><br><br><div class="gmail_quote">On Fri, Apr \
25, 2014 at 8:11 PM, Chaturvedi, Himanshu <span dir="ltr">&lt;<a \
href="mailto:Himanshu.Chaturvedi@capitalone.com" \
target="_blank">Himanshu.Chaturvedi@capitalone.com</a>&gt;</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:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>


<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> \
<u></u></span></p><p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Courier New&quot;"><u></u> \
<u></u></span></p><p class="MsoNormal"><span \
style="background:white;font-size:11.0pt;font-family:&quot;Courier \
New&quot;">C:\PyQt5\PyQt-gpl-5.2.1&gt;python configure.py<u></u><u></u></span></p>

<p class="MsoNormal"><b><span \
style="background:yellow;font-size:11.0pt;font-family:&quot;Courier New&quot;">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:&quot;Courier \
New&quot;"><u></u><u></u></span></b></p>

<p class="MsoNormal"><span \
style="background:white;font-size:11.0pt;font-family:&quot;Courier New&quot;"><u></u> \
<u></u></span></p><p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> \
<u></u></span></p><p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks<u></u><u></u></span></p>


<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Himanshu<u></u><u></u></span></p><p \
class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> \
<u></u></span></p>

<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> \
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><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&#39;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 &lt;<a \
> href="mailto:Himanshu.Chaturvedi@capitalone.com" \
> target="_blank">Himanshu.Chaturvedi@capitalone.com</a>&gt; wrote:<u></u><u></u></p>

<div><div><p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hey \
Madoodia,</span><u></u><u></u></p><p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span><u></u><u></u></p>

<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span><u></u><u></u></p><p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Looking \
forward for your reply</span><u></u><u></u></p>

<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span><u></u><u></u></p><p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks</span><u></u><u></u></p>


<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Himanshu</span><u></u><u></u></p><p \
class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> \
</span><u></u><u></u></p>

<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> 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&#39;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&#39;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:&quot;Arial&quot;,&quot;sans-serif&quot;;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><br>
 <hr color="#222222" align="left" noshade size="2"> 

<p style="MARGIN:0in 0in 0pt"><span \
style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;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></div></div><span \
class="HOEnZb"><font color="#888888">-- <br><div \
dir="ltr"><div><br><br></div><div>Bests,<br></div><div>madoodia<br></div></div> \
</font></span></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>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic