首页 > 代码库 > Qt64位编译时,public: void __cdecl QEventDispatcherWin32Private::doWsaAsyncSelect(int).

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

错误提示:error LNK2019: unresolved external symbol WSAAsyncSelect referenced in function "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).