error LNK2001: unresolved external symbol QtCored.lib using staic Qt lib

Have identified the missing “Additional Dependencies” as:

  • imm32.lib
  • winmm.lib
  • Ws2_32.lib

I had previously built the project using shared Qt libraries, and am a little surprised I needed to include these when I changed to using static Qt libraries, but hey ho, adding these dependencies works.

原文地址:https://www.cnblogs.com/smartvessel/p/2749198.html