Add support for loading image plugins through the settings folder of the apps.

This commit is contained in:
luisangelsm
2026-03-14 09:23:20 +01:00
parent 3709b6e737
commit 754ea0c2f6
9 changed files with 52 additions and 3 deletions

View File

@ -7,9 +7,7 @@ YACReader::WhatsNewController::WhatsNewController() { }
void YACReader::WhatsNewController::showWhatsNewIfNeeded(QWidget *fromParent)
{
QSettings commonSettings(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) +
"/YACReader/YACReaderCommon.ini",
QSettings::IniFormat);
QSettings commonSettings(YACReader::getCommonSettingsFilePath(), QSettings::IniFormat);
if (commonSettings.value("LAST_VERSION_INSTALLED").toString() != VERSION) {
showWhatsNew(fromParent);

View File

@ -57,6 +57,9 @@ YACReader::WhatsNewDialog::WhatsNewDialog(QWidget *parent)
" &#8226; Add a theme editor and support for custom themes<br/>"
" &#8226; Add an application language setting with a system default option in YACReader and YACReaderLibrary<br/>"
"<br/>"
"<span style=\"font-weight:600\">All apps</span><br/>"
" &#8226; Add support for user-installed Qt image format plugins via the shared <i>plugins/imageformats</i> folder in the YACReader settings directory<br/>"
"<br/>"
"I hope you enjoy the new update. Please, if you like YACReader consider to become a patron in <a href=\"https://www.patreon.com/yacreader\" style=\"color:%1;\">Patreon</a> "
"or donate some money using <a href=\"https://www.paypal.com/donate?business=5TAMNQCDDMVP8&item_name=Support+YACReader\" style=\"color:%1;\">Pay-Pal</a> and help keeping the project alive. "
"Remember that there is an iOS version available in the <a href=\"https://apps.apple.com/app/id635717885\" style=\"color:%1;\">Apple App Store</a>, "