see below – I just realized that openssl-1.1.1 is present in centOS7:
openssl version
OpenSSL 1.1.1o 3 May 2022 (Library: OpenSSL 1.1.1k FIPS 25 Mar 2021)
OpenSSL 1.1.1o 3 May 2022 (Library: OpenSSL 1.1.1k FIPS 25 Mar 2021)
As suggested I edited the PKG_CONFIG_PATH -->
echo $PKG_CONFIG_PATH
/usr/local/ssl/
/usr/local/ssl/
Now I, however, unsuccessfully tried three configure options:
1.) Configuring Qt without additional parameters tells me:
Qt Network:
OpenSSL ................................ no
Qt directly linked to OpenSSL .... no
OpenSSL 1.1 ........................... no
OpenSSL ................................ no
Qt directly linked to OpenSSL .... no
OpenSSL 1.1 ........................... no
and in turn does not include openssl into the build
2.) ./configure -ssl
does the same mentioned in 1.) plus
ERROR: Feature 'ssl' was enabled, but the pre-condition 'config.winrt || features.securetransport || features.openssl || features.schannel' failed.
3.) ./configure -ssl -openssl-linked
does the same mentioned in 1.) plus
ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && !features.schannel && libs.openssl' failed.
ERROR: Feature 'ssl' was enabled, but the pre-condition 'config.winrt || features.securetransport || features.openssl || features.schannel' failed.
Any more hints towards final success :-) ?
Thank you
Alex
--
http://www.carot.de
Email : alexan...@carot.de
Tel.: +49 (0)177 5719797
http://www.carot.de
Email : alexan...@carot.de
Tel.: +49 (0)177 5719797
Gesendet: Sonntag, 19. Juni 2022 um 23:29 Uhr
Von: "Chris Benesch" <ch...@beneschtech.com>
An: "Thiago Macieira" <thiago.macie...@intel.com>
Cc: "interest" <interest@qt-project.org>
Betreff: Re: [Interest] Qt5.15 from source on centOS 7
Von: "Chris Benesch" <ch...@beneschtech.com>
An: "Thiago Macieira" <thiago.macie...@intel.com>
Cc: "interest" <interest@qt-project.org>
Betreff: Re: [Interest] Qt5.15 from source on centOS 7
Build OpenSSL 3 and add its install directory lib/pkgconfig to PKG_CONFIG_PATH and choose -openssl-linked as one of the config parameters. If you can get through configure, it should build.
On Sun, Jun 19, 2022 at 10:03 AM Thiago Macieira <thiago.macie...@intel.com> wrote:
On Sunday, 19 June 2022 03:51:43 PDT Alexander Carôt wrote:
> Succes !! Thanks so much for this hint of using the Developer Toolset !
> Qt5.15 is compiled and installed just fine but now a new issue arises which
> might have a different cause but I am embedding it into this thread
> anyways: My app contains a secure websocket and anything related to ssl is
> not available obviously:
Please paste English messages.
> echoserver.cpp: In Konstruktor »EchoServer::EchoServer(quint16, bool,
> QObject*)«: echoserver.cpp:18:63: Fehler: »SecureMode« ist kein Element von
> »QWebSocketServer« QWebSocketServer::SecureMode, this)), ^~~~~~~~~~
> echoserver.cpp:27:23: Fehler: Aggregat »QSslConfiguration sslConfiguration«
> hat unvollständigen Typ und kann nicht definiert werden QSslConfiguration
> sslConfiguration;
> ^~~~~~~~~~~~~~~~
I'm going to guess that this means the type QSslConfiguration is unknown.
You need OpenSSL 1.1 to enable SSL support in QtNetwork 5.15.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Cloud Software Architect - Intel DCAI Cloud Engineering
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
--
Chris Benesch
BeneschTech, LLC_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest