Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How do I use HTTPS to load images?
Forum Updated to NodeBB v4.3 + New Features

How do I use HTTPS to load images?

Scheduled Pinned Locked Moved Unsolved Qt for Python
6 Posts 3 Posters 678 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.
  • T Offline
    T Offline
    TheWhaler
    wrote on last edited by
    #1

    I'm currently using the latest version of QT Creator and I'm unable to load any images using a URL.

    Image {
            id: image
            width: 250
            height: 150
            source: "https://vignette1.wikia.nocookie.net/youtubepoop/images/f/f7/5Pikachu.png/revision/latest?cb=20141108062013"
            fillMode: Image.PreserveAspectFit
        }
    
    raven-worxR 1 Reply Last reply
    0
    • T TheWhaler

      I'm currently using the latest version of QT Creator and I'm unable to load any images using a URL.

      Image {
              id: image
              width: 250
              height: 150
              source: "https://vignette1.wikia.nocookie.net/youtubepoop/images/f/f7/5Pikachu.png/revision/latest?cb=20141108062013"
              fillMode: Image.PreserveAspectFit
          }
      
      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @TheWhaler
      your application must be able to find the OpenSSL libs.
      What Qt version and platform?

      But anyway this has been handled multiple times here in the forum.

      --- 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
      • T Offline
        T Offline
        TheWhaler
        wrote on last edited by
        #3

        Qt Creator 4.14.2
        Qt 5.15.2
        and using Python to develop

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

          Hi,

          The Qt Creator version has no role with regards to the version of Qt you are using.

          Since you say you are using Python:

          • which version of PySide or PyQt ?
          • how did you installed it ?
          • which OS are you using ?
          • as @raven-worx already asked, do you have OpenSSL installed ?

          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
          • T Offline
            T Offline
            TheWhaler
            wrote on last edited by
            #5

            I managed to fix it and thank you so much for your help

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

              What did you do ?

              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