![]() |
#16 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
I just pushed that change to master along with this earlier snippet from Sigil's main.cpp as well:
Code:
#if !defined(Q_OS_WIN32) && !defined(Q_OS_MAC) // Unset platform theme plugins/styles environment variables immediately // when forcing Sigil's own darkmode palette on Linux if (!force_sigil_darkmode_palette.isEmpty() || !force_pageedit_darkmode_palette.isEmpty()) { QStringList env_vars = {"QT_QPA_PLATFORMTHEME", "QT_STYLE_OVERRIDE"}; foreach(QString v, env_vars) { bool irrel = qunsetenv(v.toUtf8().constData()); Q_UNUSED(irrel); } } #endif Hope that is okay. |
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Should be fine. I can't think of any specific reason why I would have left it out of PageEdit. It basically just erases any of the system theming env vars from the PageEdit environment whenever the built-in dark mode is being forced. Thanks!
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
In Arch Linux, after updating Qt from version 5.15.4 to 5.15.5 and rebuilding PageEdit with that new version of Qt, it refuses to start. Why? By running PageEdit from the console, I receive the following message:
Code:
Cannot mix incompatible Qt library (5.15.4) with this library (5.15.5) Abortado (`core' generado) |
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
As crazy as it may seem... have you restarted since the Qt update?
Also: there was no need to rebuild a custom-built PageEdit just because your system Qt5.5.x updated. Qt5.15.x are backward compatible with each other. My current PageEdit was built using the system Qt5.15.2 and it's still working fine with the system Qt5.15.5. I hadn't noticed that Arch hasn't updated their repo version of PageEdit yet. I just flagged it as out of date. Last edited by DiapDealer; 06-26-2022 at 02:26 PM. |
![]() |
![]() |
![]() |
#20 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
![]() ![]() Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Do you happen to still have a repo version of PageEdit in /usr/bin?
|
![]() |
![]() |
![]() |
#22 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If that's not the problem, I'm not sure what it may be, as I was able to rebuild PageEdit with Qt5.15.5 with no issue.
|
![]() |
![]() |
![]() |
#23 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Perhaps Qt libraries are out of sync. Mixed pieces with mainly Qt5.15.5 but some other version of QtWebEngine? Or missing QtWebChannel or something so build won't load proper lib?
|
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
#25 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Code:
Cannot mix incompatible Qt library (5.15.4) with this library (5.15.5) Code:
sudo pacman -Syu |
|
![]() |
![]() |
![]() |
#26 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
I found the solution. I post this because maybe someone else in the future has the same issue. The problem was with the library "qt5-styleplugins" from the AUR repository, so to solve the thing I had to rebuilt qt5-styleplugins with:
Code:
yay -S --rebuild qt5-styleplugins |
![]() |
![]() |
![]() |
#27 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
That is news to me. Never even heard of that package. It is not part of official qt5 as far as I can tell. But pinned in it is this:
Quote:
|
|
![]() |
![]() |
![]() |
#28 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That particular package interacts with the system Qt5, though. So any Qt5 program was likely trying to load incompatible an style plugin when launched.
I use the aur sparingly for just that kind of issue (not that I avoid it altogether, mind you). |
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Well, I don't know if this is a bug only for my building of PageEdit under my ArchLinux or if is a bug for the Linux version in general.
I built PageEdit with Qt 5.15.5 and it works fine when is opened via Sigil. But when I open PageEdit as a standalone program, and I want to paste text, nothing happens. I can't paste nor formated text nor text without format. Can anyone test this to see if something with my particular building of PageEdit or if it is a bug for the linux version? |
![]() |
![]() |
![]() |
#30 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
You need to open an epub or xhtml file in standalone PageEdit using its menus in order to have something to paste into.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |