开发者

authenticate website in qt

开发者 https://www.devze.com 2022-12-21 00:42 出处:网络
how do i go about in authentication of a particular website say facebook on qt?please help.i am new to qt.

how do i go about in authentication of a particular website say facebook on qt?please help.i am new to qt.

say i want to use facebook in qt without using qt's webkit.i want to use the rest apis.the first step i want to do is to authenticate a valid user with a username and password.how do i link this username and password to be entered in qt to that of facebook. how do i start?开发者_运维百科


I have not tried it myself.

However the authentication you are talking about sounds like a html action, for that you are going to need to use the QtWebkit and the QWebPage, you can then issue JavaScript calls with the mainFrame()->evaluateJavaScript(); function.

0

精彩评论

暂无评论...
验证码 换一张
取 消