Results 1 to 2 of 2

Thread: Need Webkit example connecting to secure Paypal addres 4.8 ubuntu

  1. #1
    Join Date
    Nov 2008
    Posts
    183
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Need Webkit example connecting to secure Paypal addres 4.8 ubuntu

    All,

    I'm looking for an actual functioning snippet, not something that "might" or "should" work, but something which does work connecting to a Paypal https url. What I can find on-line doesn't show the complete configuration at one time. It's a snippet here a snippet there, but none of it is hooked together so you cannot trust it. I'm setting something up wrong because the url I have works perfectly in Mozilla and loads 100% then fails in QWebView.

    Thanks in advance.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Need Webkit example connecting to secure Paypal addres 4.8 ubuntu

    Here:
    Qt Code:
    1. #include <QApplication>
    2. #include <QWebView>
    3.  
    4. int main(int argc, char **argv)
    5. {
    6. QApplication app(argc, argv);
    7.  
    8. QWebView w;
    9. w.setUrl(QUrl("https://www.paypal.com"));
    10. w.show();
    11.  
    12. return app.exec();
    13. }
    To copy to clipboard, switch view to plain text mode 
    Works fine on my machine: Linux/Qt 4.8.2 and Windows/Qt SDK/Qt 4.8.0 with OpenSSL libraries available.
    Clearly will not work if your Qt was not built with SSL support.

Similar Threads

  1. Implement a secure FTP client using Qt
    By yren in forum Qt Programming
    Replies: 3
    Last Post: 1st March 2012, 04:50
  2. Does WebKit have http connecting module?
    By huyanke in forum Newbie
    Replies: 2
    Last Post: 13th May 2011, 02:02
  3. How to secure a file by password
    By miraks in forum Qt Programming
    Replies: 8
    Last Post: 22nd March 2011, 19:34
  4. [Newbie QT Embedded] Build Webkit for Genetic Ubuntu Error ?
    By Thành Viên Mới in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 5th November 2010, 02:57
  5. Using TLS to secure an SMTP connection
    By Shadowfiend in forum Qt Programming
    Replies: 8
    Last Post: 29th January 2006, 00:57

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.