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. qt.network.ssl QSslSocket connectToHostEncrypted: TLS initialization failed

qt.network.ssl QSslSocket connectToHostEncrypted: TLS initialization failed

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 506 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.
  • M Offline
    M Offline
    Madesh R
    wrote on last edited by
    #1

    Hi all,
    I'm trying to display maps using open street maps plugin . While running the code I get the following error.
    qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
    Below is the code snippet

    Plugin {
        id: mapPlugin
        name: "osm" //"Open street maps"
    }
    

    Map {
    id:map
    anchors.fill: parent
    plugin: mapPlugin
    center: QtPositioning.coordinate(latitudeValue,longitudeValue)
    zoomLevel: 15

            MapCircle {
                color: "blue"
                opacity: 0.2
                radius: 100 //100 m radius
            }
        }
    

    }

    placing the above contents in some container(Rectangle).
    Only the map's footer is seen.Your quick suggestion would be a great help

    Thanks.

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

      Hi,

      What version of Qt are you using ?
      What version of OpenSSL are you using ?
      What OS are you running ?

      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