![]() |
#61 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Yes, I'm familiar with how it works. Used it plenty happily.
![]() Now, nothing happens when you click, anywhere, in the preview window. (Clicking in the codeview windows moves what's showing in the preview as before.) DiapDealer? |
![]() |
![]() |
![]() |
#62 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Preview to Code View syncing works just for me in all my Linux testing. We had an issue in the 0.9.15 beta that would break PV to CV sync whenever an internal link was clicked, but that was fixed for 0.9.16.
What Qt version is your system? We had to make some concessions to allow Sigil to work at all on Linux with Qt versions earlier than 5.12.x. And based on the improvements to QtWebEngine from 5.9.4 to 5.12.x, the further back you go toward that 5.9.4 minimum, the flakier I'd expect QtWebEngine to be. You could try downloading/installing Qt5.12.3 from Qt and building Sigil against that to see if it makes a difference (5.13.0 should work too--just stay away from 5.12.4). Last edited by DiapDealer; 07-27-2019 at 07:17 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#63 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Qt 5.9.5. (Linux Mint 19.1)
Will get a newer Qt later tonight and recompile Sigil. thanks, |
![]() |
![]() |
![]() |
#64 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Yep, with Qt 5.12.0 it worked again. (Is it worth it to redo it with 5.12.3/5.13?)
|
![]() |
![]() |
![]() |
#65 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
If I download 5.12.3 and install it as a user (into ~/Qt5.12.3 or something similar) how do I tell cmake to use it instead of the system's Qt? Or should I do it some other way? Albert |
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
You could make a script like this and run before the cmake (or set the envs manually).
Code:
#!/bin/bash QT_BASE_DIR=/path/to/qt512 export QTDIR=$QT_BASE_DIR export PATH=$QT_BASE_DIR/bin:$PATH if [[ $(uname -m) == "x86_64" ]]; then export LD_LIBRARY_PATH=$QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH else export LD_LIBRARY_PATH=$QT_BASE_DIR/lib/i386-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH fi export PKG_CONFIG_PATH=$QT_BASE_DIR/lib/pkgconfig:$PKG_CONFIG_PATH |
![]() |
![]() |
![]() |
#67 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,730
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#68 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
EDIT: I could have sworn I'd documented how to build Sigil with a Qt other than the system version with the Qt5_DIR cmake option, but that must have been strictly Windows I did that for. My apologies.
![]() The easiest way to build Sigil against a non-system Qt version is to use the cmake Qt5_DIR directive and point it to the Qt5 directory immediately under the /lib/cmake directory of the Qt5 installation you're using. The binary installers for Qt install into /opt by default, so the bit to add to the normal cmake configure command will be something like Code:
-DQt5_DIR=/opt/Qt5.12.3/5.12.3/gcc_64/lib/cmake/Qt5 After that it's just the normal make; sudo make install. The launch script will be adjusted automatically so that the new Qt version will be used instead of the system qt. If you use PageEdit, I recommend rebuilding from the latest github. You can add the exact same -DQt5_DIR= path to its cmake configure command as the one you used for Sigil. But I'll take a look at what's going on with the PV->CV sync code to see if something can be done to make it work with older versions of QtWebEngine. The main Sigil issue is that the Inspector won't be available with Qts older than 5.11.0. This sync problem really shouldn't be an issue in mind. If we can get you back to being able to use your system Qt5 versions we'll certainly try. The only other thing worth mentioning is the binary installers from Qt aren't built with Proprietary Codecs enabled. So some audio/video html5 content that is supposed to work with EPUB3 probably won't work with those versions. If you don't use any audio/video in your epubs, you're good to go. Last edited by DiapDealer; 07-27-2019 at 01:09 PM. |
![]() |
![]() |
![]() |
#69 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
It's good to know how to use a newer version of Qt when necessary, since I doubt there will be a time when Kubuntu LTS releases will have the latest Qt by default. ![]() Albert |
|
![]() |
![]() |
![]() |
#70 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Glad to hear it went well! And yes, I meant PageEdit master.
I fired up a Mint 19 VM and confirmed that PV->CV sync isn't working there, either -- with the system Qt5.9.5 (starting with Sigil 0.9.15). I should be able to use that to do some debugging. If there were unsupported functions used in Sigil's code, I would have expected compilation errors, so it must be something more subtle than that. Last edited by DiapDealer; 07-27-2019 at 05:38 PM. |
![]() |
![]() |
![]() |
#71 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
I don't recall seeing any pertinent errors. Just the usual warnings about "so-and-so is declared but not used" etc. (Applies to builds with either 5.9.4 or 5.12.3) Not that I was paying too much attention. I had cat sandboxes to deal with.
![]() I don't usually edit in WYSIWYG mode, but I have this OCR nightmare (source was a pdf of a scanned typewritten -with a manual typewriter- document). It's a wonder the OCR software got anything useful at all. Albert |
![]() |
![]() |
![]() |
#72 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Since you rebuilt from master, can I ask if the new spell-check feature of PageEdit is working? You may have to actually click in the editor Window for it to start underlining words, but I'm curious. |
|
![]() |
![]() |
![]() |
#73 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,730
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
It works fine for the bundled languages. Thanks for adding this very useful feature!
|
![]() |
![]() |
![]() |
#74 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Cool. Thanks!
|
![]() |
![]() |
![]() |
#75 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
spellcheck works for me also.
Albert |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.9.14 Released | DiapDealer | Sigil | 84 | 07-27-2019 02:14 AM |
Sigil-0.9.1 Released | KevinH | Sigil | 36 | 12-04-2015 03:00 PM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil V0.7.3 released | user_none | Sigil | 59 | 09-11-2013 09:45 PM |
Sigil 0.6.0 Released | user_none | Sigil | 93 | 11-24-2012 06:50 PM |