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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-02-2011, 12:18 PM   #1
meho_r
Junior Member
meho_r began at the beginning.
 
meho_r's Avatar
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: none
Theme problem

Hi

I updated calibre yesterday to 0.7.36 and noticed that my theme is broken (looks like Win98). I tried changing couple of Gnome themes (with KDE settings to follow and use GTK+ style) to make sure it isn't a particular theme problem, no avail. I also tried setting KDE theme to native "Oxygen", didn't help. Using "qtconfig" I managed to apply two styles: "Clearlooks" and "Plastique", but KDE's "Oxygen" and GTK+ failed again. This didn't happen with 0.7.2x versions. Ideas?

I'm using Debian Squeeze, 64bit, Gnome DE, and "GTK+" Widget Style for KDE applications.
meho_r is offline   Reply With Quote
Old 01-02-2011, 12:30 PM   #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,336
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
your theme's are probably incompatible with Qt 4.7 which calibre switched to recently.
kovidgoyal is online now   Reply With Quote
 
Advertisement
Old 01-02-2011, 04:26 PM   #3
meho_r
Junior Member
meho_r began at the beginning.
 
meho_r's Avatar
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: none
OK, thanks a lot for prompt reply. The installed version on my system is 4.6.3. 4.7 is still in experimental repos, so I don't think we'll see it soon on Debian testing.

Last edited by meho_r; 01-02-2011 at 04:28 PM.
meho_r is offline   Reply With Quote
Old 01-02-2011, 05:21 PM   #4
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,336
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah, Qt theming is rather messy, I may have to start distributing theme plugins with the calibre binary. The problem with doing that is that then your system theme wont be used (even if it is compatible) and I'll get complaints from people about how calibre doesn't look like the other apps.
kovidgoyal is online now   Reply With Quote
Old 01-02-2011, 07:11 PM   #5
meho_r
Junior Member
meho_r began at the beginning.
 
meho_r's Avatar
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: none
Indeed. From whatever side you look, seems like a double-edged sword
meho_r is offline   Reply With Quote
Old 03-31-2011, 03:41 AM   #6
HalfEmptyHero
Junior Member
HalfEmptyHero began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2011
Device: Kindle
I'm having this same problem, however I am using qt 4.7.2. Is there something I missed?

Edit: I'm using kde 4.6 64bit on kubuntu natty btw

Last edited by HalfEmptyHero; 03-31-2011 at 03:43 AM.
HalfEmptyHero is offline   Reply With Quote
Old 03-31-2011, 03:54 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,887
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by HalfEmptyHero View Post
I'm having this same problem, however I am using qt 4.7.2. Is there something I missed?

Edit: I'm using kde 4.6 64bit on kubuntu natty btw
What version of calibre are you using?
DoctorOhh is offline   Reply With Quote
Old 03-31-2011, 05:43 AM   #8
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,094
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by HalfEmptyHero View Post
I'm having this same problem, however I am using qt 4.7.2. Is there something I missed?

Edit: I'm using kde 4.6 64bit on kubuntu natty btw
Natty Isn't exactly 'stable'

Natty (Gnome) LIve CD won't even run the same 2 times in a row on my Dell D4600 (I've seen the new desktop twice, the rest of the time I have been lucky to get it to run enough to do anything useful, then, it was the old desktop that came up? Yes it was Natty.)
theducks is offline   Reply With Quote
Old 04-01-2011, 12:58 AM   #9
HalfEmptyHero
Junior Member
HalfEmptyHero began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2011
Device: Kindle
True, natty might not be stable but I don't think that would be the problem. All my other Qt apps look fine, that's gotta mean something right? But honestly, besides a few programs crashing once in a while, I haven't had any problems with natty.

As for calibre, I'm using version 0.7.52
HalfEmptyHero is offline   Reply With Quote
Old 04-01-2011, 01:37 AM   #10
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,336
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It means that the style plugins in your OS are incompatible with the Qt libraries shipped with calibre. The only fix I know for that is to compile calibre from source on your OS.
kovidgoyal is online now   Reply With Quote
Old 04-03-2011, 10:16 AM   #11
HalfEmptyHero
Junior Member
HalfEmptyHero began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2011
Device: Kindle
Well I got tired of all the crashing on Natty, so downgraded to Maverick. The theme looks normal on it, so I'm happy.
HalfEmptyHero is offline   Reply With Quote
Old 12-22-2013, 05:28 PM   #12
coolnamehere
Member
coolnamehere began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Mar 2010
Device: prs300
I realize this is an old thread but it fits my situation.

Quote:
Originally Posted by kovidgoyal
your theme's are probably incompatible with Qt 4.7 which calibre switched to recently.
what I'd like to find out is if you or anyone knows exactly what in qt 4.7+ breaks some gtk themes? I'd like to fix/update my theme if possible.

with calibre bin pkg up to r0.7.27 I get the gtk theme's scrollbar, button and other graphical effects (all the png elements in the theme); with r0.7.28+ I only get the theme's color treatments which from what I can tell is when calibre switched to qt 4.7.3.

I've done a lot of searching to see if there are tweaks I can make to the gtk theme but I'm not getting anywhere.

or I could build calibre from source as your subsequent post here mentions but given I'd only have qt and other calibre deps installed long enough to compile calibre I'd like to create a binary/standalone calibre (which the src INSTALL readme doesn't appear to go into) - did I misread in a calibre faq/doc that you said trying to do that would be very difficult? or did you just mean for a windows user it would be too difficult?

thanks.
coolnamehere is offline   Reply With Quote
Old 12-22-2013, 11:09 PM   #13
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,336
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre currently *requires* Qt 4.8 so compiling from source wont help you if you want to keep Qt before 4.7.3. There's no automated way to create standalone calibre binaries, the script I use to do it is specific to my build VM. But if you have the time, you can try adapting it, it is linux/freeze2.py and it is launched by

python setup.py linux_freeze
kovidgoyal is online now   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
Cleanmix Theme mystic PocketBook 12 01-01-2011 07:31 AM
PRS-500 Sony Reader Theme diabloNL Sony Reader Dev Corner 23 08-24-2009 06:00 PM
How-To Customize the Reader Name and Theme Frog29 Sony Reader Dev Corner 1 08-08-2008 08:49 PM
XP Christmas Theme from MS Colin Dunstan Lounge 0 12-17-2004 03:38 AM


All times are GMT -4. The time now is 04:44 AM.


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