CryptoPP in Qt Creator
-
-
Hi,
For the building part, you should contact the authors. Note that MinGW is not listed under the supported compilers list.
As for Qt, you can use the same technique as any other library you want to integrate to your project.
Qt Creator provides a dialog to help you with that.
-
Thanks, didn't realize it wasn't supported. I've compiled with MSVS 2018 and setup my .pro file as follows:
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Downloads/cryptopp-master/cryptopp-master/x64/Output/release/ -lcryptlib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Downloads/cryptopp-master/cryptopp-master/x64/Output/debug/ -lcryptlibINCLUDEPATH += $$PWD/../../Downloads/cryptopp-master/cryptopp-master
DEPENDPATH += $$PWD/../../Downloads/cryptopp-master/cryptopp-masterHowever, when I run in Qt Creator, I get "mismatch detected for 'RuntimeLibrary'" errors. Do you know what's causing this?
-
Does it link against the static runtime ?
Visual Studio 2018 ? AFAIK there's only 2017 and 2019. -
Was it MT before ?
If so, you can't mix libraries built with the static and dynamic runtime.