![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
PageEdit-1.9.10 Released
PageEdit-1.9.10
PageEdit-1.9.10 is a minor update that represents 3 bug fixes and a single new feature. New Features:
Bug Fixes:
--------------------------------- Notes ----------------------------------- The PageEdit user guide has been updated and can always be downloaded from its own repository. The binary downloads (and source) can be found as assets at the bottom of the PageEdit Github Release page. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Post reserved for future use.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
I want to build PageEdit 1.9.10 with qt6 but the program is built with qt5 (of course, I have installed qt6 in my Arch). I tried to compile PageEdit with:
Code:
/usr/lib/qt6/bin/qt-cmake "Unix Makefiles" -DINSTALL_BUNDLED_DICTS=0 -DCMAKE_BUILD_TYPE=Release ../pageedit-src By the way, how do I set PageEdit in "dark mode" (Arch)? The option "File/Preferences.../Appearence/Make PageEdit simulate a dark appearence in dark mode" seems not to work. |
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Just like with the Sigil build process add this to your cmake command:
-DUSE_QT6=1 And I believe there is a FORCE_PAGEEDIT_DARKMODE_PALETTE And if a epub sets its own colours they will overrde the simulated darkmode setting. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes the "simulate appearance setting" will only try to affect the background/text color (much like the setting for Preview in Sigil). It is separate from the dark mode for the application itself. But the application must be set to dark mode before that PageEdit setting will have any effect.
Last edited by DiapDealer; 06-04-2022 at 11:53 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Thanks Kevin; two things:
One: PageEdit with Qt6 compiles but it doesn't work; when I compiled it with Qt5 it works as is expected. Two: no case, even with the statement FORCE_PAGEEDIT_DARKMODE_PALETTE=1 in the enviroment variables, I can't enable dark mode on my Arch. Or I need to do another thing more or dark mode is not working under Linux (by the way, in Windows I don't have any issue -with the Windows version of course-). |
![]() |
![]() |
![]() |
#7 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Please define "doesn't work"? Does it crash? What if any error messages are given? I just tried Qt6 PageEdit on macOS and it all works just fine.
Quote:
Last edited by KevinH; 06-04-2022 at 11:50 AM. |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
PageEdit Qt6 has not been tested as nearly as heavily as Sigil Qt6 (at least on Linux and Windows). That's probably on me. But then we've not declared Qt6 versions of either PageEdit or Sigil production-ready quite yet, either.
But if you're satisfied with Sigil Qt6 (and it's really close to being declared production-ready IMO) , there's no real reason you need to build PageEdit with Qt6 to match. PageEdit Qt5 will happily integrate with Sigil Qt6. |
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
FWIW - I just built PageEdit using QT6 on my Manjaro Linux box following the build instructions and it launches just fine.
Edit: But will ends up with empty qwebengine pages no matter what I load. So there does appear to be a problem Last edited by KevinH; 06-04-2022 at 12:52 PM. Reason: Updating after further testing |
![]() |
![]() |
![]() |
#10 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Okay, it seems in WebPageEdit.cpp there is a linux specific background hack for Qt 5.14 that needs to be restricted to Qt5 as it breaks Qt6 versions of PageEdit.
I just pushed a fix for this to PageEdit master. So now Qt6 versions of PageEdit from master launch and run fine on my Manjaro box but there is still issues with forcing dark mode on Linux that I have not tracked down yet. Last edited by KevinH; 06-04-2022 at 01:14 PM. |
![]() |
![]() |
![]() |
#11 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
I wanted to build PageEdit with Qt6 because I can't set Qt5 version in dark mode; dark mode doesn't work under linux.
|
![]() |
![]() |
![]() |
#13 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Yes, I am seeing the same thing under both Qt5 and Qt6 in Linux. In Qt6 the file dialogs are properly in dark mode but the main window is not. In Qt5 is appears to be broken as well. I will look into it this afternoon if DiapDealer does not beat me to it.
|
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Hmmm. There was something on Sigil I had to keep going back and forth on to keep dark mode working correctly on newer versions of Qt. Perhaps I missed a forth (or a back) on PageEdit.
![]() |
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
We need a Qt check similar to:
https://github.com/Sigil-Ebook/Sigil.../main.cpp#L488 in PageEdit's main at https://github.com/Sigil-Ebook/PageE.../main.cpp#L299 My bad. ![]() Just comment out line 299 in PageEdit's main.cpp if you want to test before I get around to testing and pushing. Last edited by DiapDealer; 06-04-2022 at 02:43 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PageEdit-1.7.0 Released | DiapDealer | Sigil | 1 | 07-22-2021 11:44 AM |
PageEdit-1.6.0 Released | DiapDealer | Sigil | 10 | 07-08-2021 12:34 PM |
PageEdit-1.5.0 Released | DiapDealer | Sigil | 1 | 03-19-2021 10:59 AM |
PageEdit-1.2.0 Released | DiapDealer | Sigil | 13 | 04-02-2020 04:16 AM |
PageEdit-0.8.0 Released | DiapDealer | Sigil | 37 | 08-25-2019 04:14 PM |