Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build Qt 5.2.1 with Openssl using Visual C++ 2013
Forum Update on Monday, May 27th 2025

Build Qt 5.2.1 with Openssl using Visual C++ 2013

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.2k Views
  • 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.
  • R Offline
    R Offline
    robinrowe
    wrote on last edited by
    #1

    Sorry I posted this before in the wrong place on another thread.

    The issue is I want to build Qt with Openssl on the latest version of Visual C++. I can build Qt without Openssl, but get an error trying to build it with.

    I configured openssl like this:

    perl Configure VC-WIN32 —prefix=c:\Qt\openssl-1.0.1f\openssl-1.0.1f\release

    Qt5 like this, tried both with and without -c++11:

    configure.exe -platform win32-msvc2012 -c++11 -opensource -openssl -I C:\qt\openssl-1.0.1f\openssl-1.0.1f\include

    The error message points to this line of code:

    SSL* createSsl();

    I can’t see anything wrong with it. Error message below.

    Ideas?

    Robin

    qhttpthreaddelegate.cpp
    C:\qt\openssl-1.0.1f\openssl-1.0.1f\include\openssl/ssl.h(1) : error C2059: synt
    ax error : ‘.’
    c:\qt\qt-everywhere-opensource-src-5.2.1\qt-everywhere-opensource-src-5.2.1\qtba
    se\include\qtnetwork\5.2.1\qtnetwork\private../../../../../src/network/ssl/qssl
    context_p.h(69) : error C2143: syntax error : missing ‘;’ before ‘*’
    c:\qt\qt-everywhere-opensource-src-5.2.1\qt-everywhere-opensource-src-5.2.1\qtba
    se\include\qtnetwork\5.2.1\qtnetwork\private../../../../../src/network/ssl/qssl
    context_p.h(69) : error C4430: missing type specifier – int assumed. Note: C++ d
    oes not support default-int
    c:\qt\qt-everywhere-opensource-src-5.2.1\qt-everywhere-opensource-src-5.2.1\qtba
    se\include\qtnetwork\5.2.1\qtnetwork\private../../../../../src/network/ssl/qssl
    context_p.h(69) : warning C4183: ‘createSsl’: missing return type; assumed to be a member function returning ‘int’
    c:\qt\qt-everywhere-opensource-src-5.2.1\qt-everywhere-opensource-src-5.2.1\qtba
    se\include\qtnetwork\5.2.1\qtnetwork\private../../../../../src/network/ssl/qssl
    context_p.h(70) : error C2061: syntax error : identifier ‘SSL’

    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