Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: andyj on August 02, 2019, 03:38:37 PM
-
QWebElementCollection and QWebElement are missing, presumably from qt-5.x-webkit-dev. Subsurface is looking for them.
-
I checked back to the two last times I compiled qt-5.x and no files named *QWebElement* were installed.
Looking at: Qt WebEngine:
Embedded build ......................... no
Pepper Plugins ......................... yes
Printing and PDF ....................... yes
Proprietary Codecs ..................... no
Spellchecker ........................... yes
Native Spellchecker .................... no
WebRTC ................................. yes
Use System Ninja ....................... no
Geolocation ............................ yes
Use v8 snapshot ........................ yes
Use ALSA ............................... yes
Use PulseAudio ......................... yes
Optional system libraries used:
re2 .................................. no
icu .................................. no
libwebp, libwebpmux and libwebpdemux . yes
opus ................................. yes
ffmpeg ............................... no
libvpx ............................... no
snappy ............................... no
libsrtp .............................. no
glib ................................. yes
zlib ................................. yes
minizip .............................. no
libevent ............................. no
jsoncpp .............................. no
protobuf ............................. no
libxml2 and libxslt .................. no
lcms2 ................................ yes
png .................................. yes
JPEG ................................. yes
harfbuzz ............................. yes
freetype ............................. yes
..perhaps it is due to one of the missing deps, but, if so, which one?
-
They exist on my Slackware host:
$ locate QWebElement
/usr/lib/qt/include/QtWebKit/QWebElement
/usr/lib/qt/include/QtWebKit/QWebElementCollection
/usr/lib64/qt/include/QtWebKit/QWebElement
/usr/lib64/qt/include/QtWebKit/QWebElementCollection
and they existed in qt-4.x-dev, so I'm only guessing they should be in qt-5.x-webkit-dev. Must be a new requirement for subsurface 4.9, or I built 4.7 it without webkit. I don't have a build script for this extension yet so I can't say.
-
https://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html
The Qt WebKit classes and methods in this list will not be available in Qt WebEngine. ... QWebElement
So it's a class of the older and deprecated QWebKit. Qt has moved to QWebEngine (chrome based), and apps presumably will update to that.
-
OK, but QtWebkit is deprecated, not dead, so at least it should still be usable for now until the app is updated. I don't know which deps would bring it in. Maybe XML/XSLT (lobbing a dart)?
-
qt-5.x-webkit-dev contains the following:
/usr/local/include/qt5/QtWebKit/5.9.0/QtWebKit/private/qwebelement_p.h
/usr/local/include/qt5/QtWebKit/qwebelement.h
..but nothing else of a similar name.
The source:
http://tinycorelinux.net/10.x/x86_64/tcz/src/qt-5.x-webkit/
..does contain the following:
qtwebkit-opensource-src-5.9.0/include/QtWebKit/QWebElementCollection
qtwebkit-opensource-src-5.9.0/include/QtWebKit/QWebElement
..where: $ cat qtwebkit-opensource-src-5.9.0/include/QtWebKit/QWebElement
#include "qwebelement.h"
$ cat qtwebkit-opensource-src-5.9.0/include/QtWebKit/QWebElementCollection
#include "qwebelement.h"
..so maybe you could create these files and see if things work?
-
That seems to do the trick. It starts, but I don't have my dive computer handy to test it.