[PyQt] Cross compiling...

John M. Hackett john.hackett at icon-is.co.uk
Tue Jan 19 13:48:32 GMT 2016


I have an utility app which I finally managed to get to compile under Linux (ubuntu14.04, Qt5.5, PyQt, Python 2.7) after much time, effect and assistance from Phil. Having previously written the App Python and deployed on Windows and Mac using PySide it was relatively simple to translate the code to use PyQt with the object of deploying it on other platforms (esp for iPad). 

I found the most difficult and time consuming part of the whole process was actually (a) getting the various static components installed correctly (i.e. Python, PyQt and Qt) and (b) creating a virtual env and adding in the required Python libraries. Once there were all in place using pyqtdeploy was not too bad. 

Now, the question is do I have to go through this trauma on each platform I want to run the app on? Is it not possible to cross compile on the linux host? If not why do the pyqtdeploy instructions talk about the multi platform directory structure - is this just so that the project file can be moved to different platforms without being changed? 

So before I commit the time to trying to get it all working in Windows and then again on the Mac does anyone have a definitive answer - is this what I have to do or can Windows and or Mac apps be build on the Linus host. 

Finally - if not then has anyone scripted or written a detailed tutorial on how best to install all the elements required on each platform? 

Thanks for your help so far.... 

-- 
Regards, 

John Hackett 
Icon Information Systems 
74 Gibsons Hill, Norbury, London, SW16 3JS 
t: 020 8764 2663 
f: 020 8711 3370 
m: 07801-231118 
e: john.hackett at icon-is.co.uk 
w: www.icon-is.co.uk 
skype: john_hackett 
twitter: @iconinfosys 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160119/73c34aa1/attachment.html>


More information about the PyQt mailing list