Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved QNetworkAccessManager (HTTPS-Request)

    Qt for WebAssembly
    3
    4
    401
    Loading More Posts
    • 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.
    • David_001
      David_001 last edited by

      Hello all.

      I would like to make a web request with the QNetworkAccessManager on a web interface that only offers secure HTTP. I am aware that Qt 5.15 web assembly does not offer this, due to the missing SSL support.

      So now the question is. Can't this be done in QML by JavaScript and return me the JasonObject in the C++ code? I have already tested it. However, it doesn't seem to work here either. Am I right here or am I doing something wrong?

      1 Reply Last reply Reply Quote 0
      • lorn.potter
        lorn.potter last edited by

        Actually, it has built in https support, via wss://. Just specify the url as https:// as you would.

        You just cannot specify which cypher to use.

        Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
        Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

        1 Reply Last reply Reply Quote 2
        • David_001
          David_001 last edited by David_001

          Thanks, HTTPS interfaces can be used without any problems. Unfortunately, I had a thinking mistake here. Thanks Lorn

          1 Reply Last reply Reply Quote 0
          • M
            mmki30 Banned last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post