V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Deepwidth
V2EX  ›  Qt

Qt 中的 winsock2.h 问题

  •  
  •   Deepwidth · Nov 14, 2018 · 7723 views
    This topic created in 2731 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   ·   1153 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 23:08 · PVG 07:08 · LAX 16:08 · JFK 19:08
    ♥ Do have faith in what you're doing.