Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

best way to delegate through sqlite data for qml list view

$
0
0
Hey, I am searching for a simple way to get data from sqlite and put it in my list view. solutions i found so far is to include a model from c++ or use javascript to get the data. when i use the javascript method i am not sure how i should create a model out of the data i get from sql to pass it to the listview. can anyone help me? is there maybe a better way to delegate through my data? all examples i saw so far only take one value from the database or make a string out of several databse items and then put it in as an text property. i have seen no example where many db entrys get inserted into qml.

Viewing all articles
Browse latest Browse all 4972

Trending Articles