Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. SSL problems on OS X and how to solve them?
Qt 6.11 is out! See what's new in the release blog

SSL problems on OS X and how to solve them?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 744 Views 1 Watching
  • 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.
  • Hans DijkemaH Offline
    Hans DijkemaH Offline
    Hans Dijkema
    wrote on last edited by Hans Dijkema
    #1

    I'm trying to ignore SSL problems on OSX with QtWebView. In my main.cpp I do:

        QApplication a(argc, argv); 
    
    #ifdef USE_WEBVIEW
        QtWebView::initialize();
    
        QQmlEngine qml_engine;
        // Fix SSL problems.
        zcCustomNetworkManagerFactory* myNetworkAccessManagerFactory = new zcCustomNetworkManagerFactory(NULL);
        qml_engine.setNetworkAccessManagerFactory(myNetworkAccessManagerFactory);
    #endif
    

    However, it does nothing. The custom class provides a create method as documented, but it is never called.
    How can I solve this? I don't want to fall back to resetting the scheme to http on OS X, while having https on Windows.

    Thanks in advance for answers.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you explain what exact problem you have ? With which version of Qt ? macOS ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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