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:
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; ^~~~~~~~~~~~~~~~ echoserver.cpp:33:19: Fehler: Variable »QSslKey sslKey« hat Initialisierung, aber unvollständigen Typ QSslKey sslKey(&keyFile, QSsl::Rsa, QSsl::Pem); ^ echoserver.cpp:36:40: Fehler: »QSslSocket« wurde nicht deklariert sslConfiguration.setPeerVerifyMode(QSslSocket::VerifyNone); ^~~~~~~~~~ echoserver.cpp:40:25: Fehler: »class QWebSocketServer« hat kein Element namens »setSslConfiguration« m_pWebSocketServer->setSslConfiguration(sslConfiguration); ^~~~~~~~~~~~~~~~~~~ echoserver.cpp:52:56: Fehler: »sslErrors« ist kein Element von »QWebSocketServer« connect(m_pWebSocketServer, &QWebSocketServer::sslErrors, ^~~~~~~~~ echoserver.cpp: In Elementfunktion »void EchoServer::onNewConnection()«: echoserver.cpp:190:14: Fehler: »class QWebSocket« hat kein Element namens »ignoreSslErrors« pSocket->ignoreSslErrors(); I believe there is another module to be compiled, however, since I build everything I currently don't know how to proceed next. Thanks for helping me out also with this, best Alex -- http://www.carot.de Email : alexan...@carot.de Tel.: +49 (0)177 5719797 > Gesendet: Sonntag, 19. Juni 2022 um 09:49 Uhr > Von: "Alexander Carôt" <alexander_ca...@gmx.net> > An: "Mike Rochefort" <m...@michaelrochefort.com> > Cc: interest@qt-project.org > Betreff: Re: [Interest] Qt5.15 from source on centOS 7 > > Hej Mike and Simon, > > allright – although I successfully (conventionally) installed a more recent > gcc on my centOS 7 I ran into further trouble with the actual Qt5.15 > compilation. Now I brought all back to centOS defaults including gcc4.8 and > Qt5.9. > > As suggested by you I will now give it a try with the Developer Toolset and > get back later. > > Thanks and best > > Alex > > -- > http://www.carot.de > Email : alexan...@carot.de > Tel.: +49 (0)177 5719797 > > > > Gesendet: Sonntag, 19. Juni 2022 um 01:06 Uhr > > Von: "Mike Rochefort" <m...@michaelrochefort.com> > > An: interest@qt-project.org > > Betreff: Re: [Interest] Qt5.15 from source on centOS 7 > > > > Alex, I'm going to echo Simon's suggestion from earlier. The Developer > > Toolsets are designed and provided for the purpose of enabling the use > > of newer toolchains on RHEL-compatible platforms. Compiled objects still > > dynamically link against the system libraries and will statically link > > in the pieces from the toolset that they need for portability. > > > > To access DTS on CentOS 7: > > $ yum install centos-release-scl-rh > > $ yum install devtoolset-<version> > > > > To use a DTS: > > # Run a specific command from the toolset > > $ scl enable devtoolset-11 'g++ --version' > > > > # Run an interactive sub-shell inside the DTS environment > > $ scl enable devtoolset-11 $SHELL > > $ g++ --version > > > > DTS 7 through DTS 11 (e.g. GCC 7 through 11) are currently available on > > the mirrors; I would recommend going as current as you can. > > > > Cheers, > > Mike > > _______________________________________________ > > Interest mailing list > > Interest@qt-project.org > > https://lists.qt-project.org/listinfo/interest > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest