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. SSL cannot be requested after release
Forum Updated to NodeBB v4.3 + New Features

SSL cannot be requested after release

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 495 Views 3 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.
  • D Offline
    D Offline
    duncan98
    wrote on last edited by
    #1

    Why can a program request SSL during development, but not after release, and output QSslSocket::supportsSsl(), which is false

    JKSHJ 1 Reply Last reply
    1
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Most likely your release build does not link to OpenSSL.

      (Z(:^

      D 1 Reply Last reply
      0
      • sierdzioS sierdzio

        Most likely your release build does not link to OpenSSL.

        D Offline
        D Offline
        duncan98
        wrote on last edited by
        #3

        hi @sierdzio
        Does using windeployqt to release not automatically associate openssl?

        sierdzioS Pablo J. RoginaP 2 Replies Last reply
        1
        • D duncan98

          hi @sierdzio
          Does using windeployqt to release not automatically associate openssl?

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @duncan98 said in SSL cannot be requested after release:

          hi @sierdzio
          Does using windeployqt to release not automatically associate openssl?

          I don't know but I doubt it. External dependencies are usually not included by deployment tools.

          (Z(:^

          1 Reply Last reply
          0
          • D duncan98

            hi @sierdzio
            Does using windeployqt to release not automatically associate openssl?

            Pablo J. RoginaP Offline
            Pablo J. RoginaP Offline
            Pablo J. Rogina
            wrote on last edited by
            #5

            @duncan98 please show your .pro file

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            D 1 Reply Last reply
            0
            • Pablo J. RoginaP Pablo J. Rogina

              @duncan98 please show your .pro file

              D Offline
              D Offline
              duncan98
              wrote on last edited by duncan98
              #6

              hi @Pablo-J-Rogina
              The contents are as follows::

              CONFIG += c++11
              QT += core gui sql charts network printsupport
              
              greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
              
              TARGET = myapp
              TEMPLATE = app
              
              SOURCES += main.cpp\
                  .......
              
              HEADERS  += \
                  .......
              
              FORMS    += \
                  .......
              
              DISTFILES += \
              	......
              
              RESOURCES += \
                  ......
              
              1 Reply Last reply
              1
              • D duncan98

                Why can a program request SSL during development, but not after release, and output QSslSocket::supportsSsl(), which is false

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

                @duncan98 said in SSL cannot be requested after release:

                Why can a program request SSL during development, but not after release, and output QSslSocket::supportsSsl(), which is false

                Deploy the OpenSSL DLLs with your application (the current version is libcrypto-1_1.dll and libssl-1_1.dll).

                Make sure you are aware of the legislation of your country and the countries of your users. See, e.g.

                • https://en.wikipedia.org/wiki/Restrictions_on_the_import_of_cryptography
                • https://en.wikipedia.org/wiki/Export_of_cryptography_from_the_United_States

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

                1 Reply Last reply
                2

                • Login

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