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. ERROR: "Protocol "https" is unknown"(static)
Forum Updated to NodeBB v4.3 + New Features

ERROR: "Protocol "https" is unknown"(static)

Scheduled Pinned Locked Moved Solved General and Desktop
11 Posts 2 Posters 10.1k Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Did you check that OpenSSL was detected when building statically ?

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

      [quote author="SGaist" date="1419894880"]Hi,

      Did you check that OpenSSL was detected when building statically ?[/quote]

      Hi!!!

      How can I check it?
      There's no compile issues in compile output
      I'm still googling but I can't find solution

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

        There's no reason for the build to fail if you are letting Qt auto detect OpenSSL. If it can't find it then that part won't be compiled.

        Check configure's summary before starting to build Qt

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

          [quote author="SGaist" date="1419895586"]There's no reason for the build to fail if you are letting Qt auto detect OpenSSL. If it can't find it then that part won't be compiled.

          Check configure's summary before starting to build Qt[/quote]

          oh I found

          bq. Glib support................no
          CUPS support................no
          OpenVG support..............no
          SSL support.................no
          OpenSSL support.............no
          Qt D-Bus support............no

          this in "config.summary" file.

          Is it the cause of problem?
          How can I fix it?

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

            Give configure the path to your OpenSSL headers folder as well as libraries folder

            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
            • E Offline
              E Offline
              Eleviesta
              wrote on last edited by
              #7

              [quote author="SGaist" date="1419896773"]Give configure the path to your OpenSSL headers folder as well as libraries folder[/quote]

              I had added
              "INCLUDEPATH += C:\OpenSSL-Win32\include" to .pro file
              and
              added 'C:\OpenSSL-Win32\bin' to PATH in build environment of static build before post this thread.

              I don't know what do I have to do next..
              Which header file of <openssl/?> do I have to include in source file?
              and which libs have to add to .pro file

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

                What pro file ? It's configure that needs to know these informations.
                bin contains dlls, on Windows you don't like to dlls but to lib files.

                @configure -I C:/OpenSSL-Win32/include -L C:/OpenSSL-Win32/lib@

                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
                • E Offline
                  E Offline
                  Eleviesta
                  wrote on last edited by
                  #9

                  [quote author="SGaist" date="1419898435"]What pro file ? It's configure that needs to know these informations.
                  bin contains dlls, on Windows you don't like to dlls but to lib files.

                  @configure -I C:/OpenSSL-Win32/include -L C:/OpenSSL-Win32/lib@[/quote]

                  Oh I miss understood.
                  I did "configure -platform win32-g++ -static -release -opensource -opengl desktop -I C:/OpenSSL-Win32/include -L C:/OpenSSL-Win32/lib"
                  and config.summary became
                  SSL support.................yes
                  OpenSSL support.............yes
                  now.
                  rebuilding..

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    Eleviesta
                    wrote on last edited by
                    #10

                    It works perfect now~ Thank you again!

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

                      You're welcome !

                      Happy coding ! :)

                      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
                      • P Pacheco referenced this topic on
                      • SGaistS SGaist marked this topic as a question on
                      • SGaistS SGaist has marked this topic as solved on

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved