Qt stream control transmission protocol (sctp)

坚强是说给别人听的谎言 提交于 2019-12-11 02:23:48

问题


I am attempting to run the qt examples multistreamserver & multistreamclient, which rely on the QSctpServer & QSctpSocket.

I receive errors "QSctpSosket does not name a type" and "invalid use of incomplete type 'class QSctpServer'"

What is going on?

Running Ubuntu 16.04, Qt 5.10.1


回答1:


SCTP functionality does not exist in windows... so by default sctp is disabled.

You must configure qt with the -sctp flag and the -static commands, make sure to link any libraries you need as well.



来源:https://stackoverflow.com/questions/49503376/qt-stream-control-transmission-protocol-sctp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!