Results 1 to 3 of 3

Thread: QtWebView posts form in Linux but not in Windows

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2012
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QtWebView posts form in Linux but not in Windows

    I have a Qt application that I develop in Linux (Ubuntu), using Qt Creator, and then rebuild under Windows. It uses QtWebView.

    I use QtWebView to display a site (one of mine) that has dynamically-generated links that post a form to Paypal. The HTML is essentially
    Qt Code:
    1. <a href="javascript: document.form.submit()">...</a>
    To copy to clipboard, switch view to plain text mode 
    When I compile and run this under Linux, display the page and click the links, it posts the form correctly to Paypal, which responds as it should.

    However, when I rebuild the project for Windows (transferring the source as is, with a few very minor GUI differences), run it, and click the links nothing happens.

    Thinking the problem may have been that the version of Qt Creator on Linux was later than the version on Windows I installed an up-to-date version (SDK version 4.8.1) on Windows but this has made no difference.

    Other information

    • I'm using mingw.
    • The Paypal site uses SSL, of course, but as far as I can tell SSL is compiled into both the Linux and Windows versions.
    • Neither the Linux version nor the Windows version allows a direct link outside the original site (<a href="http://...">...</a> or <a href="https://...">...</a>).


    Does anyone have any suggestions?

    Thanks!
    Last edited by Exeunt Omnes; 14th September 2012 at 21:33.

Similar Threads

  1. Replies: 5
    Last Post: 13th December 2011, 13:43
  2. QtWebView
    By santhoshpatil in forum Qt Programming
    Replies: 4
    Last Post: 23rd September 2010, 07:08
  3. Video in QtWebView
    By iUser59 in forum Qt Programming
    Replies: 0
    Last Post: 9th June 2009, 15:03
  4. Replies: 3
    Last Post: 15th November 2007, 13:09

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
  •  
Qt is a trademark of The Qt Company.