10-06-2014, 02:54 AM | #1 |
Noob Developer
Posts: 25
Karma: 219932
Join Date: Aug 2014
Location: Texas
Device: Amazon Fire 7
|
Install Problems With PyQt5 (Win64)
Anyone know the secret to installing PyQt5 on a Windows 7 64-bit system? There's not an installer for Python 2.x, and I can't get the underlying SIP source code to make, or the PyQt5 source to even configure successfully. Running make on the SIP source code fails after the 409th make command runs, with an 0xc0000142 (compatibility) error.
The reason I want this is to create and edit a dialog window in a GUI instead of coding it. I tried using the PyQt5 installer that is provided for Python 3.4. The Qt Designer app works beautifully, but when I try to convert my mydialog.ui file to mydialog.py with the provided pyuic5 console app, it fails. Any suggestions? |
10-06-2014, 03:14 AM | #2 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre-debug -c "from calibre.gui2 import build_forms; build_forms("/path/to/toplevel/dir/containg/your/.ui/file)"
And note that because of the way build_forms() works (it is designed for the calibre source code) your .ui file must be in the calibre/gui2 subdirectory Last edited by kovidgoyal; 10-06-2014 at 03:16 AM. |
10-06-2014, 03:28 AM | #3 |
Noob Developer
Posts: 25
Karma: 219932
Join Date: Aug 2014
Location: Texas
Device: Amazon Fire 7
|
Thanks, I'll try it!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No module named PyQt5.Qt | silentfuzzle | Development | 2 | 08-19-2014 12:31 PM |
Calibre 0.9.40 Win64 crashing | FredipusRex | Calibre | 2 | 08-01-2013 09:25 AM |
Problems to install Calibre | dalberto | Calibre | 4 | 11-11-2012 12:52 PM |
re install problems | dalkema | Calibre | 4 | 01-20-2012 06:51 AM |
Install Problems | Eggman | Calibre | 2 | 10-24-2010 09:58 PM |