hi, i have created qt database ...the driver is sqlite....i have maintain 100 students datas, whenever i retrieve this database the opening time going very slow ...what can i do
hi, i have created qt database ...the driver is sqlite....i have maintain 100 students datas, whenever i retrieve this database the opening time going very slow ...what can i do
Work out where it is slow and fix it. We cannot see your code, your environment, your data... what do you expect us to do about it?
thank you for your reply....
i found my problem....the problem is i have maintain my database in c++....i retrieve and viewing data from c++ to qml(screen) through QQuickView setcontextproperty ....so i retrieve as function through listview ....so this listview have for loop ......for i have maintain 100 students detais ...so this for loop running more time so only it is slow....please provide sollutions
Last edited by ganeshgladish; 22nd June 2013 at 14:52.
I am afraid I don't understand: the listview has a loop?
Have you tried exporting your data through a model? Maybe using one of Qt's SQL models or QStandardItem model?
Cheers,
_
Bookmarks