How can we communicate with server in QML?
-
25-10-2019 - |
문제
I am developing a client-side application, and I want to communicate with a server. Which requests are there? Which one is the best way?
I am using Qt and I want solution for QML.
해결책
QML provides a partial implementation of XMLHttpRequest: http://doc.qt.nokia.com/4.7/qdeclarativeglobalobject.html
If this is not sufficient, you can write an extension to use Qt's C++ network classes instead.
제휴하지 않습니다 StackOverflow