Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QWebsocket Server error in QT 5.15
Forum Updated to NodeBB v4.3 + New Features

QWebsocket Server error in QT 5.15

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 318 Views 1 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.
  • KutyusK Offline
    KutyusK Offline
    Kutyus
    wrote on last edited by
    #1

    Hi!
    I upgraded from 5.13.2 to 5.15.0 and when compiling qwebsocketserver the following errors occur:

    wscom.cpp:30:40: error: ‘SecureMode’ is not a member of ‘QWebSocketServer’
      wssrv = new QWebSocketServer("alice", QWebSocketServer::SecureMode, this);
                                            ^~~~~~~~~~~~~~~~
    wscom.cpp:32:20: error: aggregate ‘QSslConfiguration sslConfig’ has incomplete type and cannot be defined
      QSslConfiguration sslConfig;
                        ^~~~~~~~~
    wscom.cpp:38:19: error: variable ‘QSslKey sslKey’ has initializer but incomplete type
         QSslKey sslKey(&keyFile, QSsl::Rsa, QSsl::Pem);
                       ^
    wscom.cpp:41:33: error: ‘QSslSocket’ has not been declared
         sslConfig.setPeerVerifyMode(QSslSocket::VerifyNone);
                                     ^~~~~~~~~~
    wscom.cpp:46:9: error: ‘class QWebSocketServer’ has no member named ‘setSslConfiguration’
      wssrv->setSslConfiguration(sslConfig);
             ^~~~~~~~~~~~~~~~~~~
    

    I compile on Raspberry PI, Debian Linux. Any ideas?
    Thanks in advance!

    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