![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Two issues running Sigil under KDE4 (using system Qt4)
Hi. There're two issues that I've seen when using Sigil, built from source, when running it under KDE4:
- Using "Save As" an error message is displayed (like the one in this issue). It looks like unchecking "Automatically select filename extension (.epub)" in the "Save As" dialogue fixes this issue and I don't get the error message dialogue (which appears 2-3 times). - The second issue appears when dragging chapters to reorder them in the Book Browser panel, the chapter would move, but then it would appear as a blank entry that can't be left clicked and when right-clicking it, Sigil segfaults (this is similar to this issue ). It indeed looks like a KDE4 issue, the workaround I found is loading Sigil with unsetting the QT_PLUGIN_PATH environment variable: Code:
QT_PLUGIN_PATH= /usr/bin/sigil (Since these two issue haves bugged me for a long time, I thought I'd share my findings... ![]() Last edited by Ahmad Samir; 05-15-2011 at 09:07 PM. |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Thanks for these workarounds. The error on save-as was very annoying, but unchecking "automatically select..." seems to have stopped it.
As for the other, drag-to-reorder, do I understand correctly that your solution only applies to Sigil when built from source under KDE4, as opposed to the "canned" linux build? |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Quote:
Note that I usually use Sigil built from source (and only test the upstream .bin on occasion when there's a bug or something). I forgot to say I run KDE 4.6.3 and Qt 4.7.3. |
|
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
For what it's worth, after upgrading to KDE 4.6.3, I tried the suggestion of unsetting QT_PLUGIN_PATH again with the pre-compiled 0.3.4 Sigil version, i.e.
Code:
$ QT_PLUGIN_PATH= /opt/sigil/sigil Previously I was using KDE 4.4.something, but I may also simply have made a typo when typing in the command. |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
If you're using the pre-compiled sigil installed from the .run executable, then you should simply load sigil using /opt/sigil/sigil.sh , it sets the correct evn vars to use the bundled Qt libs.. etc and shouldn't have that KDE4 bug(s) at all.
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
I'm using Sigil 0.3.4 installed from Sigil-0.3.4-Linux-Setup.bin on a Debian Sid distro, KDE version 4.6.3 and looks like QT version 4.7.3-1 . If I start it from the sigil.sh shell script it still has the bug that prevents dragging files to reorder them. Even though the shell script redirects LD_LIBRARY_PATH to Sigil's own QT libs. If I start it just with /opt/sigil/sigil it throws all kinds of warnings and errors because QT_PLUGIN_PATH still points to the default kde plugin paths. (no surprise here.) But if I start it with QT_PLUGIN_PATH unset (as above) it seems to run, and dragging files around works as expected. Last edited by st_albert; 06-02-2011 at 01:03 PM. |
|
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Ah, I see; thanks for the clarification (I mainly tested with 0.4.0 and KDE 4.6.x).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre as a service in a linux server without QT4 | nadid | Calibre | 4 | 01-25-2011 12:00 AM |
Sigil/DRM Issues After Update? | twedigteam | Sigil | 11 | 11-07-2010 01:47 PM |
Weird formatting issues - Sigil .epub in Calibre viewer | december | Sigil | 9 | 06-18-2010 04:04 PM |
Sigil editing Issues -- must be addressed | arvinder | Sigil | 4 | 08-06-2009 07:36 AM |
iLiad QT4 Working!!! | Adam B. | iRex Developer's Corner | 9 | 06-17-2007 01:41 PM |