msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.24k stars 1.21k forks source link

linker errors with cmake and qt-static build #5010

Open jagannatharjun opened 5 years ago

jagannatharjun commented 5 years ago

when compiling a cmake project using Modules `Quick Core Qml QuickWidgets, the static compile fails with the following linker errors

cmd.exe /C "cd . && E:\Cpp\msys2\mingw64\bin\g++.exe CMakeFiles/mainwindow.dir/main.cpp.obj CMakeFiles/mainwindow.dir/tinstallerinfo.cpp.obj CMakeFiles/mainwindow.dir/tinstallermanager.cpp.obj CMakeFiles/mainwindow.dir/TResources.cpp.obj CMakeFiles/mainwindow.dir/qrc_qml.cpp.obj CMakeFiles/mainwindow.dir/mainwindow_autogen/mocs_compilation.cpp.obj -o mainwindow.exe -Wl,--major-image-version,0,--minor-image-version,0 E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Quick.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Qml.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5QuickWidgets.a infoware/libinfoware.a -lstdc++fs E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Quick.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Qml.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Widgets.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a -static -lws2_32 -lgdi32 -lversion -lOle32 -lOleAut32 -lwbemuuid -ldxgi -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN14QThreadStorageIP20QPcreJitStackPointerE10deleteDataEPv[_ZN14QThreadStorageIP20QPcreJitStackPointerE10deleteDataEPv]+0x16): undefined reference to `pcre2_jit_stack_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtiiiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0x4a): undefined reference to `pcre2_match_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtiiiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0xba): undefined reference to `pcre2_jit_stack_create_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtiiiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0x123): undefined reference to `pcre2_match_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivateD2Ev+0xd): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate20cleanCompiledPatternEv+0xd): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0x1c): undefined reference to `pcre2_pattern_info_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0x2d): undefined reference to `pcre2_pattern_info_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0x52): undefined reference to `pcre2_pattern_info_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0x6e): undefined reference to `pcre2_config_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate15optimizePatternEv+0x2a): undefined reference to `pcre2_jit_compile_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14compilePatternEv+0x49): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14compilePatternEv+0x10f): undefined reference to `pcre2_compile_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate19captureIndexForNameE11QStringView+0x12): undefined reference to `pcre2_substring_number_from_name_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QRegularExpressionD2Ev+0x31): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QRegularExpressionaSERKS_+0x55): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QRegularExpression10setPatternERK7QString+0xe0): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QRegularExpression17setPatternOptionsE6QFlagsINS_13PatternOptionEE+0xbf): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK18QRegularExpression11errorStringEv+0x97): undefined reference to `pcre2_get_error_message_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN23QRegularExpressionMatchD2Ev+0xa2): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN23QRegularExpressionMatchaSERKS_+0xba): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK23QRegularExpressionMatch8capturedERK7QString+0x2e): undefined reference to `pcre2_substring_number_from_name_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK23QRegularExpressionMatch11capturedRefERK7QString+0x32): undefined reference to `pcre2_substring_number_from_name_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK23QRegularExpressionMatch8capturedE11QStringView+0x27): undefined reference to `pcre2_substring_number_from_name_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK23QRegularExpressionMatch11capturedRefE11QStringView+0x27): undefined reference to `pcre2_substring_number_from_name_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK23QRegularExpressionMatch12capturedViewE11QStringView+0x2f): undefined reference to `pcre2_substring_number_from_name_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK23QRegularExpressionMatch13capturedStartERK7QString+0x2a): more undefined references to `pcre2_substring_number_from_name_16' follow E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN31QRegularExpressionMatchIteratorD2Ev+0x5e): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN31QRegularExpressionMatchIteratorD2Ev+0x15e): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN31QRegularExpressionMatchIteratoraSERKS_+0x81): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN31QRegularExpressionMatchIteratoraSERKS_+0x19e): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZrsR11QDataStreamR18QRegularExpression+0x14b): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZrsR11QDataStreamR18QRegularExpression+0x23f): more undefined references to `pcre2_code_free_16' follow E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x1fb): undefined reference to `pcre2_match_context_create_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x210): undefined reference to `pcre2_jit_stack_assign_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x21b): undefined reference to `pcre2_match_data_create_from_pattern_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x2c4): undefined reference to `pcre2_get_ovector_pointer_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x338): undefined reference to `pcre2_match_data_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x340): undefined reference to `pcre2_match_context_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x373): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate7doMatchERK7QStringiiiN18QRegularExpression9MatchTypeE6QFlagsINS3_11MatchOptionEENS_24CheckSubjectStringOptionEPK30QRegularExpressionMatchPrivate+0x5a3): undefined reference to `pcre2_pattern_info_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK18QRegularExpression11globalMatchERK7QStringiNS_9MatchTypeE6QFlagsINS_11MatchOptionEE+0x146): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK18QRegularExpression11globalMatchERK10QStringRefiNS_9MatchTypeE6QFlagsINS_11MatchOptionEE+0x194): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK18QRegularExpression18namedCaptureGroupsEv+0x39): undefined reference to `pcre2_pattern_info_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK18QRegularExpression18namedCaptureGroupsEv+0x4f): undefined reference to `pcre2_pattern_info_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZNK18QRegularExpression18namedCaptureGroupsEv+0x65): undefined reference to `pcre2_pattern_info_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QSharedDataPointerI30QRegularExpressionMatchPrivateE13detach_helperEv[_ZN18QSharedDataPointerI30QRegularExpressionMatchPrivateE13detach_helperEv]+0x131): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN23QRegularExpressionMatchC2Ev+0x13f): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN31QRegularExpressionMatchIteratorC2Ev+0x102): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN31QRegularExpressionMatchIteratorC2Ev+0x1e8): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv[_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv]+0xa5): undefined reference to `pcre2_code_free_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv[_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv]+0x1b1): more undefined references to `pcre2_code_free_16' follow E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qeventdispatcher_win.o):qeventdispatcher_win.cpp:(.text$_ZN28QEventDispatcherWin32Private13registerTimerEP12WinTimerInfo+0x82): undefined reference to `__imp_timeSetEvent' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qeventdispatcher_win.o):qeventdispatcher_win.cpp:(.text$_ZN28QEventDispatcherWin32Private15unregisterTimerEP12WinTimerInfo+0x54): undefined reference to `__imp_timeKillEvent' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qeventdispatcher_win.o):qeventdispatcher_win.cpp:(.text$_ZN21QEventDispatcherWin3216unregisterTimersEP7QObject+0x116): undefined reference to `__imp_timeKillEvent' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qeventdispatcher_win.o):qeventdispatcher_win.cpp:(.text$_ZN21QEventDispatcherWin3215unregisterTimerEi+0x122): undefined reference to `__imp_timeKillEvent' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qeventdispatcher_win.o):qeventdispatcher_win.cpp:(.text$_ZN21QEventDispatcherWin3211closingDownEv+0x1eb): undefined reference to `__imp_timeKillEvent' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qfilesystemengine_win.o):qfilesystemengine_win.cpp:(.text$_ZN17QFileSystemEngine8homePathEv+0x5d3): undefined reference to `__imp_GetUserProfileDirectoryW' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qfilesystemengine_win.o):qfilesystemengine_win.cpp:(.text$_ZN17QFileSystemEngine21uncListSharesOnServerERK7QStringP11QStringList+0x8e): undefined reference to `NetShareEnum' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qfilesystemengine_win.o):qfilesystemengine_win.cpp:(.text$_ZN17QFileSystemEngine21uncListSharesOnServerERK7QStringP11QStringList+0xaf): undefined reference to `NetApiBufferFree' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qfilesystemengine_win.o):qfilesystemengine_win.cpp:(.text$_ZN17QFileSystemEngine21uncListSharesOnServerERK7QStringP11QStringList+0x154): undefined reference to `NetApiBufferFree' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Core.a(qfilesystemengine_win.o):qfilesystemengine_win.cpp:(.text$_ZN17QFileSystemEngine21uncListSharesOnServerERK7QStringP11QStringList+0x198): undefined reference to `NetApiBufferFree' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_ASN1_STRING_get0_dataPK14asn1_string_st+0x1): undefined reference to `ASN1_STRING_get0_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_OPENSSL_init_sslyPK21ossl_init_settings_st+0x1): undefined reference to `OPENSSL_init_ssl' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_OPENSSL_init_cryptoyPK21ossl_init_settings_st+0x1): undefined reference to `OPENSSL_init_crypto' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z9q_BIO_newPK13bio_method_st+0x1): undefined reference to `BIO_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z11q_BIO_s_memv+0x1): undefined reference to `BIO_s_mem' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_BN_is_wordP9bignum_sty+0x1): undefined reference to `BN_is_word' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z22q_EVP_CIPHER_CTX_resetP17evp_cipher_ctx_st+0x1): undefined reference to `EVP_CIPHER_CTX_reset' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_EVP_PKEY_base_idP11evp_pkey_st+0x1): undefined reference to `EVP_PKEY_base_id' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_RSA_bitsP6rsa_st+0x1): undefined reference to `RSA_bits' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_DSA_bitsP6dsa_st+0x1): undefined reference to `DSA_bits' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z16q_OPENSSL_sk_numP8stack_st+0x1): undefined reference to `OPENSSL_sk_num' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_OPENSSL_sk_pop_freeP8stack_stPFvPvE+0x1): undefined reference to `OPENSSL_sk_pop_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_OPENSSL_sk_new_nullv+0x1): undefined reference to `OPENSSL_sk_new_null' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_OPENSSL_sk_pushP8stack_stPv+0x1): undefined reference to `OPENSSL_sk_push' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_OPENSSL_sk_freeP8stack_st+0x1): undefined reference to `OPENSSL_sk_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_OPENSSL_sk_valueP8stack_sti+0x1): undefined reference to `OPENSSL_sk_value' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_SSL_session_reusedP6ssl_st+0x1): undefined reference to `SSL_session_reused' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_SSL_CTX_set_optionsP10ssl_ctx_stm+0x1): undefined reference to `SSL_CTX_set_options' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_SSL_CTX_set_ciphersuitesP10ssl_ctx_stPKc+0x1): undefined reference to `SSL_CTX_set_ciphersuites' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_SSL_get_client_randomP6ssl_stPhy+0x1): undefined reference to `SSL_get_client_random' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_SSL_SESSION_get_master_keyPK14ssl_session_stPhy+0x1): undefined reference to `SSL_SESSION_get_master_key' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_CRYPTO_get_ex_new_indexilPvPFvS_S_P17crypto_ex_data_stilS_EPFiS1_PKS0_S_ilS_ES3_+0x1): undefined reference to `CRYPTO_get_ex_new_index' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_SSL_set_optionsP6ssl_stm+0x1): undefined reference to `SSL_set_options' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_TLS_methodv+0x1): undefined reference to `TLS_method' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_TLS_client_methodv+0x1): undefined reference to `TLS_client_method' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_TLS_server_methodv+0x1): undefined reference to `TLS_server_method' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_X509_getm_notBeforeP7x509_st+0x1): undefined reference to `X509_getm_notBefore' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_X509_getm_notAfterP7x509_st+0x1): undefined reference to `X509_getm_notAfter' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_X509_get_versionP7x509_st+0x1): undefined reference to `X509_get_version' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_X509_get_pubkeyP7x509_st+0x1): undefined reference to `X509_get_pubkey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_X509_STORE_set_verify_cbP13x509_store_stPFiiP17x509_store_ctx_stE+0x1): undefined reference to `X509_STORE_set_verify_cb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z27q_X509_STORE_CTX_get0_chainP17x509_store_ctx_st+0x1): undefined reference to `X509_STORE_CTX_get0_chain' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_CRYPTO_freePvPKci+0x1): undefined reference to `CRYPTO_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_OpenSSL_version_numv+0x1): undefined reference to `OpenSSL_version_num' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_OpenSSL_versioni+0x1): undefined reference to `OpenSSL_version' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z38q_SSL_SESSION_get_ticket_lifetime_hintPK14ssl_session_st+0x1): undefined reference to `SSL_SESSION_get_ticket_lifetime_hint' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_DH_get0_pqgPK5dh_stPPK9bignum_stS5_S5_+0x1): undefined reference to `DH_get0_pqg' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z9q_DH_bitsP5dh_st+0x1): undefined reference to `DH_bits' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_DTLSv1_listenP6ssl_stP11bio_addr_st+0x1): undefined reference to `DTLSv1_listen' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_BIO_ADDR_newv+0x1): undefined reference to `BIO_ADDR_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_BIO_ADDR_freeP11bio_addr_st+0x1): undefined reference to `BIO_ADDR_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_BIO_meth_newiPKc+0x1): undefined reference to `BIO_meth_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_BIO_meth_freeP13bio_method_st+0x1): undefined reference to `BIO_meth_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_BIO_meth_set_writeP13bio_method_stPFiP6bio_stPKciE+0x1): undefined reference to `BIO_meth_set_write' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_BIO_meth_set_readP13bio_method_stPFiP6bio_stPciE+0x1): undefined reference to `BIO_meth_set_read' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_BIO_meth_set_putsP13bio_method_stPFiP6bio_stPKcE+0x1): undefined reference to `BIO_meth_set_puts' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_BIO_meth_set_ctrlP13bio_method_stPFlP6bio_stilPvE+0x1): undefined reference to `BIO_meth_set_ctrl' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_BIO_meth_set_createP13bio_method_stPFiP6bio_stE+0x1): undefined reference to `BIO_meth_set_create' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z22q_BIO_meth_set_destroyP13bio_method_stPFiP6bio_stE+0x1): undefined reference to `BIO_meth_set_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_BIO_set_dataP6bio_stPv+0x1): undefined reference to `BIO_set_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_BIO_get_dataP6bio_st+0x1): undefined reference to `BIO_get_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_BIO_set_initP6bio_sti+0x1): undefined reference to `BIO_set_init' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_BIO_get_shutdownP6bio_st+0x1): undefined reference to `BIO_get_shutdown' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_BIO_set_shutdownP6bio_sti+0x1): undefined reference to `BIO_set_shutdown' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_ASN1_INTEGER_getP14asn1_string_st+0x1): undefined reference to `ASN1_INTEGER_get' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_ASN1_STRING_lengthP14asn1_string_st+0x1): undefined reference to `ASN1_STRING_length' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_ASN1_STRING_to_UTF8PPhP14asn1_string_st+0x1): undefined reference to `ASN1_STRING_to_UTF8' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_BIO_ctrlP6bio_stilPv+0x1): undefined reference to `BIO_ctrl' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_BIO_freeP6bio_st+0x1): undefined reference to `BIO_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_BIO_new_mem_bufPvi+0x1): undefined reference to `BIO_new_mem_buf' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_BIO_readP6bio_stPvi+0x1): undefined reference to `BIO_read' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z11q_BIO_writeP6bio_stPKvi+0x1): undefined reference to `BIO_write' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_BN_num_bitsPK9bignum_st+0x1): undefined reference to `BN_num_bits' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_BN_mod_wordPK9bignum_sty+0x1): undefined reference to `BN_mod_word' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_EC_KEY_get0_groupPK9ec_key_st+0x1): undefined reference to `EC_KEY_get0_group' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_EC_GROUP_get_degreePK11ec_group_st+0x1): undefined reference to `EC_GROUP_get_degree' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z9q_DSA_newv+0x1): undefined reference to `DSA_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_DSA_freeP6dsa_st+0x1): undefined reference to `DSA_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_d2i_X509PP7x509_stPPKhl+0x1): undefined reference to `d2i_X509' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_ERR_error_stringmPc+0x1): undefined reference to `ERR_error_string' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_ERR_error_string_nmPcy+0x1): undefined reference to `ERR_error_string_n' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_ERR_get_errorv+0x1): undefined reference to `ERR_get_error' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_EVP_CIPHER_CTX_newv+0x1): undefined reference to `EVP_CIPHER_CTX_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_EVP_CIPHER_CTX_freeP17evp_cipher_ctx_st+0x1): undefined reference to `EVP_CIPHER_CTX_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_EVP_CIPHER_CTX_ctrlP17evp_cipher_ctx_stiiPv+0x1): undefined reference to `EVP_CIPHER_CTX_ctrl' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z31q_EVP_CIPHER_CTX_set_key_lengthP17evp_cipher_ctx_sti+0x1): undefined reference to `EVP_CIPHER_CTX_set_key_length' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z16q_EVP_CipherInitP17evp_cipher_ctx_stPK13evp_cipher_stPKhS5_i+0x1): undefined reference to `EVP_CipherInit' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_EVP_CipherInit_exP17evp_cipher_ctx_stPK13evp_cipher_stP9engine_stPKhS7_i+0x1): undefined reference to `EVP_CipherInit_ex' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_EVP_CipherUpdateP17evp_cipher_ctx_stPhPiPKhi+0x1): undefined reference to `EVP_CipherUpdate' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_EVP_CipherFinalP17evp_cipher_ctx_stPhPi+0x1): undefined reference to `EVP_CipherFinal' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_EVP_des_cbcv+0x1): undefined reference to `EVP_des_cbc' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_EVP_des_ede3_cbcv+0x1): undefined reference to `EVP_des_ede3_cbc' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_EVP_rc2_cbcv+0x1): undefined reference to `EVP_rc2_cbc' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_EVP_sha1v+0x1): undefined reference to `EVP_sha1' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_EVP_PKEY_assignP11evp_pkey_stiPc+0x1): undefined reference to `EVP_PKEY_assign' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_EVP_PKEY_set1_RSAP11evp_pkey_stP6rsa_st+0x1): undefined reference to `EVP_PKEY_set1_RSA' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_EVP_PKEY_set1_DSAP11evp_pkey_stP6dsa_st+0x1): undefined reference to `EVP_PKEY_set1_DSA' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z22q_EVP_PKEY_set1_EC_KEYP11evp_pkey_stP9ec_key_st+0x1): undefined reference to `EVP_PKEY_set1_EC_KEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_EVP_PKEY_freeP11evp_pkey_st+0x1): undefined reference to `EVP_PKEY_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_EVP_PKEY_get1_DSAP11evp_pkey_st+0x1): undefined reference to `EVP_PKEY_get1_DSA' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_EVP_PKEY_get1_RSAP11evp_pkey_st+0x1): undefined reference to `EVP_PKEY_get1_RSA' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z22q_EVP_PKEY_get1_EC_KEYP11evp_pkey_st+0x1): undefined reference to `EVP_PKEY_get1_EC_KEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_EVP_PKEY_newv+0x1): undefined reference to `EVP_PKEY_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_EVP_PKEY_typei+0x1): undefined reference to `EVP_PKEY_type' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_i2d_X509P7x509_stPPh+0x1): undefined reference to `i2d_X509' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_OBJ_nid2sni+0x1): undefined reference to `OBJ_nid2sn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_OBJ_nid2lni+0x1): undefined reference to `OBJ_nid2ln' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_OBJ_sn2nidPKc+0x1): undefined reference to `OBJ_sn2nid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_OBJ_ln2nidPKc+0x1): undefined reference to `OBJ_ln2nid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_i2t_ASN1_OBJECTPciP14asn1_object_st+0x1): undefined reference to `i2t_ASN1_OBJECT' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_OBJ_obj2txtPciP14asn1_object_sti+0x1): undefined reference to `OBJ_obj2txt' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_OBJ_obj2nidPK14asn1_object_st+0x1): undefined reference to `OBJ_obj2nid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_PEM_read_bio_PrivateKeyP6bio_stPP11evp_pkey_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_PrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_PEM_read_bio_DSAPrivateKeyP6bio_stPP6dsa_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_DSAPrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_PEM_read_bio_RSAPrivateKeyP6bio_stPP6rsa_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_RSAPrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z27q_PEM_read_bio_ECPrivateKeyP6bio_stPP9ec_key_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_ECPrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_PEM_read_bio_DHparamsP6bio_stPP5dh_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_DHparams' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z29q_PEM_write_bio_DSAPrivateKeyP6bio_stP6dsa_stPK13evp_cipher_stPhiPFiPciiPvES8_+0x1): undefined reference to `PEM_write_bio_DSAPrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z29q_PEM_write_bio_RSAPrivateKeyP6bio_stP6rsa_stPK13evp_cipher_stPhiPFiPciiPvES8_+0x1): undefined reference to `PEM_write_bio_RSAPrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_PEM_write_bio_ECPrivateKeyP6bio_stP9ec_key_stPK13evp_cipher_stPhiPFiPciiPvES8_+0x1): undefined reference to `PEM_write_bio_ECPrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_PEM_read_bio_PUBKEYP6bio_stPP11evp_pkey_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_PUBKEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_PEM_read_bio_DSA_PUBKEYP6bio_stPP6dsa_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_DSA_PUBKEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_PEM_read_bio_RSA_PUBKEYP6bio_stPP6rsa_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_RSA_PUBKEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_PEM_read_bio_EC_PUBKEYP6bio_stPP9ec_key_stPFiPciiPvES5_+0x1): undefined reference to `PEM_read_bio_EC_PUBKEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_PEM_write_bio_DSA_PUBKEYP6bio_stP6dsa_st+0x1): undefined reference to `PEM_write_bio_DSA_PUBKEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_PEM_write_bio_RSA_PUBKEYP6bio_stP6rsa_st+0x1): undefined reference to `PEM_write_bio_RSA_PUBKEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_PEM_write_bio_EC_PUBKEYP6bio_stP9ec_key_st+0x1): undefined reference to `PEM_write_bio_EC_PUBKEY' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z11q_RAND_seedPKvi+0x1): undefined reference to `RAND_seed' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_RAND_statusv+0x1): undefined reference to `RAND_status' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_RAND_bytesPhi+0x1): undefined reference to `RAND_bytes' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z9q_RSA_newv+0x1): undefined reference to `RSA_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_RSA_freeP6rsa_st+0x1): undefined reference to `RSA_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_SSL_acceptP6ssl_st+0x1): undefined reference to `SSL_accept' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z11q_SSL_clearP6ssl_st+0x1): undefined reference to `SSL_clear' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_SSL_CIPHER_descriptionPK13ssl_cipher_stPci+0x1): undefined reference to `SSL_CIPHER_description' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_SSL_CIPHER_get_bitsPK13ssl_cipher_stPi+0x1): undefined reference to `SSL_CIPHER_get_bits' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_SSL_get_rbioPK6ssl_st+0x1): undefined reference to `SSL_get_rbio' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_SSL_connectP6ssl_st+0x1): undefined reference to `SSL_connect' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z27q_SSL_CTX_check_private_keyPK10ssl_ctx_st+0x1): undefined reference to `SSL_CTX_check_private_key' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_SSL_CTX_ctrlP10ssl_ctx_stilPv+0x1): undefined reference to `SSL_CTX_ctrl' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_SSL_CTX_freeP10ssl_ctx_st+0x1): undefined reference to `SSL_CTX_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_SSL_CTX_newPK13ssl_method_st+0x1): undefined reference to `SSL_CTX_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_SSL_CTX_set_cipher_listP10ssl_ctx_stPKc+0x1): undefined reference to `SSL_CTX_set_cipher_list' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z34q_SSL_CTX_set_default_verify_pathsP10ssl_ctx_st+0x1): undefined reference to `SSL_CTX_set_default_verify_paths' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_SSL_CTX_set_verifyP10ssl_ctx_stiPFiiP17x509_store_ctx_stE+0x1): undefined reference to `SSL_CTX_set_verify' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_SSL_CTX_set_verify_depthP10ssl_ctx_sti+0x1): undefined reference to `SSL_CTX_set_verify_depth' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_SSL_CTX_use_certificateP10ssl_ctx_stP7x509_st+0x1): undefined reference to `SSL_CTX_use_certificate' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z30q_SSL_CTX_use_certificate_fileP10ssl_ctx_stPKci+0x1): undefined reference to `SSL_CTX_use_certificate_file' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_SSL_CTX_use_PrivateKeyP10ssl_ctx_stP11evp_pkey_st+0x1): undefined reference to `SSL_CTX_use_PrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z27q_SSL_CTX_use_RSAPrivateKeyP10ssl_ctx_stP6rsa_st+0x1): undefined reference to `SSL_CTX_use_RSAPrivateKey' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z29q_SSL_CTX_use_PrivateKey_fileP10ssl_ctx_stPKci+0x1): undefined reference to `SSL_CTX_use_PrivateKey_file' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_SSL_CTX_get_cert_storePK10ssl_ctx_st+0x1): undefined reference to `SSL_CTX_get_cert_store' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_SSL_CONF_CTX_newv+0x1): undefined reference to `SSL_CONF_CTX_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_SSL_CONF_CTX_freeP15ssl_conf_ctx_st+0x1): undefined reference to `SSL_CONF_CTX_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_SSL_CONF_CTX_set_ssl_ctxP15ssl_conf_ctx_stP10ssl_ctx_st+0x1): undefined reference to `SSL_CONF_CTX_set_ssl_ctx' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_SSL_CONF_CTX_set_flagsP15ssl_conf_ctx_stj+0x1): undefined reference to `SSL_CONF_CTX_set_flags' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_SSL_CONF_CTX_finishP15ssl_conf_ctx_st+0x1): undefined reference to `SSL_CONF_CTX_finish' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_SSL_CONF_cmdP15ssl_conf_ctx_stPKcS2_+0x1): undefined reference to `SSL_CONF_cmd' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_SSL_freeP6ssl_st+0x1): undefined reference to `SSL_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_SSL_get_ciphersPK6ssl_st+0x1): undefined reference to `SSL_get_ciphers' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_SSL_get_current_cipherP6ssl_st+0x1): undefined reference to `SSL_get_current_cipher' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_SSL_versionPK6ssl_st+0x1): undefined reference to `SSL_version' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_SSL_get_errorP6ssl_sti+0x1): undefined reference to `SSL_get_error' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_SSL_get_peer_cert_chainP6ssl_st+0x1): undefined reference to `SSL_get_peer_cert_chain' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_SSL_get_peer_certificateP6ssl_st+0x1): undefined reference to `SSL_get_peer_certificate' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_SSL_get_verify_resultPK6ssl_st+0x1): undefined reference to `SSL_get_verify_result' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z9q_SSL_newP10ssl_ctx_st+0x1): undefined reference to `SSL_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_SSL_ctrlP6ssl_stilPv+0x1): undefined reference to `SSL_ctrl' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_SSL_readP6ssl_stPvi+0x1): undefined reference to `SSL_read' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_SSL_set_bioP6ssl_stP6bio_stS2_+0x1): undefined reference to `SSL_set_bio' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z22q_SSL_set_accept_stateP6ssl_st+0x1): undefined reference to `SSL_set_accept_state' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_SSL_set_connect_stateP6ssl_st+0x1): undefined reference to `SSL_set_connect_state' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_SSL_shutdownP6ssl_st+0x1): undefined reference to `SSL_shutdown' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_SSL_get_shutdownPK6ssl_st+0x1): undefined reference to `SSL_get_shutdown' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_SSL_set_sessionP6ssl_stP14ssl_session_st+0x1): undefined reference to `SSL_set_session' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_SSL_SESSION_freeP14ssl_session_st+0x1): undefined reference to `SSL_SESSION_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_SSL_get1_sessionP6ssl_st+0x1): undefined reference to `SSL_get1_session' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_SSL_get_sessionPK6ssl_st+0x1): undefined reference to `SSL_get_session' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_SSL_set_ex_dataP6ssl_stiPv+0x1): undefined reference to `SSL_set_ex_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_SSL_get_ex_dataPK6ssl_sti+0x1): undefined reference to `SSL_get_ex_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z29q_SSL_set_psk_client_callbackP6ssl_stPFjS0_PKcPcjPhjE+0x1): undefined reference to `SSL_set_psk_client_callback' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z29q_SSL_set_psk_server_callbackP6ssl_stPFjS0_PKcPhjE+0x1): undefined reference to `SSL_set_psk_server_callback' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z31q_SSL_CTX_use_psk_identity_hintP10ssl_ctx_stPKc+0x1): undefined reference to `SSL_CTX_use_psk_identity_hint' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z11q_SSL_writeP6ssl_stPKvi+0x1): undefined reference to `SSL_write' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_X509_cmpP7x509_stS0_+0x1): undefined reference to `X509_cmp' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_X509_digestPK7x509_stPK9evp_md_stPhPj+0x1): undefined reference to `X509_digest' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_X509_dupP7x509_st+0x1): undefined reference to `X509_dup' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_X509_printP6bio_stP7x509_st+0x1): undefined reference to `X509_print' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z27q_X509_EXTENSION_get_objectP17X509_extension_st+0x1): undefined reference to `X509_EXTENSION_get_object' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z11q_X509_freeP7x509_st+0x1): undefined reference to `X509_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_X509_get_extP7x509_sti+0x1): undefined reference to `X509_get_ext' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_X509_get_ext_countP7x509_st+0x1): undefined reference to `X509_get_ext_count' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_X509_get_ext_d2iP7x509_stiPiS1_+0x1): undefined reference to `X509_get_ext_d2i' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z16q_X509V3_EXT_getP17X509_extension_st+0x1): undefined reference to `X509V3_EXT_get' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z16q_X509V3_EXT_d2iP17X509_extension_st+0x1): undefined reference to `X509V3_EXT_d2i' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z29q_X509_EXTENSION_get_criticalP17X509_extension_st+0x1): undefined reference to `X509_EXTENSION_get_critical' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z25q_X509_EXTENSION_get_dataP17X509_extension_st+0x1): undefined reference to `X509_EXTENSION_get_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_BASIC_CONSTRAINTS_freeP20BASIC_CONSTRAINTS_st+0x1): undefined reference to `BASIC_CONSTRAINTS_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z22q_AUTHORITY_KEYID_freeP18AUTHORITY_KEYID_st+0x1): undefined reference to `AUTHORITY_KEYID_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_GENERAL_NAME_freeP15GENERAL_NAME_st+0x1): undefined reference to `GENERAL_NAME_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_ASN1_STRING_printP6bio_stPK14asn1_string_st+0x1): undefined reference to `ASN1_STRING_print' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_X509_check_issuedP7x509_stS0_+0x1): undefined reference to `X509_check_issued' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z22q_X509_get_issuer_nameP7x509_st+0x1): undefined reference to `X509_get_issuer_name' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_X509_get_subject_nameP7x509_st+0x1): undefined reference to `X509_get_subject_name' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_X509_get_serialNumberP7x509_st+0x1): undefined reference to `X509_get_serialNumber' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z18q_X509_verify_certP17x509_store_ctx_st+0x1): undefined reference to `X509_verify_cert' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_X509_NAME_entry_countP12X509_name_st+0x1): undefined reference to `X509_NAME_entry_count' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_X509_NAME_get_entryP12X509_name_sti+0x1): undefined reference to `X509_NAME_get_entry' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_X509_NAME_ENTRY_get_dataP18X509_name_entry_st+0x1): undefined reference to `X509_NAME_ENTRY_get_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_X509_NAME_ENTRY_get_objectP18X509_name_entry_st+0x1): undefined reference to `X509_NAME_ENTRY_get_object' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_X509_PUBKEY_getP14X509_pubkey_st+0x1): undefined reference to `X509_PUBKEY_get' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_X509_STORE_freeP13x509_store_st+0x1): undefined reference to `X509_STORE_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z16q_X509_STORE_newv+0x1): undefined reference to `X509_STORE_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_X509_STORE_add_certP13x509_store_stP7x509_st+0x1): undefined reference to `X509_STORE_add_cert' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_X509_STORE_CTX_freeP17x509_store_ctx_st+0x1): undefined reference to `X509_STORE_CTX_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_X509_STORE_CTX_initP17x509_store_ctx_stP13x509_store_stP7x509_stP13stack_st_X509+0x1): undefined reference to `X509_STORE_CTX_init' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_X509_STORE_CTX_set_purposeP17x509_store_ctx_sti+0x1): undefined reference to `X509_STORE_CTX_set_purpose' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_X509_STORE_CTX_get_errorP17x509_store_ctx_st+0x1): undefined reference to `X509_STORE_CTX_get_error' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z32q_X509_STORE_CTX_get_error_depthP17x509_store_ctx_st+0x1): undefined reference to `X509_STORE_CTX_get_error_depth' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z33q_X509_STORE_CTX_get_current_certP17x509_store_ctx_st+0x1): undefined reference to `X509_STORE_CTX_get_current_cert' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_X509_STORE_CTX_newv+0x1): undefined reference to `X509_STORE_CTX_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_X509_STORE_CTX_get_ex_dataP17x509_store_ctx_sti+0x1): undefined reference to `X509_STORE_CTX_get_ex_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z36q_SSL_get_ex_data_X509_STORE_CTX_idxv+0x1): undefined reference to `SSL_get_ex_data_X509_STORE_CTX_idx' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z31q_SSL_CTX_load_verify_locationsP10ssl_ctx_stPKcS2_+0x1): undefined reference to `SSL_CTX_load_verify_locations' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_i2d_SSL_SESSIONP14ssl_session_stPPh+0x1): undefined reference to `i2d_SSL_SESSION' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_d2i_SSL_SESSIONPP14ssl_session_stPPKhl+0x1): undefined reference to `d2i_SSL_SESSION' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_SSL_select_next_protoPPhS_PKhjS2_j+0x1): undefined reference to `SSL_select_next_proto' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z34q_SSL_CTX_set_next_proto_select_cbP10ssl_ctx_stPFiP6ssl_stPPhS3_PKhjPvES7_+0x1): undefined reference to `SSL_CTX_set_next_proto_select_cb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z32q_SSL_get0_next_proto_negotiatedPK6ssl_stPPKhPj+0x1): undefined reference to `SSL_get0_next_proto_negotiated' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z21q_SSL_set_alpn_protosP6ssl_stPKhj+0x1): undefined reference to `SSL_set_alpn_protos' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z28q_SSL_CTX_set_alpn_select_cbP10ssl_ctx_stPFiP6ssl_stPPKhPhS4_jPvES7_+0x1): undefined reference to `SSL_CTX_set_alpn_select_cb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z24q_SSL_get0_alpn_selectedPK6ssl_stPPKhPj+0x1): undefined reference to `SSL_get0_alpn_selected' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z32q_SSL_CTX_set_cookie_generate_cbP10ssl_ctx_stPFiP6ssl_stPhPjE+0x1): undefined reference to `SSL_CTX_set_cookie_generate_cb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z30q_SSL_CTX_set_cookie_verify_cbP10ssl_ctx_stPFiP6ssl_stPKhjE+0x1): undefined reference to `SSL_CTX_set_cookie_verify_cb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_DTLS_server_methodv+0x1): undefined reference to `DTLS_server_method' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z20q_DTLS_client_methodv+0x1): undefined reference to `DTLS_client_method' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z15q_BIO_set_flagsP6bio_sti+0x1): undefined reference to `BIO_set_flags' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_BIO_clear_flagsP6bio_sti+0x1): undefined reference to `BIO_clear_flags' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_BIO_get_ex_dataP6bio_sti+0x1): undefined reference to `BIO_get_ex_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z17q_BIO_set_ex_dataP6bio_stiPv+0x1): undefined reference to `BIO_set_ex_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z8q_DH_newv+0x1): undefined reference to `DH_new' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z9q_DH_freeP5dh_st+0x1): undefined reference to `DH_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_d2i_DHparamsPP5dh_stPPKhl+0x1): undefined reference to `d2i_DHparams' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_i2d_DHparamsP5dh_stPPh+0x1): undefined reference to `i2d_DHparams' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z10q_DH_checkP5dh_stPi+0x1): undefined reference to `DH_check' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z11q_BN_bin2bnPKhiP9bignum_st+0x1): undefined reference to `BN_bin2bn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z12q_EC_KEY_dupPK9ec_key_st+0x1): undefined reference to `EC_KEY_dup' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z26q_EC_KEY_new_by_curve_namei+0x1): undefined reference to `EC_KEY_new_by_curve_name' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_EC_KEY_freeP9ec_key_st+0x1): undefined reference to `EC_KEY_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z23q_EC_get_builtin_curvesP16EC_builtin_curvey+0x1): undefined reference to `EC_get_builtin_curves' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z19q_EC_curve_nist2nidPKc+0x1): undefined reference to `EC_curve_nist2nid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z14q_PKCS12_parseP9PKCS12_stPKcPP11evp_pkey_stPP7x509_stPP13stack_st_X509+0x1): undefined reference to `PKCS12_parse' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z16q_d2i_PKCS12_bioP6bio_stPP9PKCS12_st+0x1): undefined reference to `d2i_PKCS12_bio' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qsslsocket_openssl_symbols.o):qsslsocket_openssl_symbols.cpp:(.text$_Z13q_PKCS12_freeP9PKCS12_st+0x1): undefined reference to `PKCS12_free' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qwindowscarootfetcher.o):qwindowscarootfetcher.cpp:(.text$_ZN21QWindowsCaRootFetcher5startEv+0x3c): undefined reference to `__imp_CertCreateCertificateContext' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qwindowscarootfetcher.o):qwindowscarootfetcher.cpp:(.text$_ZN21QWindowsCaRootFetcher5startEv+0xe0): undefined reference to `__imp_CertGetCertificateChain' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qwindowscarootfetcher.o):qwindowscarootfetcher.cpp:(.text$_ZN21QWindowsCaRootFetcher5startEv+0x162): undefined reference to `__imp_CertFreeCertificateChain' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qwindowscarootfetcher.o):qwindowscarootfetcher.cpp:(.text$_ZN21QWindowsCaRootFetcher5startEv+0x16b): undefined reference to `__imp_CertFreeCertificateContext' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZN24QNetworkInterfaceManager22interfaceIndexFromNameERK7QString+0x15): undefined reference to `ConvertInterfaceNameToLuidW' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZN24QNetworkInterfaceManager22interfaceIndexFromNameERK7QString+0x2e): undefined reference to `ConvertInterfaceLuidToIndex' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZN24QNetworkInterfaceManager22interfaceNameFromIndexEj+0x1b): undefined reference to `ConvertInterfaceIndexToLuid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZN24QNetworkInterfaceManager22interfaceNameFromIndexEj+0x35): undefined reference to `ConvertInterfaceLuidToNameW' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZN9QHostInfo15localDomainNameEv+0x2c): undefined reference to `GetNetworkParams' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZN9QHostInfo15localDomainNameEv+0x11b): undefined reference to `GetNetworkParams' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZL16interfaceListingv+0x52): undefined reference to `GetAdaptersAddresses' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZL16interfaceListingv+0x1c4): undefined reference to `ConvertInterfaceLuidToNameW' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text$_ZL16interfaceListingv+0x709): undefined reference to `GetAdaptersAddresses' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qopenglpaintengine.o):qopenglpaintengine.cpp:(.text$_ZN21QOpenGL2PaintEngineEx19beginNativePaintingEv+0x178): undefined reference to `__imp_glMatrixMode' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qopenglpaintengine.o):qopenglpaintengine.cpp:(.text$_ZN21QOpenGL2PaintEngineEx19beginNativePaintingEv+0x183): undefined reference to `__imp_glLoadIdentity' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qopenglpaintengine.o):qopenglpaintengine.cpp:(.text$_ZN21QOpenGL2PaintEngineEx19beginNativePaintingEv+0x1c5): undefined reference to `__imp_glOrtho' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qopenglpaintengine.o):qopenglpaintengine.cpp:(.text$_ZN21QOpenGL2PaintEngineEx19beginNativePaintingEv+0x1d5): undefined reference to `__imp_glLoadMatrixf' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x52): undefined reference to `hb_buffer_create' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x6a): undefined reference to `hb_buffer_set_unicode_funcs' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x79): undefined reference to `hb_buffer_pre_allocate' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x81): undefined reference to `hb_buffer_allocation_successful' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x218): undefined reference to `hb_buffer_clear_contents' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x23a): undefined reference to `hb_buffer_add_utf16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x24a): undefined reference to `hb_buffer_set_segment_properties' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x252): undefined reference to `hb_buffer_guess_segment_properties' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x26b): undefined reference to `hb_buffer_set_flags' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x37c): undefined reference to `hb_shape_full' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x3a1): undefined reference to `hb_buffer_get_length' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x47e): undefined reference to `hb_buffer_get_glyph_infos' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x48b): undefined reference to `hb_buffer_get_glyph_positions' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x880): undefined reference to `hb_buffer_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x92c): undefined reference to `hb_buffer_reverse' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qtextengine.o):qtextengine.cpp:(.text$_ZNK11QTextEngine23shapeTextWithHarfbuzzNGERK11QScriptItemPKtiP11QFontEngineRK7QVectorIjEbb+0x9de): undefined reference to `hb_buffer_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qfontengine.o):qfontengine.cpp:(.text$_ZNK11QFontEngine14supportsScriptEN5QChar6ScriptE+0xe6): undefined reference to `hb_ot_tags_from_script' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qfontengine.o):qfontengine.cpp:(.text$_ZNK11QFontEngine14supportsScriptEN5QChar6ScriptE+0xfb): undefined reference to `hb_ot_layout_table_find_script' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qfontengine.o):qfontengine.cpp:(.text$_ZNK11QFontEngine14supportsScriptEN5QChar6ScriptE+0x191): undefined reference to `hb_ot_layout_table_find_script' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qfontengine.o):qfontengine.cpp:(.text$_ZNK11QFontEngine14supportsScriptEN5QChar6ScriptE+0x1bf): undefined reference to `hb_ot_layout_table_find_script' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_ZL31_hb_qt_font_get_glyph_h_kerningP9hb_font_tPvjjS1_+0x56): undefined reference to `hb_font_get_user_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_ZL31_hb_qt_font_get_glyph_h_advanceP9hb_font_tPvjS1_+0x57): undefined reference to `hb_font_get_user_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_ZL19_hb_qt_face_releasePv+0x6): undefined reference to `hb_face_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_ZL22_hb_qt_reference_tableP9hb_face_tjPv+0x69): undefined reference to `hb_blob_create' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_ZL22_hb_qt_reference_tableP9hb_face_tjPv+0x81): undefined reference to `hb_blob_get_empty' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_ZL19_hb_qt_font_releasePv+0x6): undefined reference to `hb_font_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$__tcf_0+0xc): undefined reference to `hb_unicode_funcs_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$__tcf_1+0xc): undefined reference to `hb_font_funcs_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0x43): undefined reference to `hb_unicode_funcs_create' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0x5f): undefined reference to `hb_unicode_funcs_set_combining_class_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0x78): undefined reference to `hb_unicode_funcs_set_eastasian_width_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0x91): undefined reference to `hb_unicode_funcs_set_general_category_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0xaa): undefined reference to `hb_unicode_funcs_set_mirroring_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0xc3): undefined reference to `hb_unicode_funcs_set_script_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0xdc): undefined reference to `hb_unicode_funcs_set_compose_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0xf5): undefined reference to `hb_unicode_funcs_set_decompose_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z23hb_qt_get_unicode_funcsv+0x10e): undefined reference to `hb_unicode_funcs_set_decompose_compatibility_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z33hb_qt_font_set_use_design_metricsP9hb_font_tj+0x1a): undefined reference to `hb_font_set_user_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z33hb_qt_font_get_use_design_metricsP9hb_font_t+0xc): undefined reference to `hb_font_get_user_data' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0x41): undefined reference to `hb_font_funcs_create' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0x5d): undefined reference to `hb_font_funcs_set_font_h_extents_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0x76): undefined reference to `hb_font_funcs_set_nominal_glyph_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0x8f): undefined reference to `hb_font_funcs_set_variation_glyph_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0xa8): undefined reference to `hb_font_funcs_set_glyph_h_advance_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0xc1): undefined reference to `hb_font_funcs_set_glyph_h_kerning_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0xda): undefined reference to `hb_font_funcs_set_glyph_extents_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0xf3): undefined reference to `hb_font_funcs_set_glyph_contour_point_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z20hb_qt_get_font_funcsv+0xff): undefined reference to `hb_font_funcs_make_immutable' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_face_get_for_engineP11QFontEngine+0x4b): undefined reference to `hb_face_create_for_tables' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_face_get_for_engineP11QFontEngine+0x56): undefined reference to `hb_face_is_immutable' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_face_get_for_engineP11QFontEngine+0x99): undefined reference to `hb_face_set_index' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_face_get_for_engineP11QFontEngine+0x118): undefined reference to `hb_face_set_upem' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_face_get_for_engineP11QFontEngine+0x16d): undefined reference to `hb_face_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x32): undefined reference to `hb_font_create' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x3d): undefined reference to `hb_font_is_immutable' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0xa2): undefined reference to `hb_font_set_funcs' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0xb9): undefined reference to `hb_font_set_scale' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0xc6): undefined reference to `hb_font_set_ppem' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0xd7): undefined reference to `hb_font_set_ptem' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x125): undefined reference to `hb_font_funcs_create' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x141): undefined reference to `hb_font_funcs_set_font_h_extents_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x15a): undefined reference to `hb_font_funcs_set_nominal_glyph_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x173): undefined reference to `hb_font_funcs_set_variation_glyph_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x18c): undefined reference to `hb_font_funcs_set_glyph_h_advance_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x1a5): undefined reference to `hb_font_funcs_set_glyph_h_kerning_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x1be): undefined reference to `hb_font_funcs_set_glyph_extents_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x1d7): undefined reference to `hb_font_funcs_set_glyph_contour_point_func' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x1e3): undefined reference to `hb_font_funcs_make_immutable' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qharfbuzzng.o):qharfbuzzng.cpp:(.text$_Z25hb_qt_font_get_for_engineP11QFontEngine+0x214): undefined reference to `hb_font_destroy' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$iod_read_fn+0x14): undefined reference to `png_get_io_ptr' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$iod_read_fn+0xce): undefined reference to `png_error' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$qpiw_write_fn+0x11): undefined reference to `png_get_io_ptr' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$qpiw_write_fn+0x3d): undefined reference to `png_error' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN11QPngHandlerD2Ev+0x31): undefined reference to `png_destroy_read_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate15readImageFormatEv+0x4a): undefined reference to `png_get_IHDR' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate15readImageFormatEv+0xb9): undefined reference to `png_get_channels' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate15readImageFormatEv+0xdf): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate15readImageFormatEv+0x112): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate15readImageFormatEv+0x133): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate15readImageFormatEv+0x163): undefined reference to `png_get_PLTE' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngTextsEP12png_info_def+0x46): undefined reference to `png_get_text' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x23): undefined reference to `png_create_read_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x4a): undefined reference to `png_set_error_fn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x62): undefined reference to `png_set_option' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x6f): undefined reference to `png_create_info_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x89): undefined reference to `png_create_info_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0xb3): undefined reference to `png_set_longjmp_fn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0xdd): undefined reference to `png_set_read_fn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0xee): undefined reference to `png_read_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x115): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x13d): undefined reference to `png_destroy_read_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x162): undefined reference to `png_destroy_read_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x17c): undefined reference to `png_destroy_read_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate13readPngHeaderEv+0x19b): undefined reference to `png_get_gAMA' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZNK11QPngHandler6optionEN15QImageIOHandler11ImageOptionE+0xee): undefined reference to `png_get_image_height' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZNK11QPngHandler6optionEN15QImageIOHandler11ImageOptionE+0x101): undefined reference to `png_get_image_width' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x57): undefined reference to `png_set_longjmp_fn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x85): undefined reference to `png_destroy_read_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1dc): undefined reference to `png_get_IHDR' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1e4): undefined reference to `png_set_interlace_handling' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x215): undefined reference to `png_set_expand' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x2c2): undefined reference to `png_set_bgr' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x2cd): undefined reference to `png_read_update_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x3aa): undefined reference to `png_get_IHDR' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x3cf): undefined reference to `png_get_oFFs' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0xa5b): undefined reference to `png_read_row' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0xea7): undefined reference to `png_read_update_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0xfa8): undefined reference to `png_get_tRNS' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1059): undefined reference to `png_get_IHDR' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1084): undefined reference to `png_get_oFFs' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x11cd): undefined reference to `png_read_image' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1246): undefined reference to `png_get_x_pixels_per_meter' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1262): undefined reference to `png_get_y_pixels_per_meter' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x12a2): undefined reference to `png_read_end' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1318): undefined reference to `png_destroy_read_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1429): undefined reference to `png_set_gamma' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x14c9): undefined reference to `png_read_update_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x14d1): undefined reference to `png_set_swap' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1539): undefined reference to `png_set_strip_16' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x17af): undefined reference to `png_get_x_pixels_per_meter' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x17d1): undefined reference to `png_get_y_pixels_per_meter' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x18cd): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x18ee): undefined reference to `png_set_filler' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1928): undefined reference to `png_set_packing' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x197d): undefined reference to `png_get_channels' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x19a9): undefined reference to `png_get_PLTE' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x19d4): undefined reference to `png_set_packing' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x19e1): undefined reference to `png_read_update_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1a2d): undefined reference to `png_get_IHDR' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1ac5): undefined reference to `png_get_PLTE' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1b03): undefined reference to `png_get_tRNS' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1be8): undefined reference to `png_set_bgr' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1c0f): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1c2c): undefined reference to `png_set_filler' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1c34): undefined reference to `png_set_gray_to_rgb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1cae): undefined reference to `png_set_gray_to_rgb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1cdc): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1d91): undefined reference to `png_set_expand' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1e0c): undefined reference to `png_set_gray_to_rgb' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1e22): undefined reference to `png_get_valid' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1e3d): undefined reference to `png_set_expand' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1ebf): undefined reference to `png_read_update_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1edd): undefined reference to `png_set_invert_mono' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1ee8): undefined reference to `png_read_update_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x1fb8): undefined reference to `png_get_tRNS' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN18QPngHandlerPrivate12readPngImageEP6QImage+0x2038): undefined reference to `png_set_filler' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x56): undefined reference to `png_create_write_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x7a): undefined reference to `png_set_error_fn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x86): undefined reference to `png_create_info_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0xaf): undefined reference to `png_set_longjmp_fn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0xe1): undefined reference to `png_set_compression_level' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0xff): undefined reference to `png_set_write_fn' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x1b8): undefined reference to `png_set_IHDR' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x1ef): undefined reference to `png_set_gAMA' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x23a): undefined reference to `png_set_bgr' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x26a): undefined reference to `png_set_sig_bytes' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x2b0): undefined reference to `png_set_pHYs' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x510): undefined reference to `png_set_text' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x5a8): undefined reference to `png_write_info' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x5c2): undefined reference to `png_set_packing' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x674): undefined reference to `png_write_chunk' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x784): undefined reference to `png_write_rows' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x80a): undefined reference to `png_destroy_write_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x86f): undefined reference to `png_destroy_write_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x9bb): undefined reference to `png_write_end' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x9d6): undefined reference to `png_destroy_write_struct' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0xa91): undefined reference to `png_set_PLTE' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0xabb): undefined reference to `png_set_tRNS' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0xaf0): undefined reference to `png_set_filler' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0xb65): undefined reference to `png_write_image' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x16a8): undefined reference to `png_set_swap' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x16d6): undefined reference to `png_set_oFFs' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x16e7): undefined reference to `png_set_packswap' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x18ae): undefined reference to `png_write_chunk' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x1985): undefined reference to `png_write_rows' E:/Cpp/msys2/mingw64/qt5-static/lib/libQt5Gui.a(qpnghandler.o):qpnghandler.cpp:(.text$_ZN15QPNGImageWriter10writeImageERK6QImageiRK7QStringii+0x1aba): undefined reference to `png_set_PLTE'

cmake command line is as follows: cmake ../ -G Ninja "-DCMAKE_CXX_COMPILER:STRING=E:/Cpp/msys2/mingw64/bin/g++.exe" "-DCMAKE_C_COMPILER:STRING=E:/Cpp/msys2/mingw64/bin/gcc.exe" "-DCMAKE_PREFIX_PATH:STRING=E:/Cpp/msys2/mingw64/qt5-static" "-DQT_QMAKE_EXECUTABLE:STRING=E:/Cpp/msys2/mingw64/qt5-static/bin/qmake.exe"

Though qmake-static, qmake-dynamic and cmake dynamic builds works as expected

revelator commented 5 years ago

hmm i seem to remember running into the same. From what i remember, i found out that the static qt builds only seems to accept static libraries. Not sure what goes wrong there, but i suspect its something related to the autostatic setting patched into cmake, since i only ran into it when the project used cmake.

rokups commented 4 years ago

I am also unable to build anything linking to qt5-static. It used to work in the past (around Qt 5.10 version).

Reproduction steps:

CMakeLists.txt

cmake_minimum_required(VERSION 3.13)
project(static_qt)
set(CMAKE_PREFIX_PATH "C:/msys64/mingw32/qt5-static")
find_package(Qt5 5 REQUIRED Core)
add_executable(static_qt main.cpp)
target_link_libraries(static_qt PUBLIC Qt5::Core)

main.cpp

#include <QObject>

int main()
{
    QObject object;
    return 0;
}

Result:

====================[ Build | static_qt | Debug-mingw32 ]=======================
"C:\Program Files\JetBrains\CLion-2018.3.4\bin\cmake\win\bin\cmake.exe" --build C:\static-qt\cmake-build-debug-mingw32 --target static_qt -- -j 4
Scanning dependencies of target static_qt
[ 50%] Building CXX object CMakeFiles/static_qt.dir/main.cpp.obj
[100%] Linking CXX executable static_qt.exe
CMakeFiles\static_qt.dir/objects.a(main.cpp.obj): In function `main':
C:/static-qt/main.cpp:5: undefined reference to `QObject::QObject(QObject*)'
C:/static-qt/main.cpp:5: undefined reference to `QObject::~QObject()'
collect2.exe: error: ld returned 1 exit status
mingw32-make[3]: *** [CMakeFiles\static_qt.dir\build.make:89: static_qt.exe] Error 1
mingw32-make[2]: *** [CMakeFiles\Makefile2:72: CMakeFiles/static_qt.dir/all] Error 2
mingw32-make[1]: *** [CMakeFiles\Makefile2:84: CMakeFiles/static_qt.dir/rule] Error 2
mingw32-make: *** [Makefile:117: static_qt] Error 2
jagannatharjun commented 4 years ago

use vcpkg

Ismail099 commented 3 years ago

I have the same annoying problem which I haven't solved yet:

E:\Qt_Creator\Tools\CMake_64\bin\cmake.exe --build G:\DB_Connector\CLion\db_connector\cmake-build-debug --target db_connector -- -j 9
[ 25%] Built target gtest
[ 50%] Built target gtest_main
[ 62%] Automatic MOC and UIC for target db_connector
[ 62%] Built target db_connector_autogen
[ 75%] Linking CXX executable db_connector.exe
CMakeFiles\db_connector.dir/objects.a(main.cpp.obj): In function `main':
G:/DB_Connector/CLion/db_connector/src/main.cpp:5: undefined reference to `__imp__ZN12QApplicationC1ERiPPci'
G:/DB_Connector/CLion/db_connector/src/main.cpp:6: undefined reference to `__imp__ZN11QPushButtonC1ERK7QStringP7QWidget'
G:/DB_Connector/CLion/db_connector/src/main.cpp:8: undefined reference to `__imp__ZN7QWidget4showEv'
G:/DB_Connector/CLion/db_connector/src/main.cpp:9: undefined reference to `__imp__ZN12QApplication4execEv'
G:/DB_Connector/CLion/db_connector/src/main.cpp:6: undefined reference to `__imp__ZN11QPushButtonD1Ev'
G:/DB_Connector/CLion/db_connector/src/main.cpp:5: undefined reference to `__imp__ZN12QApplicationD1Ev'
G:/DB_Connector/CLion/db_connector/src/main.cpp:6: undefined reference to `__imp__ZN11QPushButtonD1Ev'
G:/DB_Connector/CLion/db_connector/src/main.cpp:5: undefined reference to `__imp__ZN12QApplicationD1Ev'
CMakeFiles\db_connector.dir/objects.a(main.cpp.obj): In function `QString::QString(char const*)':
E:/Qt_Creator/5.15.0/msvc2019_64/include/QtCore/qstring.h:831: undefined reference to `__imp__ZN7QString16fromAscii_helperEPKci'
CMakeFiles\db_connector.dir/objects.a(main.cpp.obj): In function `QWidget::resize(int, int)':
E:/Qt_Creator/5.15.0/msvc2019_64/include/QtWidgets/qwidget.h:854: undefined reference to `__imp__ZN7QWidget6resizeERK5QSize'
CMakeFiles\db_connector.dir/objects.a(main.cpp.obj): In function `QTypedArrayData<unsigned short>::deallocate(QArrayData*)':
E:/Qt_Creator/5.15.0/msvc2019_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp__ZN10QArrayData10deallocateEPS_yy'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[3]: *** [src\CMakeFiles\db_connector.dir\build.make:134: src/db_connector.exe] Error 1
mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:226: src/CMakeFiles/db_connector.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:233: src/CMakeFiles/db_connector.dir/rule] Error 2
mingw32-make.exe: *** [Makefile:195: db_connector] Error 2
davidgiven commented 8 months ago

I know this one, because I've just run into it: the compiler has found the non static include files. On Windows these contain magic necessary to force linkage to a DLL. You'll need to use the specific pkg-config setup provided by qt-static.