Qt stream control transmission protocol (sctp)

2019-07-18 08:51发布

问题:

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.



标签: qt qt5.10