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 03-10-2009, 04:49 PM   #1
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Calibre Qt DLLs override the system Qt DLLs

Just wanted to put this here so I spare other people the frustration. If you install calibre first and Qt second, calibre overrides the system Qt libs. This happens because calibre's path is added to the system %PATH% variable before the path to the system Qt libs.

Kovid, you could solve this by putting your Qt libs in a special folder inside calibre's folder so that they don't end up on the %PATH%. This is a good idea for most windows programs anyway.

EDIT: Oh, and this was on Windows XP.

Last edited by Valloric; 03-10-2009 at 04:55 PM.
Valloric is offline   Reply With Quote
Old 03-10-2009, 05:03 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: 25,277
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Unfortunately, the way calibre is setup currently, it needs to have the Qt dlls on the PATH. I could probably change that if I tried hard enough, but...
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 03-10-2009, 05:12 PM   #3
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by kovidgoyal View Post
Unfortunately, the way calibre is setup currently, it needs to have the Qt dlls on the PATH. I could probably change that if I tried hard enough, but...
Well, then the only solution is to edit the PATH by hand so system Qt libs get loaded before calibre's. I did it on my system, and it's not difficult. What is difficult is finding out what was the problem in the first place. I was using Qt 4.5 for an application, and all debug builds were running fine. OTOH, the release builds crashed spectacularly.

It was not an easy thing to debug. And a windows application should not put any DLLs on the PATH if it's not bent on providing those libs to other apps... this specific issue being proof enough.
Valloric 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
Installing calibre solely for ebook-convert on headless system Zeroth Related Tools 1 08-24-2010 08:59 PM
calibre optimal system specs paul__dl Calibre 3 06-19-2010 12:04 AM
Exiting calibre - linux - no system tray? chlorine Calibre 6 08-09-2009 12:30 PM
help with Claibre CSS override sideburnt Calibre 7 05-28-2009 08:25 PM
how to clean more disk space in root file system to upgrade system chinaet iRex 1 12-18-2006 03:54 PM


All times are GMT -4. The time now is 03:34 PM.


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