nomacs / nomacs-plugins

3dparty plugins for nomacs
https://nomacs.org
41 stars 20 forks source link

[OcrPlugin] Language Download #22

Open dschoerk opened 6 years ago

dschoerk commented 6 years ago

adding buttons to a table cell: https://stackoverflow.com/a/35084467

dschoerk commented 6 years ago

selected languages are now stored with the regular QSettings as a QStringList. the value of the stringlist is not correctly displayed and editable in the nomacs settings editor, but the values are saved and loaded correctly.

dschoerk commented 6 years ago

https://api.github.com/repos/tesseract-ocr/tessdata/contents QNetworkAccessManager / QNetworkRequest fail to retrieve the above url.

QNetworkReply::errorString says "ssl handshake failed" QNetworkReply::sslErrors is empty the slot QNetworkReply::sslErrors(QNetworkReply*, QList) is not called seems buggy to me :( was testing that with the official build qt5.10 build for msvc 2015x64

Downloading of the language files works via: https://raw.githubusercontent.com/tesseract-ocr/tessdata/master/