Created
March 28, 2012 10:27
-
-
Save ynonp/2225265 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QSslCertificate::~QSslCertificate(void)" (__imp_??1QSslCertificate@@QAE@XZ) referenced in function "public: void * __thiscall QSslCertificate::`scalar deleting destructor'(unsigned int)" (??_GQSslCertificate@@QAEPAXI@Z) | |
main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl QSslSocket::setDefaultCaCertificates(class QList<class QSslCertificate> const &)" (__imp_?setDefaultCaCertificates@QSslSocket@@SAXABV?$QList@VQSslCertificate@@@@@Z) referenced in function _main | |
main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class QList<class QSslCertificate> __cdecl QSslCertificate::fromPath(class QString const &,enum QSsl::EncodingFormat,enum QRegExp::PatternSyntax)" (__imp_?fromPath@QSslCertificate@@SA?AV?$QList@VQSslCertificate@@@@ABVQString@@W4EncodingFormat@QSsl@@W4PatternSyntax@QRegExp@@@Z) referenced in function _main | |
remotewls.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QDebug __cdecl operator<<(class QDebug,class QSslError const &)" (__imp_??6@YA?AVQDebug@@V0@ABVQSslError@@@Z) referenced in function "class QDebug __cdecl operator<<<class QSslError>(class QDebug,class QList<class QSslError> const &)" (??$?6VQSslError@@@@YA?AVQDebug@@V0@ABV?$QList@VQSslError@@@@@Z) | |
E:\p4client_w7\ProAudio\dev_wls_9\ProAudio\XPlatform\..\VisualStudioBuildProducts\wlc\Win32\Release\Products\wlc.exe : fatal error LNK1120: 4 unresolved externals |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( QFile::exists(capath) ) | |
{ | |
QList<QSslCertificate> cacerts = QSslCertificate::fromPath(capath); | |
QSslSocket::setDefaultCaCertificates(cacerts); | |
QLOG_INFO() << "[Main] Using certs bundle"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment