Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt 5.14 的例程 multistreamclient 编译失败请大侠指点



  • pro 中增加了(network)
    QT += network widgets

    也包含了文件 :#include <QSctpSocket>
    错误: D:\Qt\Qt5.14.2\Examples\Qt-5.14.2\network....\network\multistreamclient\client.h:86: error: 'QSctpSocket' does not name a type
    QSctpSocket *sctpSocket;
    ^~~~~~~~~~~

    请指点 ,谢谢

    alt text


Log in to reply