SSL problems on OS X and how to solve them?



  • 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.


  • Lifetime Qt Champion

    Hi,

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.