Keep getting Protocol "https" is unknown



  • Hi I am trying to compile a program I made statically and keep getting the error Protocol "https" is unknown when running an update database function that uses https in the address that the update function uses. I looked all over the net trying to find a solution but couldn't. Here's what I've done so far:

    1. edited the powershell script here to include the parameter -openssl-linked for configure.bat instead of -no-openssl
        & $env:SystemRoot\System32\cmd.exe /c "configure.bat -static -debug-and-release -platform win32-g++ -prefix $QtDir `
            -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sql-sqlite -openssl-linked `
            -opensource -confirm-license `
            -make libs -nomake tools -nomake examples -nomake tests"
    
    1. verified config.summary to contain the following:
    SSL support.................linked
    OpenSSL support.............linked
    
    1. put libeay32.dll and libssl32.dll and ssleay32.dll in my release directory for the program with the executable already in the directory
    2. put the following the qt project file:
    INCLUDEPATH += "C:\OpenSSL-Win32\include"
    
    LIBS += -LC:\OpenSSL-Win32\lib -llibeay32 -lssleay32
    

    Any ideas? Thanks!



  • also for #1 afterwards I recompiled qt statically using the powershell script then did #2


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.