Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Crypt32.dll Unresolved Symbol
I have a function that uses a function from wincrypt.h. But when I build my project I got the error 'unresolved external symbol...' I already tried to include the library with "win32:LIBS += -LC:/Windows/System32 -lcrypt32" but nothing works.
Can anybody help me?
I'm using Qt5.8.0 with MSVC 2015 32-Bit.
The wincrypt.h is in this folder: C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\um
VRonin last edited by
C:/Windows/System32 contains the DLL, not the lib, I think you need to have something like
win32:LIBS += -LC:/Program Files (x86)/Windows Kits/10/lib
thanks but when I set the path to the library, I have still the same error.
I used this: win32:LIBS += -L"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\um\x86" -lCrypt32
Can you check with
LIBS += -lcrypt32
Works in mingw but might be different with VS.
I tried it but it doesn't work...
Ok, was worth a shot. :)
Which symbol is missing exactly ?