02-05-2013, 04:30 AM | #31 | |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
https://www.mobileread.com/forums/sho...d.php?t=203562 |
|
02-05-2013, 08:27 AM | #32 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
The path I had to use was (YMMV): Code:
cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=~/Qt5.0.1/5.0.1/gcc_64/lib/cmake/ -DCMAKE_BUILD_TYPE=Release ~/Raccourcis/Sigil-0.6.901-Code Spoiler:
Despite of these quirks, build finished successfully. But when I tried to launch Sigil in /usr/local/bin however, it reported again a probable new path problem: Code:
error while loading shared libraries libQt5Widgets.so.5: no such file .../... |
|
Advert | |
|
02-05-2013, 08:51 AM | #33 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
But will it launch from the build directory (before make install)? If it does (dictionaries and other resources might be unavailable--just looking for a successful program launch here), then you're still in business. Look at that same thread for hints on adding the QT5/lib directory to the LD_LIBRARY_PATH environment variable.
I launch Sigil with a custom script that updates the LD_LIBRARY_PATH environment variable beforehand. I use this simple bash script: Code:
#!/bin/sh # Adds the directory the Qt5 libs are located # in to the LD_LIBRARY_PATH before launching sigil. QTLIB_DIR="/location/of/your/Qt5/lib" if [ -z "$LD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH="$QTLIB_DIR" else LD_LIBRARY_PATH="$QTLIB_DIR:$LD_LIBRARY_PATH" fi export LD_LIBRARY_PATH exec sigil "$@" If it all works, I change the real executable (/usr/local/bin) to something like sigil-real and change the custom launch script (also in /usr/local/bin) to sigil so all shortcuts and *.desktop file associations still function as expected. Last edited by DiapDealer; 02-05-2013 at 09:01 AM. |
02-05-2013, 09:07 AM | #34 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Thank you for the script. I will try tomorrow to adapt the paths.
|
02-05-2013, 10:27 AM | #35 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
|
Advert | |
|
02-05-2013, 11:46 AM | #36 |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Feature change request
Could I slip in a Feature change request?
In the HTML TOC (Sigil Generated), the styles are inline. I would like to see them moved to their own stylesheet: SGC-TOC.CSS (reserved name) the second part is a rule: that if the style sheet Exists, it will not be overwritten, which allows the user to custom style that sheet without fear that regenerating a TOC will stomp on their tweaks. The burden is on the user to ONLY use those SGC selectors in stylesheet edits. (BTW delete unused styles tool will clean any unused. that may want to be blocked) |
02-05-2013, 01:27 PM | #37 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Why is it with a beta release, after all the features are done, there's always a request for more features
It seems reasonable - certainly using a stylesheet is better than inline styles as everyone always says, so I guess we should follow that preference. The Index HTML file will also need the same approach since it uses inline styles as well. |
02-05-2013, 08:23 PM | #38 | |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I just had to make your day. Well, really, I had just made a HTML TOC and was looking at it and going I wonder if I could <center> those chapter items. Then I thought up the case where I needed the custom styling to survive regeneration. Hey! It proves someone uses those features |
|
02-06-2013, 02:46 AM | #39 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
It will also make it easier for the users to create and reuse their own stylesheets specifically for the TOC and/or index. It makes perfect sense to utilize a seperate stylesheet for that.
|
02-06-2013, 07:03 AM | #40 |
Addict
Posts: 314
Karma: 1002965
Join Date: Mar 2006
Location: UK
Device: ILiad. Gen 3, PocketBook 360, Kobo Aura HD, Kindle Oasis 2
|
Thank You!
Thank you for this marvelous release of Sigil. I just adore the Preview pane.
I am sending a donation to you. |
02-07-2013, 07:58 AM | #41 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm rather interested to see how Qt 5 performs. I am tempted to build calibre with Qt 5 (mainly for the webkit update) but, I dont think its mature enough as yet.
|
02-07-2013, 08:52 AM | #42 |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
One thing I noticed: Drop caps in Sigil, now look almost the same on my PEz Before, there were noticeable differences in placement.
|
02-07-2013, 01:36 PM | #43 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
I'm sure user_none could give you more feedback on this. It seems to work mostly ok, but there are rough issues - context menu on MAC, slow selection of highlighted text (I think this was mentioned for 5.0.2).
|
02-07-2013, 01:46 PM | #44 |
Jr. - Junior Member
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
|
Running Windows 7.
With entries in either the Find or the Find & Replace fields, there is no match count. The words "Matches Found" is there but no count (inclduing "No Matches). Did anyone consider enhancing the readability of the F&R fields for this release. I guess I'm asking if you have decided not to do it. |
02-07-2013, 04:08 PM | #45 | ||
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
What language are you using for the ui? What settings in Find (though that shouldn't matter). It's possible that the translation syntax used for that string is not working right. What about Replace All? Or try Autofill in Index or Clips - that uses the same string and should give a count of how many entries were added. Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where to download beta of Sigil 6? | rtmyers | Sigil | 6 | 09-03-2012 06:36 AM |
Sigil 0.5.901 for Mac | ajay42 | Sigil | 14 | 08-30-2012 09:22 AM |
0.5.901 (0.6.0 beta) avaliable | user_none | Sigil | 118 | 06-19-2012 08:59 PM |
901 | reymund | PocketBook | 3 | 12-16-2010 07:09 PM |