Important: Please read the Qt Code of Conduct -

[SOLVED]QtWebkit: facebook authentification

  • Hi,

    I am developing a Qt(4.7.1) application with a webkit object.
    My problem is that I can't connect to facebook with my QWebView. I can load facebook page but when I try to make an authentification the parameter of the signal @loadFinished(bool)@ is always false.

    Any idea to fix that ?

    Thanks (and excuse me for my bad english :S )

  • Some error message? Or a little bif of code?

  • Ok I found.

    In fact facebook uses https to make an authentification. I didn't link openSSL to my project.

  • Mark as [Solved] in topic title (go through edit [under your profile icon])

  • Hi, I have the same problem as you, please tell me how do you fixed it. thanks

  • Under OS X or most Linux distros you could use:

    #include </usr/include/openssl/name_of_header_file_you_want_to_include.h>

    you could also use the 2nd syntax but the module syntax above is better when bringing third party classes into your project

    #include "/usr/include/openssl/name_of_header_file_you_want_to_include.h"

    Ludovic Vignals

Log in to reply