PDA

View Full Version : Does anyone have works with qoauth in windows?



MorrisLiang
8th May 2010, 07:28
I was trying to do something relative to OAuth,and found QOAuth.But I don't know how to setup..

I have build qt with OpenSSL
I have build QCA
I have build QCA plugin for openSSL(PS:I comment out all the lines contain "EVP_md2",they just kept throwing out errors while compiling.And I don't think that would be a serious problem if I don't use MD2)
Then I build the QOAuth(without the test thing,they throw errors too), So Now I got two dlls:qoauth1.dll and qoauthd1.dll
But I don't know what to do.
If I just copy these dlls to my project folder along with their headers.I can't compile my project.Because it can't find the decalation of QCA.

The author says that:

HOW TO USE:
Add these two lines to your project:
* in project file:
CONFIG += oauth
* in source code:
#include
You can start using QOAuth.
I want to do this in windows,too.Anybody knows how?

kypeli
11th December 2010, 11:02
I don't know about QOAuth, but maybe you can try kQOAuth on Windows. It's another, a bit different OAuth library for Qt. It does not have external dependencies to SSL so you might be luckier with that?

It does not, however, have installations preset for Windows platform so if you try it out and get it to work on Windows, contributions would be nice :)

Please check http://www.d-pointer.com/solutions/kqoauth/