Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-06-2014, 03: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: Nook Color
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, 04: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: 26,793
Karma: 5456159
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 04:16 AM.
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 10-06-2014, 04: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: Nook Color
Thanks, I'll try it!
stanking is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No module named PyQt5.Qt silentfuzzle Development 2 08-19-2014 01:31 PM
Calibre 0.9.40 Win64 crashing FredipusRex Calibre 2 08-01-2013 10:25 AM
Problems to install Calibre dalberto Calibre 4 11-11-2012 01:52 PM
re install problems dalkema Calibre 4 01-20-2012 07:51 AM
Install Problems Eggman Calibre 2 10-24-2010 10:58 PM


All times are GMT -4. The time now is 11:37 AM.


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