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. Running the twitter timeline example
Qt 6.11 is out! See what's new in the release blog

Running the twitter timeline example

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 418 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.
  • A Offline
    A Offline
    Abdulmueez
    wrote on last edited by
    #1

    I am trying to learn how to network using QT, and I recently got stuck with one of their examples, "The twitter timeline example", it keeps on giving me this error,"qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
    qt.networkauth.replyhandler: TLS initialization failed)", after surfing the net, I found out that it is probably because I do not have openssl installed. Can someone please tell me what I am doing
    After following this example and several others, How to Include OpenSSL in a Qt project , the problem remains unchanged.
    this is my .pro file

    raven-worxR 1 Reply Last reply
    0
    • A Abdulmueez

      I am trying to learn how to network using QT, and I recently got stuck with one of their examples, "The twitter timeline example", it keeps on giving me this error,"qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
      qt.networkauth.replyhandler: TLS initialization failed)", after surfing the net, I found out that it is probably because I do not have openssl installed. Can someone please tell me what I am doing
      After following this example and several others, How to Include OpenSSL in a Qt project , the problem remains unchanged.
      this is my .pro file

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Abdulmueez said in Running the twitter timeline example:

      After following this example and several others, How to Include OpenSSL in a Qt project , the problem remains unchanged.

      because linking against OpenSSL isn't required.
      You need to make sure that it can be loaded during runtime. Either place it next to your executable or in a global search path (PATH env variable on Windows for example)

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Abdulmueez
        wrote on last edited by
        #3

        when you mean placing in my executable, you mean placing in the folder containing the .exe file right?

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

          Hi,

          Yes, that's that.

          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