Re: [QGIS-Developer] QGIS and WebAssembly
Hi Martin, Thanks for sharing this initial version - it's great to see some of the possibility. Is this something you would like to / be able to develop? I'd be interested in exploring the possibility of developing this, and am happy to put some money in towards this if you (or anyone else) is interested. Please do let me know your thoughts. Best wishes, Nick. On 3/22/22 12:31, Martin Dobias via QGIS-Developer wrote: Hi Andreas! On Tue, Mar 22, 2022 at 9:49 AM Andreas Neumann wrote: Would any part of the current QGIS Desktop part be re-usable in a "web assembly" QGIS? Or would the GUI part have to be re-developed? In theory, we could try to run QGIS Desktop as it is in WebAssembly environment in the browser, Qt generally supports that. There are many question marks though, among some I can think of: - dealing with files / data sources - this would need many changes to accept the fact that we are not dealing with a local file system and that access to raw data over network will be generally much slower. Also persistence of data - you will probably want to have some server backend anyway to store the data. - Qt Widgets-based apps can be run on WebAssembly, but I have a feeling that the performance would not be great, due to the way how the get rendered on screen (all work done on CPU) - I would expect that an optimized OpenGL / WebGL based GUI would have much better performance in browsers - probably based on Qt Quick module (like Input / QField) I would also assume that access to local files would be very restricted - right? Network based resources (DB access and web services) would probably work fine? Indeed, access to local files from browser would not be possible at all - data would need to come from the server. Network based resources would work fine, but with various limitations - for example, you are normally not allowed to request resources from other servers unless the servers allow that [1], and you can't directly access services like PostgreSQL that are not HTTP servers (although of course this could be handled by tunneling through WebSockets, or using HTTP-based protocols like Postgrest). Cheers Martin [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer -- Nick Bearman +44 (0) 7717745715 n...@geospatialtrainingsolutions.co.uk Due to my own life/work balance, you may get emails from me outside of normal working hours. Please do not feel any pressure to respond outside of your own working pattern. ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Tests & Merge Request
I believe this is normal. If you want to run tests locally you should use the docker toolchain like the GitHub action uses (or set up similar actions in your fork). See: https://github.com/qgis/QGIS/blob/master/.github/workflows/run-tests.yml Regards Tim On Sun, Sep 11, 2022 at 11:17 AM Nicolas Godet via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi, > > Same « issue » here where I have a lot of failed test locally. > Mostly visual render that slightly differs from expected image. > Linux Mint Vanessa (Ubuntu 22.04) > 4K TV screen > > A lot of timeout too or aborted child > > Le 10 sept. 2022 à 11:08, Marc Ducobu via QGIS-Developer < > qgis-developer@lists.osgeo.org> a écrit : > > > > Hi ! > > I'm working on a Merge Request ( https://github.com/qgis/QGIS/pull/50167 > ) and when I run the tests locally, some tests failed. It seems not to be > linked with my modifications : when I run the tests without my changes the > same tests failed too. > > I run the tests using the command `make test' or `make check`in my > build-master directory. > > In my ccmake config, I have : > > ``` > > ENABLE_TESTS ON > > ``` > > and also > > ``` > > ENABLE_COVERAGE OFF > ENABLE_HANATEST OFF > ENABLE_LOCAL_BUILD_SHORTCUTS OFF > ENABLE_MODELTEST OFF > ENABLE_MSSQLTEST OFF > ENABLE_MSSQLTEST_CPP OFF > ENABLE_ORACLETESTOFF > ENABLE_PGTESTOFF > > ENABLE_SAGA_TESTS OFF > > ``` > > The tests that failed are : > 2 - checkGitStatus (Failed) > 24 - ProcessingOtbAlgorithmsTest (Failed) > 46 - test_core_compositionconverter (Failed) > 99 - test_core_layoutmanualtable (Failed) > 107 - test_core_layoutpicture (Failed) > 111 - test_core_layouttable (Failed) > 219 - test_core_openclutils (Subprocess aborted) > 220 - test_core_coordinatereferencesystem (Failed) > 268 - test_gui_scalecombobox (Failed) > 270 - test_gui_rangewidgetwrapper (Failed) > 275 - test_gui_filedownloader (Subprocess aborted) > 293 - test_gui_queryresultwidget (Subprocess aborted) > 297 - test_3d_3drendering (Failed) > 307 - test_analysis_processingalgspt2 (Failed) > 310 - test_analysis_rastercalculator (Failed) > 323 - test_provider_wcsprovider (Failed) > 339 - test_app_advanceddigitizing (Failed) > 341 - test_app_applocatorfilters (Failed) > 395 - PyQgsAnnotation (Failed) > 427 - PyQgsColorRampLegendNode (Failed) > 453 - PyQgsDistanceArea (Failed) > 466 - PyQgsExternalStorageWebDAV (Failed) > 503 - PyQgsGraduatedSymbolRenderer (Failed) > 530 - PyQgsLayoutExporter (Failed) > 594 - PyQgsMetadataUtils (Failed) > 606 - PyQgsNumericFormat (Failed) > 612 - PyQgsOgcUtils (Failed) > 625 - PyQgsPlot (Failed) > 664 - PyQgsProviderSublayerModel (Failed) > 700 - PyQgsScaleWidget (Failed) > 709 - PyQgsTextRenderer (Failed) > 757 - PyQgsVectorLayerCache (Failed) > 774 - PyQgsWFSProviderGUI (Failed) > 794 - PyQgsSelectiveMasking (Failed) > 801 - PyQgsPalLabelingServer (Failed) > 812 - PyQgsServerWMSGetMap (Failed) > 817 - PyQgsServerWMSGetLegendGraphic (Failed) > 826 - PyQgsServerSecurity (Timeout) > 845 - PyQgsServerConfigCache (Timeout) > What should I do for not having tests that failed ? > Also is it possible to run a single test ? > Thanks a lot for your time & held. > Marc > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > -- -- Tim Sutton Visit http://kartoza.com to find out about open source: * Desktop GIS programming services * Geospatial web development * GIS Training * Consulting Services Tim is a member of the QGIS Project Steering Committee --- ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer