[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Cross compiling...
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2016-01-20 17:48:42
Message-ID: 8F12DDDB-456C-4A45-9D48-8AC291D98870 () riverbankcomputing ! com
[Download RAW message or body]
On 19 Jan 2016, at 1:48 pm, John M. Hackett <john.hackett@icon-is.co.uk> wrote:
>
> 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?
Yes.
> 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?
pyqtdeploy doesn't handle building anything, it pushes that out ot qmake. So \
cross-compiling support (out of the box) is whatever Qt supports.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://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