I'm unable to use wkhtmltopdf / wkhtmltoimage from the `edge` repo
Hello,
I’m getting the following error when using wkhtmltoimage, it seems to be compiled against the wrong version of libQt5 but I’m not sure:
Error relocating /usr/lib/libQt5Widgets.so.5:
_ZN7QString6removeE13QLatin1StringN2Qt15CaseSensitivityE: symbol not
found
Error relocating /usr/lib/libQt5Widgets.so.5:
_ZN16QCoreApplication20sendSpontaneousEventEP7QObjectP6QEvent: symbol
not found
Error relocating /usr/lib/libQt5Widgets.so.5:
_ZN18QRegularExpression27wildcardToRegularExpressionERK7QString: symbol
not found
Error relocating /usr/lib/libQt5Widgets.so.5:
_ZN16QCoreApplication9sendEventEP7QObjectP6QEvent: symbol not found
Error relocating /usr/lib/libQt5Gui.so.5: _ZN12QTestPrivate6qSleepEi:
symbol not found
Error relocating /usr/lib/libQt5Gui.so.5:
_ZN9QtPrivate13isRightToLeftE11QStringView: symbol not found
Error relocating /usr/lib/libQt5Gui.so.5:
_ZN16QCoreApplication20sendSpontaneousEventEP7QObjectP6QEvent: symbol
not found
Error relocating /usr/lib/libQt5Gui.so.5:
_ZNK18QAbstractItemModel10checkIndexERK11QModelIndex6QFlagsINS_16CheckIndexOptionEE:
symbol not found
$ wkhtmltoimage —disable-javascript —disable-local-file-access —encoding
utf-8 —width 688 —format png —quality 40 temp.html out.pngIf I manually install libQt5 (5.10) instead of 5.12 and use the APKBUILD file to build a package, then it looks to work correctly without any errors.
(from redmine: issue id 10073, created on 2019-03-08)