Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-06-2014, 02:54 AM   #1
stanking
Noob Developer
stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.
 
stanking's Avatar
 
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?
stanking is offline   Reply With Quote
Old 10-06-2014, 03:14 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-06-2014, 03:28 AM   #3
stanking
Noob Developer
stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.stanking ought to be getting tired of karma fortunes by now.
 
stanking's Avatar
 
Posts: 25
Karma: 219932
Join Date: Aug 2014
Location: Texas
Device: Amazon Fire 7
Thanks, I'll try it!
stanking is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 01:26 AM.


MobileRead.com is a privately owned, operated and funded community.