[QGIS-Developer] QGIS and WebAssembly

2022-03-17 Thread Martin Dobias via QGIS-Developer
Hi all Recently I was wondering if it would be possible to have QGIS running natively in browser thanks to WebAssembly. Many hours later, I have a small, very rough, proof of concept: https://wonder-sk.github.io/wasm/qgis.html If you have a reasonably up-to-date browser, you should be able to bro

[QGIS-Developer] PSA: Please don't use QVariant::canConvert in any new code

2022-03-17 Thread Nyall Dawson via QGIS-Developer
Hi list, Quick heads up: please DON'T use QVariant::canConvert in any new code introduced to QGIS. This function has had an extremely subtle change of meaning in Qt6, so code which uses canConvert will NOT work correctly on Qt 6 builds. To explain: In Qt 5 this would return true if the value co