[PyQt] Create PyQt5.2.1 with qmlscene portable [question]

Mahmoodreza Aarabi madoodia at gmail.com
Fri Apr 25 17:03:34 BST 2014


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 at 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 at 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 at gmail.com]
>> *Sent:* Thursday, April 24, 2014 12:08 PM
>> *To:* Chaturvedi, Himanshu
>> *Cc:* pyqt at 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 at 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 at riverbankcomputing.com] *On Behalf Of *Mahmoodreza
>> Aarabi
>> *Sent:* Thursday, April 24, 2014 11:23 AM
>> *To:* pyqt at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140425/f1334c5a/attachment-0001.html>


More information about the PyQt mailing list