I want to use
Code: Select all
ImportC "/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so"
Does anyone know what PB function or Gadget is requiring libwebkitgtk-3.0?
UPDATE:
I just found by trial and error that using any XMLDialog function (DialogWindow(), CreateDialog() etc) forces the Purebasic compiler to link libwebkitgtk-3.0. I do not understand as the WebKit browser API does not really offer any helpful functionality (except for its own usage).
Is there a way to use XMLDialog without Purebasic linking against libwebkitgtk-3.0? This is currently completely messing up everything.
I'm really pissed off now. The libwebkitgtk-3.0, used by PureBasic, is not available on most modern Linux Desktops (eg Ubuntu from 19.04 until 20). This is known since January 2018 and did not change until today (mid 2020). And working around this limitation using libwebkit2gtk-4.0 fails because the PureBasic XMLDialog links libwebkitgtk-3.0 for whatever reason. So I can not change my project to use libwebkit2gtk-4.0 together with XMLDialogs (what I do in all projects). And my programs do not run on any modern Linux Desktop...
Is there some basic HTML+CSS rendering engine available for usage in PB without the overhead of 50 megabytes?