pyqt / python-qt5

Unofficial PyQt5 via PyPI for Python 2.7 64-bit on Windows
GNU General Public License v3.0
280 stars 78 forks source link

64-bit vs 32-bit #19

Open jacksonofalltrades opened 8 years ago

jacksonofalltrades commented 8 years ago

In some cases on Windows, I get this error: "The binaries distributed wtih this version are for the 64-bit version of Python only."

I'm confused, because I'm fairly certain the python I was running is 64-bit. Having said that, do you have a version that will work with 32-bit Python? It's likely on some Windows I may need to support that.

Thanks!

mottosso commented 8 years ago

Sadly I don't, and this project only supports 64-bit distributions. :(

But if you are able and willing to provide a 32-bit version and a method of storing and accessing them from here I'd be happy to host them. Potentially as a dedicated branch?

Here's a tutorial on how to compile and upload PyQt, should apply to 32-bit as well.

jacksonofalltrades commented 8 years ago

Ok, so making a 32-bit version of this might be as simple as rebuilding PyQt on a 32-bit Win platform? If so, I'm happy to do it and contribute it.

mottosso commented 8 years ago

Compiling is unfortunately only part of the story.. the main hassle comes with bundling, that's why the guide is so much longer than it otherwise would have had to have been.

Do have a look at it though, and if it seems manageable to you, I'll try and help best I can.

jacksonofalltrades commented 8 years ago

I really appreciate that! I will. At the moment, my client is ok with us supporting 64-bit only, but eventually we will need this. So probably I won't get to this for a few months, but I'm trying to plan/think ahead.

xeacott commented 6 years ago

I read through these comments and have been searching high and low for someone who has already compiled a PyQT5 for a 32bit version of python 2.7.x ... I will be creating one (potentially) and wanted to see if you made any progress?

mottosso commented 6 years ago

Hi @xeacott, I haven't had a look at this, but maybe @jacksonofalltrades would know more?

xeacott commented 6 years ago

Sure thing. I found this guide: http://blog.abstractfactory.io/pyqt5-1-1-for-python-2-7/ (not sure if you've seen it, rather not sure if you might have written it yourself) and it highlights some of the same things you do in your guide. It appears to be a very straight forward...

mottosso commented 6 years ago

Yup, that's me. :)

xeacott commented 6 years ago

I guess that leaves me with this task. I'll report anything i find along the way!