Qt (Creator) with WinSocks (ws2_32)

后端 未结 4 1968
庸人自扰
庸人自扰 2020-12-11 17:29

I want to use an older code-fragment in my Qt-project, which is using WinSocks.
I created my program with Qt Creator and I don\'t know, how I can link to the ws2_32-Libr

4条回答
  •  [愿得一人]
    2020-12-11 17:52

    You need too to add the path to the headers in order to add the function's signatures of a dynamic library.

    Use the INCLUDEPATH variable into the .pro file.

提交回复
热议问题