Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Bizarre QWebView conection problem (Qt 4.8)
Forum Updated to NodeBB v4.3 + New Features

Bizarre QWebView conection problem (Qt 4.8)

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 2 Posters 779 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pt_develop
    wrote on last edited by
    #1

    I have a program that uses QWebView to display my website. I am building the code using Qt Creator. The program works just great in debug mode but hangs when trying to connect in release mode. When I try to connect to a website such paypal.com QWebView will connect in debug mode but not release mode. The bizarre thing is that I can connect to other websites such as google.com in both debug and release mode.

    I tried connecting using both

    ui->webView->load(myUrl);
    

    and

    ui->webView->page()->currentFrame()->setUrl(myUrl);
    

    and both exhibit this strange behavior. I'm using paypal.com as my test site so as to eliminate any errors in using my website.

    When running in debug mode the

    void	loadFinished ( bool ok )
    

    signal is emitted with ok equal to true but when running in release mode the signal is never emitted. In fact no signals are emitted in release mode.

    I'm at a loss on how to proceed. Anyone have any ideas. Right now this is a showstopper.

    raven-worxR 1 Reply Last reply
    0
    • P Pt_develop

      I have a program that uses QWebView to display my website. I am building the code using Qt Creator. The program works just great in debug mode but hangs when trying to connect in release mode. When I try to connect to a website such paypal.com QWebView will connect in debug mode but not release mode. The bizarre thing is that I can connect to other websites such as google.com in both debug and release mode.

      I tried connecting using both

      ui->webView->load(myUrl);
      

      and

      ui->webView->page()->currentFrame()->setUrl(myUrl);
      

      and both exhibit this strange behavior. I'm using paypal.com as my test site so as to eliminate any errors in using my website.

      When running in debug mode the

      void	loadFinished ( bool ok )
      

      signal is emitted with ok equal to true but when running in release mode the signal is never emitted. In fact no signals are emitted in release mode.

      I'm at a loss on how to proceed. Anyone have any ideas. Right now this is a showstopper.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Pt_develop
      are you using a custom QNetworkAccessManager?
      Do you have OpenSSL support for your Qt version? Because IIRC google automatically redirects to https for it's services.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved