@JonB said in select fields with a lot of data:
This really should not be the case, given that QtWebEngine is just using the chromium engine. Nor should how you compile be relevant if you are just presenting QtWebEngine with some fixed HTML. So do you have more than that going on? Are you counting your code time to generate the list of the selects? Can you show a minimal example of your issue?
In my project I first create the complete html page and then I associate it with the WebEngine dynamically. The fields, in this case, are three select a bit long .. same this:
var urlEngineFormPgm = splitViewComponent.txtCurrentPath + "/html/" + namefilehtml;
var objRectPgmCreate = componentQmlRectPgm.createObject(objMainWindow,
{"xProgram": positionX,
"objectNameProgram": objName,
"textProgram": "Loading. . . .",
"visibleProgram": true,
"urlPgm": urlEngineFormPgm,
. . . .
where urlPgm is alia og WebEngine property URL
I have never calculated the execution time but I notice big differences between debug and release but also in release if I have a computer with few resources everything becomes slow .. The same page opened with crhome behaves in a normal way without being slow.
P.S. Is slow when I touch fields Select for open list of combobox NOT when load QML whith WebEngine