[EQL5] Making a model available for a ListView in QML

Erik Winkels aerique at xs4all.nl
Wed Dec 16 11:01:47 UTC 2020


On 2020-12-16 11:04, Erik Winkels wrote:
> 
> tl;dr:How can I use a list of strings defined in ECL as a ListView 
> model in QML in Qt 5.6?

So hopefully I just need to call the EQL5 version of `qmlRegisterType` 
as is done here: 
https://github.com/sailfishos/cppqml-sample/blob/master/src/cppqml.cpp

But I cannot find any examples of it, nor do I see it available in EQL5.



More information about the ecl-devel mailing list