Qt stream control transmission protocol (sctp)

2019-07-18 08:11发布

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

标签: qt qt5.10
1条回答
对你真心纯属浪费
2楼-- · 2019-07-18 09:02

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.

查看更多
登录 后发表回答