#4 open

Installation for Windows

Reported by ayoy | June 22nd, 2009 @ 06:51 PM

Provide means of installation of the library in Windows, update project files and documentation.

Comments and changes to this ticket

  • Gary.Wzl

    Gary.Wzl January 8th, 2010 @ 08:02 AM

    I complie the code with vs2008,But it didn't work.It show there messages:
    error LNK2019: unresolved external symbol class QByteArray __cdecl QOAuth::tokenSecretParameterName(void)...

    error LNK2019: unresolved external symbol class QByteArray __cdecl QOAuth::tokenParameterName(void)......

    error LNK2019: unresolved external symbol
    public: class QMultiMap __thiscall QOAuth::InterfacePrivate::replyToMap....

    ayoy,Can you know how to deal with this?
    reply to this

  • ayoy

    ayoy January 8th, 2010 @ 06:15 PM

    • State changed from “new” to “open”

    I can't say too much, as I don't even have a Windows machine to test it, not to mention VS2008 :/

    You can try including "qoauth_export.h" in qoauth_namespace.h and prepending those failing functions with QOAUTH_EXPORT, that's what comes to my mind first.

    If you have any luck with it, please report :) I really lack Windows support for QOAuth.

    Thanks a lot!

  • Gary.Wzl

    Gary.Wzl January 15th, 2010 @ 10:53 AM

    ayoy,I got it,
    just prepending those failing functions with QOAUTH_EXPORT.
    and I must mention that
    enum HttpMethod {

    DELETE //!< Sets the HTTP method to DELETE

    }; the enum type variable "DELETE" is defined as a Global enum type variable In vs2008,
    So ,all the variable must be named as another name.
    Hope your can understand My meaning,because of My poor English.
    Thank you for your kind reply。

  • ayoy

    ayoy January 17th, 2010 @ 03:15 PM

    Great, I'm glad that it works for you. I'll rename the DELETE enum variable. Thanks!

  • Gary.Wzl

    Gary.Wzl February 4th, 2010 @ 11:41 AM

    Today,I test Qoauth in My application and I think there wouble be something necessary for you to modify your code in Windows version .It' in a function named paramsToString()
    ............. .......... .......... case ParseForHeaderArguments:

    prependString = "OAuth realm=\"http://sp.example.com/\",";
    middleString = "=\"";
    endString = "\",";

    although the parameter 'realm' is selectable,once you forget to write realm parameter here ,there would be a message showed "Parameter not found: oauth_consumer_key"and you will get httpStatusCode(400 BadRequest).If you add realm parameter,It will be ok.

  • ayoy

    ayoy August 1st, 2010 @ 03:43 PM

    • Milestone order changed from “0” to “0”

    (from [f0cd3a8eaa8f5c33bdea259dc7dce54a7a37892a]) Remove DELETE from QOAuth::HttpMethod switch for Windows.

    ABI BREAK on Windows. [#4]

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

QOAuth is a Qt-based C++ library providing means for communicating with services supporting OAuth authorization scheme.

Shared Ticket Bins

People watching this ticket

Referenced by