Qt64位编译时,public: void __cdecl QEventDispatcherWin32Private::doWsaAsyncSelect(int).

错误提示:error LNK2019: unresolved external symbol WSAAsyncSelect referenced in function "public: void __cdecl QEventDispatcherWin32Private::doWsaAsyncSelect(int)" .

Qt64位编译时,public: void __cdecl QEventDispatcherWin32Private::doWsaAsyncSelect(int).


Solution:

add:

Imm32.lib;Winmm.lib;ws2_32.lib;
to:

Properties->Linker -> Input -> Additional Dependencies.

save.

Qt64位编译时,public: void __cdecl QEventDispatcherWin32Private::doWsaAsyncSelect(int).

上一篇:video标签播放视频不能拖动进度条


下一篇:10.1.2.1 C# 和 F# 中可重用的记忆化