Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

Example Simpleselector not working



  • Hi there,

    I'm new to Qt. I got the Qt Creator, Qt 5.5 and MinGW as compiler.

    When trying the example "simpleselector" i got the following problem.

    Using the example as is in debug mode, the application won't work and it shows:

    QNetworkReplyImpl::_q_startOperation was called more than once
    qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
    

    I copied the DLLs libeay32.dll and ssleay32.dll from C:\Qt\Tools\QtCreator\bin into the debug-folder of the example. The application started, but windows told me after a few seconds it was not responding.

    I tried the same using the profile Release and it worked like charm.

    Then I tried a website, which doesn't use SSL in Debug-Mode and it worked also.

    Does anyone now, if there are special configurations necessary or if there is a bug in the example.

    Thanks for your help.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Don't copy these DLLs, unless it has changed over time, Qt Creator is build with MSVC and you have a MinGW Qt build. You should rather get the official OpenSSL package and install that one to use with your application.