Qt for Log In Application
-
wrote on 16 Mar 2011, 10:59 last edited by
Hey folks,
I am using Qt 4.7, I am working on simple application of Log In to gmail , I have created page for log in, but I am unable to link the Sign up button to the desired script.
Actually the script contains curl commands, which I just want to execute when the Sign up button is clicked.I am using ubuntu 10.04.
Please help me out. I am novice.
Thanks in advance.
-
wrote on 16 Mar 2011, 11:09 last edited by
Log in to what? We need more information to provide you with any help.
-
wrote on 16 Mar 2011, 14:37 last edited by
Hi, ZapB, if I read what this guys wrote, is possible he want to login on the mail server. Google mail, it's true ?
-
wrote on 16 Mar 2011, 14:40 last edited by
swapnil,
You mention gmail and curl. How are you using curl? Do you use libcurl, or do you want to use the command line version? In the latter case, have you looked into QProcess?
-
wrote on 16 Mar 2011, 15:12 last edited by
Gees, I should stop answering today. No good at reading when I have man-flu ;-) Anyway, as Andre says you can either use QProcess with the cli curl or call libcurl functions form within your Qt app or just use QNetworkAccessManager.
-
wrote on 16 Mar 2011, 15:15 last edited by
ZapB, stay in bed, and take care of you, you are prcious ! :-)
-
wrote on 16 Mar 2011, 15:40 last edited by
libcurl is easy to use. Messing around with a script that uses curl is in many cases not worth it. A monolithic application using libcurl is much easier to deploy and does not have the inter process communication overhead.
-
wrote on 17 Mar 2011, 06:35 last edited by
Hey,
Thanks for your reply.
I am simultaneously working on curl development. I just have one simple curl command which displays the unread mails from my inbox.
So I run that command on clicking Sign Up button of my application.Can you please suggest me the how to log in to gmail or twitter using libcurl script ?
Thanks in advance.
-
wrote on 17 Mar 2011, 06:47 last edited by
Start with commenting on the actual contents of the suggestions...
-
wrote on 17 Mar 2011, 12:03 last edited by
[quote author="swapnil" date="1300343722"]
Can you please suggest me the how to log in to gmail or twitter using libcurl script ?
[/quote]Use QProcess for calling the curl command line tool - as already suggested - and ask for the rest in the curl communication channels, this is not Qt related at all.
2/10