Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
JSONLoader reading from PHP
renatobibiano last edited by
We have an application that reads JSON from an external file to fill a ListView. Our code is:
url: ... //FILE
channelList.model = data
To test, we put a JSON file directly in the URL attribute. It works!
But when I changed to a PHP call to my server (that returns an echoToJson) it gives me nothing. I think we need to decode this JSON string somehow, but I don't know how.
Can you help me?