Deepwidth
V2EX  ›  Qt

Qt 中的 winsock2.h 问题

  •  
  •   Deepwidth · Nov 14, 2018 · 8577 views
    This topic created in 2766 days ago, the information mentioned may be changed or developed.
    我用的是 Qt Creator 4.7.1, 我想把一个 C 语言 socket 程序移植到 Qt 中,结果头文件 winsock2.h 报错
    non-portable path to file '<winsock2.h>'

    https://i.loli.net/2018/11/14/5bec171f79efb.png

    请问我该怎么办啊?
    本人今天才接触 Qt
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1320 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 23:47 · PVG 07:47 · LAX 16:47 · JFK 19:47
    ♥ Do have faith in what you're doing.