Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] How to download txt file from GitHub ?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] How to download txt file from GitHub ?

Scheduled Pinned Locked Moved General and Desktop
network
3 Posts 2 Posters 3.5k Views 2 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.
  • cfdevC Offline
    cfdevC Offline
    cfdev
    wrote on last edited by cfdev
    #1

    Hi,

    I have a class to download a txt file from webserver with QNetworkAccessManager (it works),
    But when I try to download a file from GitHub !? I have a SSL error.

    Qt 4.8.6 - MS windows 7 64bits

    See the output of my application:

    Update::checkVersion -> url = "https://raw.githubusercontent.com/cfdev/mcercle/master/version.txt"
    QSslSocket: cannot call unresolved function SSLv23_client_method
    QSslSocket: cannot call unresolved function SSL_CTX_new
    QSslSocket: cannot call unresolved function SSL_library_init
    QSslSocket: cannot call unresolved function ERR_get_error
    Update::replyFinished -> ERROR!
    "Erreur lors de la création du contexte SSL ()"

    How to download a file from GitHub with Qt ?
    Thanks

    JKSHJ 1 Reply Last reply
    0
    • cfdevC cfdev

      Hi,

      I have a class to download a txt file from webserver with QNetworkAccessManager (it works),
      But when I try to download a file from GitHub !? I have a SSL error.

      Qt 4.8.6 - MS windows 7 64bits

      See the output of my application:

      Update::checkVersion -> url = "https://raw.githubusercontent.com/cfdev/mcercle/master/version.txt"
      QSslSocket: cannot call unresolved function SSLv23_client_method
      QSslSocket: cannot call unresolved function SSL_CTX_new
      QSslSocket: cannot call unresolved function SSL_library_init
      QSslSocket: cannot call unresolved function ERR_get_error
      Update::replyFinished -> ERROR!
      "Erreur lors de la création du contexte SSL ()"

      How to download a file from GitHub with Qt ?
      Thanks

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi @cfdev, and welcome to the Qt Dev Net!

      I have a SSL error.

      You need to install OpenSSL and put it in your PATH.

      https://slproweb.com/products/Win32OpenSSL.html

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • cfdevC Offline
        cfdevC Offline
        cfdev
        wrote on last edited by
        #3

        Yeah many thanks JKSH it works!
        Just libeay32.dll and ssleay32.dll are needed.

        Bye

        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