Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Using static Qt for project with MinGW64

Using static Qt for project with MinGW64

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 2 Posters 531 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    Umbrecht
    wrote on 26 Oct 2024, 12:43 last edited by
    #1

    Hello,

    I build qt-everywhere-src-6.7.2 static with MSYS and MinGW64 with the following commands (only a minimalistic build for GUI using):

    ../configure.bat -platform win32-g++ ^
        -static ^
        -static-runtime ^
        -release ^
        -opensource -confirm-license ^
        -nomake tests -nomake examples ^
        -no-opengl -no-dbus ^
        -no-icu -no-glib -no-feature-zstd -qt-libjpeg -no-feature-png ^
        -no-opengl -no-dbus -no-feature-sql -no-feature-xml -no-feature-opengl -skip qt3d ^
        -skip qtwebengine -skip qtserialport -skip qtsensors -skip qtlocation ^
        -skip qtpositioning -skip qtquick3d -skip qtsql -skip qtwebsockets ^
        -skip qtmultimedia -skip qtdeclarative -skip qtwebview -skip qtconnectivity ^
        -skip qtremoteobjects -skip qtgraphs -skip qtdoc -skip qtlottie -skip qtmqtt ^
        -skip qtopcua -skip qtquick3dphysics -skip qtquickeffectmaker -skip qtquicktimeline -skip qtspeech -skip qtvirtualkeyboard  ^
        -prefix ../qt6 ^
        QMAKE_CFLAGS="-static-libgcc -static-libstdc++" ^
        QMAKE_CXXFLAGS="-static-libgcc -static-libstdc++"
    

    For building my application I used following command:

    g++ %pname%\%val% %pname%\Version.o %pname%\Bild.o %pname%\manifest.o ^
            -LC:\MinGW64\bin\proj\_ERZ_LIBRARY\_BUILD -l:ERZ_LIBRARY.lib ^
            -I "C:\msys64\_proj\qt6\qt6\qt6\include\QtWidgets" -I "C:\msys64\_proj\qt6\qt6\qt6\include" ^
            -Wl,--start-group ^
            "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Widgets.a" ^
            "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a" ^
            "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a" ^
            "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6BundledLibjpeg.a" ^
            "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6BundledHarfbuzz.a" ^
            "C:\msys64\mingw64\lib\libpcre2-16.a" ^
            "C:\msys64\mingw64\lib\libpcre2-32.a" ^
            "C:\msys64\mingw64\lib\libpcre2-8.a" ^
            "C:\MinGW64\bin\proj\_GLOBAL\libs\libzlibstatic.a" ^
            -lws2_32 -lwbemuuid -Bstatic ^
            -ld3d11 -ld3d12 -ldxgi -ldwrite ^
            -lpthread -lWinmm -lComdlg32 -lGdi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luserenv -lpdh -lADVAPI32 -lCRYPT32 -lbcrypt -luxtheme -lkernel32 -lAuthz -lmingw32 -lmsvcrt ^
            -lmingwex -lgcc -lgcc_s -Wl,--end-group ^
            -o %pname%\%exe%
    

    I got a lot of linker errors. It seems that the msvc runtime are used, I linked there but it does not help (for the undefined reference to `_setjmp' error).

    Is it possible to use the static Qt6 with MinGW64? My MinGW64 compiler: MinGW-W64 x86_64-ucrt-mcf-seh V13.2.0.

    The errors:

    Parameter var: qt_test.cpp
    Parameter exe: qt_test.exe
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qrhid3d11.cpp.obj):qrhid3d11.cpp:(.rdata$.refptr.WKPDID_D3DDebugObjectName[.refptr.WKPDID_D3DDebugObjectName]+0x0): undefined reference to `WKPDID_D3DDebugObjectName'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qtextmarkdownimporter.cpp.obj):qtextmarkdownimporter.cpp:(.text$_ZN21QTextMarkdownImporter6importERK7QString+0x174): undefined reference to `md_parse'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qfilesystemmodel.cpp.obj):qfilesystemmodel.cpp:(.rdata$.refptr.IID_IShellItem[.refptr.IID_IShellItem]+0x0): undefined reference to `IID_IShellItem'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qgrayraster.c.obj):qgrayraster.c:(.text$gray_convert_glyph_inner.constprop.0+0x2c): undefined reference to `_setjmp'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication.cpp.obj):qcoreapplication.cpp:(.rdata$.refptr.__imp___argc[.refptr.__imp___argc]+0x0): undefined reference to `__imp___argc'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsystemerror.cpp.obj):qsystemerror.cpp:(.text$_ZN12QSystemError16windowsComStringEl+0x4dd): undefined reference to `swprintf_s'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsystemerror.cpp.obj):qsystemerror.cpp:(.text$_ZN12QSystemError16windowsComStringEl+0x521): undefined reference to `swprintf_s'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z16qt_doubleToAsciidN11QLocaleData10DoubleFormEiPcxRbRiS3_+0xa9): undefined reference to `double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*)'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z16qt_asciiToDoublePKcx18StrayCharacterMode+0xf3): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z8qstrntodPKcxPS0_Pb+0xff): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z5qdtoadPiS_+0x8a): undefined reference to `double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*)'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHashC2ENS_9AlgorithmE+0x1af): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHashC2ENS_9AlgorithmE+0x1cf): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash5resetEv+0x19f): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash5resetEv+0x1bf): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5StateC2EN18QCryptographicHash9AlgorithmE+0x17f): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5StateC2EN18QCryptographicHash9AlgorithmE+0x19f): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5resetEv+0x19f): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5resetEv+0x1bf): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State5resetEN18QCryptographicHash9AlgorithmE+0x18f): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State5resetEN18QCryptographicHash9AlgorithmE+0x1af): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State7addDataEN18QCryptographicHash9AlgorithmE14QByteArrayView+0x126): undefined reference to `blake2s_update'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State7addDataEN18QCryptographicHash9AlgorithmE14QByteArrayView+0x156): undefined reference to `blake2b_update'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State17finalizeUncheckedEN18QCryptographicHash9AlgorithmER15QSmallByteArrayILy64EE+0x30f): undefined reference to `blake2b_final'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State17finalizeUncheckedEN18QCryptographicHash9AlgorithmER15QSmallByteArrayILy64EE+0x3d9): undefined reference to `blake2s_final'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash4hashE14QByteArrayViewNS_9AlgorithmE+0x11c): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash4hashE14QByteArrayViewNS_9AlgorithmE+0x1b4): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCodeC2EN18QCryptographicHash9AlgorithmE14QByteArrayView+0x1f3): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCodeC2EN18QCryptographicHash9AlgorithmE14QByteArrayView+0x213): undefined reference to `blake2s_init'        
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode6setKeyE14QByteArrayView+0x1ee): undefined reference to `blake2b_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode6setKeyE14QByteArrayView+0x216): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode4hashE14QByteArrayViewS0_N18QCryptographicHash9AlgorithmE+0x137): undefined reference to `blake2b_init'  
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode4hashE14QByteArrayViewS0_N18QCryptographicHash9AlgorithmE+0x1ef): undefined reference to `blake2s_init'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qfilesystemengine_win.cpp.obj):qfilesystemengine_win.cpp:(.rdata$.refptr.CLSID_FileOperation[.refptr.CLSID_FileOperation]+0x0): undefined reference to `CLSID_FileOperation'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qfilesystemengine_win.cpp.obj):qfilesystemengine_win.cpp:(.rdata$.refptr.IID_IShellLinkW[.refptr.IID_IShellLinkW]+0x0): undefined reference to `IID_IShellLinkW'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_ProgramData[.refptr.FOLDERID_ProgramData]+0x0): undefined reference to `FOLDERID_ProgramData'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_LocalAppDataLow[.refptr.FOLDERID_LocalAppDataLow]+0x0): undefined reference to `FOLDERID_LocalAppDataLow'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Templates[.refptr.FOLDERID_Templates]+0x0): undefined reference to `FOLDERID_Templates'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Public[.refptr.FOLDERID_Public]+0x0): undefined reference to `FOLDERID_Public'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_RoamingAppData[.refptr.FOLDERID_RoamingAppData]+0x0): undefined reference to `FOLDERID_RoamingAppData'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Downloads[.refptr.FOLDERID_Downloads]+0x0): undefined reference to `FOLDERID_Downloads'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_LocalAppData[.refptr.FOLDERID_LocalAppData]+0x0): undefined reference to `FOLDERID_LocalAppData'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Pictures[.refptr.FOLDERID_Pictures]+0x0): undefined reference to `FOLDERID_Pictures'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Videos[.refptr.FOLDERID_Videos]+0x0): undefined reference to `FOLDERID_Videos'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Music[.refptr.FOLDERID_Music]+0x0): undefined reference to `FOLDERID_Music'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Programs[.refptr.FOLDERID_Programs]+0x0): undefined reference to `FOLDERID_Programs'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Fonts[.refptr.FOLDERID_Fonts]+0x0): undefined reference to `FOLDERID_Fonts'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Documents[.refptr.FOLDERID_Documents]+0x0): undefined reference to `FOLDERID_Documents'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Desktop[.refptr.FOLDERID_Desktop]+0x0): undefined reference to `FOLDERID_Desktop'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0xa8): undefined reference to `GetFileVersionInfoSizeW'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0x144): undefined reference to `GetFileVersionInfoW'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0x1b2): undefined reference to `VerQueryValueW'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalEv+0x38): undefined reference to `WaitOnAddress'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalE14QDeadlineTimer+0xb1): undefined reference to `WaitOnAddress'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalE14QDeadlineTimer+0xf8): undefined reference to `WaitOnAddress'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN15QRecursiveMutex7tryLockE14QDeadlineTimer+0xb8): undefined reference to `WaitOnAddress'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex14unlockInternalEv+0xf): undefined reference to `WakeByAddressSingle'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore7acquireEi+0x67): undefined reference to `WaitOnAddress'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore7releaseEi+0x21): undefined reference to `WakeByAddressAll'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore10tryAcquireEi14QDeadlineTimer+0x10d): undefined reference to `WaitOnAddress'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore10tryAcquireEi14QDeadlineTimer+0x1b0): undefined reference to `WaitOnAddress'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNSt10unique_ptrI23pcre2_real_jit_stack_16N12_GLOBAL__N_116PcreJitStackFreeEED2Ev+0xe): undefined reference to `__imp_pcre2_jit_stack_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0x13): undefined reference to `__imp_pcre2_match_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0xbd): undefined reference to `__imp_pcre2_jit_stack_create_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0xd3): undefined reference to `__imp_pcre2_jit_stack_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN28QExplicitlySharedDataPointerI30QRegularExpressionMatchPrivateED2Ev.part.0+0x56): undefined reference to `__imp_pcre2_code_free_16' 
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivateD2Ev+0xe): undefined reference to `__imp_pcre2_code_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate20cleanCompiledPatternEv+0xe): undefined reference to `__imp_pcre2_code_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0xf): undefined reference to `__imp_pcre2_pattern_info_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0x72): undefined reference to `__imp_pcre2_config_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate19captureIndexForNameE11QStringView+0x2f): undefined reference to `__imp_pcre2_pattern_info_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpressionD2Ev+0x21): undefined reference to `__imp_pcre2_code_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN28QExplicitlySharedDataPointerI25QRegularExpressionPrivateED2Ev+0x21): undefined reference to `__imp_pcre2_code_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpressionaSERKS_+0x46): undefined reference to `__imp_pcre2_code_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpression10setPatternERK7QString+0xfc): undefined reference to `__imp_pcre2_code_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpression17setPatternOptionsE6QFlagsINS_13PatternOptionEE+0xac): undefined reference to `__imp_pcre2_code_free_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN23QRegularExpressionMatchC2Ev+0xbc): more undefined references to `__imp_pcre2_code_free_16' follow
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate15optimizePatternEv+0x44): undefined reference to `__imp_pcre2_jit_compile_16'
    C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNK18QRegularExpression18namedCaptureGroupsEv+0x3f): undefined reference to `__imp_pcre2_pattern_info_16'
    collect2.exe: error: ld returned 1 exit status
    
    C 2 Replies Last reply 26 Oct 2024, 13:07
    0
    • U Umbrecht
      26 Oct 2024, 12:43

      Hello,

      I build qt-everywhere-src-6.7.2 static with MSYS and MinGW64 with the following commands (only a minimalistic build for GUI using):

      ../configure.bat -platform win32-g++ ^
          -static ^
          -static-runtime ^
          -release ^
          -opensource -confirm-license ^
          -nomake tests -nomake examples ^
          -no-opengl -no-dbus ^
          -no-icu -no-glib -no-feature-zstd -qt-libjpeg -no-feature-png ^
          -no-opengl -no-dbus -no-feature-sql -no-feature-xml -no-feature-opengl -skip qt3d ^
          -skip qtwebengine -skip qtserialport -skip qtsensors -skip qtlocation ^
          -skip qtpositioning -skip qtquick3d -skip qtsql -skip qtwebsockets ^
          -skip qtmultimedia -skip qtdeclarative -skip qtwebview -skip qtconnectivity ^
          -skip qtremoteobjects -skip qtgraphs -skip qtdoc -skip qtlottie -skip qtmqtt ^
          -skip qtopcua -skip qtquick3dphysics -skip qtquickeffectmaker -skip qtquicktimeline -skip qtspeech -skip qtvirtualkeyboard  ^
          -prefix ../qt6 ^
          QMAKE_CFLAGS="-static-libgcc -static-libstdc++" ^
          QMAKE_CXXFLAGS="-static-libgcc -static-libstdc++"
      

      For building my application I used following command:

      g++ %pname%\%val% %pname%\Version.o %pname%\Bild.o %pname%\manifest.o ^
              -LC:\MinGW64\bin\proj\_ERZ_LIBRARY\_BUILD -l:ERZ_LIBRARY.lib ^
              -I "C:\msys64\_proj\qt6\qt6\qt6\include\QtWidgets" -I "C:\msys64\_proj\qt6\qt6\qt6\include" ^
              -Wl,--start-group ^
              "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Widgets.a" ^
              "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a" ^
              "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a" ^
              "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6BundledLibjpeg.a" ^
              "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6BundledHarfbuzz.a" ^
              "C:\msys64\mingw64\lib\libpcre2-16.a" ^
              "C:\msys64\mingw64\lib\libpcre2-32.a" ^
              "C:\msys64\mingw64\lib\libpcre2-8.a" ^
              "C:\MinGW64\bin\proj\_GLOBAL\libs\libzlibstatic.a" ^
              -lws2_32 -lwbemuuid -Bstatic ^
              -ld3d11 -ld3d12 -ldxgi -ldwrite ^
              -lpthread -lWinmm -lComdlg32 -lGdi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luserenv -lpdh -lADVAPI32 -lCRYPT32 -lbcrypt -luxtheme -lkernel32 -lAuthz -lmingw32 -lmsvcrt ^
              -lmingwex -lgcc -lgcc_s -Wl,--end-group ^
              -o %pname%\%exe%
      

      I got a lot of linker errors. It seems that the msvc runtime are used, I linked there but it does not help (for the undefined reference to `_setjmp' error).

      Is it possible to use the static Qt6 with MinGW64? My MinGW64 compiler: MinGW-W64 x86_64-ucrt-mcf-seh V13.2.0.

      The errors:

      Parameter var: qt_test.cpp
      Parameter exe: qt_test.exe
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qrhid3d11.cpp.obj):qrhid3d11.cpp:(.rdata$.refptr.WKPDID_D3DDebugObjectName[.refptr.WKPDID_D3DDebugObjectName]+0x0): undefined reference to `WKPDID_D3DDebugObjectName'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qtextmarkdownimporter.cpp.obj):qtextmarkdownimporter.cpp:(.text$_ZN21QTextMarkdownImporter6importERK7QString+0x174): undefined reference to `md_parse'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qfilesystemmodel.cpp.obj):qfilesystemmodel.cpp:(.rdata$.refptr.IID_IShellItem[.refptr.IID_IShellItem]+0x0): undefined reference to `IID_IShellItem'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qgrayraster.c.obj):qgrayraster.c:(.text$gray_convert_glyph_inner.constprop.0+0x2c): undefined reference to `_setjmp'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication.cpp.obj):qcoreapplication.cpp:(.rdata$.refptr.__imp___argc[.refptr.__imp___argc]+0x0): undefined reference to `__imp___argc'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsystemerror.cpp.obj):qsystemerror.cpp:(.text$_ZN12QSystemError16windowsComStringEl+0x4dd): undefined reference to `swprintf_s'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsystemerror.cpp.obj):qsystemerror.cpp:(.text$_ZN12QSystemError16windowsComStringEl+0x521): undefined reference to `swprintf_s'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z16qt_doubleToAsciidN11QLocaleData10DoubleFormEiPcxRbRiS3_+0xa9): undefined reference to `double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*)'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z16qt_asciiToDoublePKcx18StrayCharacterMode+0xf3): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z8qstrntodPKcxPS0_Pb+0xff): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z5qdtoadPiS_+0x8a): undefined reference to `double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*)'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHashC2ENS_9AlgorithmE+0x1af): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHashC2ENS_9AlgorithmE+0x1cf): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash5resetEv+0x19f): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash5resetEv+0x1bf): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5StateC2EN18QCryptographicHash9AlgorithmE+0x17f): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5StateC2EN18QCryptographicHash9AlgorithmE+0x19f): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5resetEv+0x19f): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5resetEv+0x1bf): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State5resetEN18QCryptographicHash9AlgorithmE+0x18f): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State5resetEN18QCryptographicHash9AlgorithmE+0x1af): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State7addDataEN18QCryptographicHash9AlgorithmE14QByteArrayView+0x126): undefined reference to `blake2s_update'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State7addDataEN18QCryptographicHash9AlgorithmE14QByteArrayView+0x156): undefined reference to `blake2b_update'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State17finalizeUncheckedEN18QCryptographicHash9AlgorithmER15QSmallByteArrayILy64EE+0x30f): undefined reference to `blake2b_final'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State17finalizeUncheckedEN18QCryptographicHash9AlgorithmER15QSmallByteArrayILy64EE+0x3d9): undefined reference to `blake2s_final'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash4hashE14QByteArrayViewNS_9AlgorithmE+0x11c): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash4hashE14QByteArrayViewNS_9AlgorithmE+0x1b4): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCodeC2EN18QCryptographicHash9AlgorithmE14QByteArrayView+0x1f3): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCodeC2EN18QCryptographicHash9AlgorithmE14QByteArrayView+0x213): undefined reference to `blake2s_init'        
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode6setKeyE14QByteArrayView+0x1ee): undefined reference to `blake2b_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode6setKeyE14QByteArrayView+0x216): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode4hashE14QByteArrayViewS0_N18QCryptographicHash9AlgorithmE+0x137): undefined reference to `blake2b_init'  
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode4hashE14QByteArrayViewS0_N18QCryptographicHash9AlgorithmE+0x1ef): undefined reference to `blake2s_init'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qfilesystemengine_win.cpp.obj):qfilesystemengine_win.cpp:(.rdata$.refptr.CLSID_FileOperation[.refptr.CLSID_FileOperation]+0x0): undefined reference to `CLSID_FileOperation'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qfilesystemengine_win.cpp.obj):qfilesystemengine_win.cpp:(.rdata$.refptr.IID_IShellLinkW[.refptr.IID_IShellLinkW]+0x0): undefined reference to `IID_IShellLinkW'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_ProgramData[.refptr.FOLDERID_ProgramData]+0x0): undefined reference to `FOLDERID_ProgramData'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_LocalAppDataLow[.refptr.FOLDERID_LocalAppDataLow]+0x0): undefined reference to `FOLDERID_LocalAppDataLow'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Templates[.refptr.FOLDERID_Templates]+0x0): undefined reference to `FOLDERID_Templates'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Public[.refptr.FOLDERID_Public]+0x0): undefined reference to `FOLDERID_Public'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_RoamingAppData[.refptr.FOLDERID_RoamingAppData]+0x0): undefined reference to `FOLDERID_RoamingAppData'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Downloads[.refptr.FOLDERID_Downloads]+0x0): undefined reference to `FOLDERID_Downloads'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_LocalAppData[.refptr.FOLDERID_LocalAppData]+0x0): undefined reference to `FOLDERID_LocalAppData'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Pictures[.refptr.FOLDERID_Pictures]+0x0): undefined reference to `FOLDERID_Pictures'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Videos[.refptr.FOLDERID_Videos]+0x0): undefined reference to `FOLDERID_Videos'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Music[.refptr.FOLDERID_Music]+0x0): undefined reference to `FOLDERID_Music'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Programs[.refptr.FOLDERID_Programs]+0x0): undefined reference to `FOLDERID_Programs'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Fonts[.refptr.FOLDERID_Fonts]+0x0): undefined reference to `FOLDERID_Fonts'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Documents[.refptr.FOLDERID_Documents]+0x0): undefined reference to `FOLDERID_Documents'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Desktop[.refptr.FOLDERID_Desktop]+0x0): undefined reference to `FOLDERID_Desktop'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0xa8): undefined reference to `GetFileVersionInfoSizeW'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0x144): undefined reference to `GetFileVersionInfoW'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0x1b2): undefined reference to `VerQueryValueW'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalEv+0x38): undefined reference to `WaitOnAddress'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalE14QDeadlineTimer+0xb1): undefined reference to `WaitOnAddress'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalE14QDeadlineTimer+0xf8): undefined reference to `WaitOnAddress'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN15QRecursiveMutex7tryLockE14QDeadlineTimer+0xb8): undefined reference to `WaitOnAddress'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex14unlockInternalEv+0xf): undefined reference to `WakeByAddressSingle'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore7acquireEi+0x67): undefined reference to `WaitOnAddress'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore7releaseEi+0x21): undefined reference to `WakeByAddressAll'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore10tryAcquireEi14QDeadlineTimer+0x10d): undefined reference to `WaitOnAddress'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore10tryAcquireEi14QDeadlineTimer+0x1b0): undefined reference to `WaitOnAddress'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNSt10unique_ptrI23pcre2_real_jit_stack_16N12_GLOBAL__N_116PcreJitStackFreeEED2Ev+0xe): undefined reference to `__imp_pcre2_jit_stack_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0x13): undefined reference to `__imp_pcre2_match_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0xbd): undefined reference to `__imp_pcre2_jit_stack_create_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0xd3): undefined reference to `__imp_pcre2_jit_stack_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN28QExplicitlySharedDataPointerI30QRegularExpressionMatchPrivateED2Ev.part.0+0x56): undefined reference to `__imp_pcre2_code_free_16' 
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivateD2Ev+0xe): undefined reference to `__imp_pcre2_code_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate20cleanCompiledPatternEv+0xe): undefined reference to `__imp_pcre2_code_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0xf): undefined reference to `__imp_pcre2_pattern_info_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0x72): undefined reference to `__imp_pcre2_config_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate19captureIndexForNameE11QStringView+0x2f): undefined reference to `__imp_pcre2_pattern_info_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpressionD2Ev+0x21): undefined reference to `__imp_pcre2_code_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN28QExplicitlySharedDataPointerI25QRegularExpressionPrivateED2Ev+0x21): undefined reference to `__imp_pcre2_code_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpressionaSERKS_+0x46): undefined reference to `__imp_pcre2_code_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpression10setPatternERK7QString+0xfc): undefined reference to `__imp_pcre2_code_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpression17setPatternOptionsE6QFlagsINS_13PatternOptionEE+0xac): undefined reference to `__imp_pcre2_code_free_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN23QRegularExpressionMatchC2Ev+0xbc): more undefined references to `__imp_pcre2_code_free_16' follow
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate15optimizePatternEv+0x44): undefined reference to `__imp_pcre2_jit_compile_16'
      C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNK18QRegularExpression18namedCaptureGroupsEv+0x3f): undefined reference to `__imp_pcre2_pattern_info_16'
      collect2.exe: error: ld returned 1 exit status
      
      C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 26 Oct 2024, 13:07 last edited by
      #2

      @Umbrecht said in Using static Qt for project with MinGW64:

      Is it possible to use the static Qt6 with MinGW64?

      Yes. Use a proper build system which automatically adds all missing dependencies instead invoking g++ manually.
      Your are missing some static qt and winapi libs as it seems.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      U 1 Reply Last reply 26 Oct 2024, 15:12
      0
      • C Christian Ehrlicher
        26 Oct 2024, 13:07

        @Umbrecht said in Using static Qt for project with MinGW64:

        Is it possible to use the static Qt6 with MinGW64?

        Yes. Use a proper build system which automatically adds all missing dependencies instead invoking g++ manually.
        Your are missing some static qt and winapi libs as it seems.

        U Offline
        U Offline
        Umbrecht
        wrote on 26 Oct 2024, 15:12 last edited by
        #3

        @Christian-Ehrlicher said in Using static Qt for project with MinGW64:

        Use a proper build system which automatically adds all missing dependencies

        Do you mean to use other languages like python?

        @Christian-Ehrlicher said in Using static Qt for project with MinGW64:

        and winapi libs

        but which one?

        C 1 Reply Last reply 26 Oct 2024, 16:04
        0
        • U Umbrecht
          26 Oct 2024, 15:12

          @Christian-Ehrlicher said in Using static Qt for project with MinGW64:

          Use a proper build system which automatically adds all missing dependencies

          Do you mean to use other languages like python?

          @Christian-Ehrlicher said in Using static Qt for project with MinGW64:

          and winapi libs

          but which one?

          C Offline
          C Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 26 Oct 2024, 16:04 last edited by
          #4

          @Umbrecht said in Using static Qt for project with MinGW64:

          Do you mean to use other languages like python?

          A build system like cmake or qmake

          but which one?

          Look at the missing functions and look in the https://visualstudio.microsoft.com/en/msdn-platforms/ to find out in which dll they are... or use a proper build system.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          U 1 Reply Last reply 26 Oct 2024, 19:01
          0
          • C Christian Ehrlicher
            26 Oct 2024, 16:04

            @Umbrecht said in Using static Qt for project with MinGW64:

            Do you mean to use other languages like python?

            A build system like cmake or qmake

            but which one?

            Look at the missing functions and look in the https://visualstudio.microsoft.com/en/msdn-platforms/ to find out in which dll they are... or use a proper build system.

            U Offline
            U Offline
            Umbrecht
            wrote on 26 Oct 2024, 19:01 last edited by Umbrecht
            #5

            @Christian-Ehrlicher said in Using static Qt for project with MinGW64:

            cmake

            I tried cmake before using the g++ method. But i got some errors like

            Could NOT find WrapSystemPCRE2 (missing: PCRE2_LIBRARIES __pcre2_found)
            

            Thank you, I will take a look.

            1 Reply Last reply
            0
            • U Umbrecht
              26 Oct 2024, 12:43

              Hello,

              I build qt-everywhere-src-6.7.2 static with MSYS and MinGW64 with the following commands (only a minimalistic build for GUI using):

              ../configure.bat -platform win32-g++ ^
                  -static ^
                  -static-runtime ^
                  -release ^
                  -opensource -confirm-license ^
                  -nomake tests -nomake examples ^
                  -no-opengl -no-dbus ^
                  -no-icu -no-glib -no-feature-zstd -qt-libjpeg -no-feature-png ^
                  -no-opengl -no-dbus -no-feature-sql -no-feature-xml -no-feature-opengl -skip qt3d ^
                  -skip qtwebengine -skip qtserialport -skip qtsensors -skip qtlocation ^
                  -skip qtpositioning -skip qtquick3d -skip qtsql -skip qtwebsockets ^
                  -skip qtmultimedia -skip qtdeclarative -skip qtwebview -skip qtconnectivity ^
                  -skip qtremoteobjects -skip qtgraphs -skip qtdoc -skip qtlottie -skip qtmqtt ^
                  -skip qtopcua -skip qtquick3dphysics -skip qtquickeffectmaker -skip qtquicktimeline -skip qtspeech -skip qtvirtualkeyboard  ^
                  -prefix ../qt6 ^
                  QMAKE_CFLAGS="-static-libgcc -static-libstdc++" ^
                  QMAKE_CXXFLAGS="-static-libgcc -static-libstdc++"
              

              For building my application I used following command:

              g++ %pname%\%val% %pname%\Version.o %pname%\Bild.o %pname%\manifest.o ^
                      -LC:\MinGW64\bin\proj\_ERZ_LIBRARY\_BUILD -l:ERZ_LIBRARY.lib ^
                      -I "C:\msys64\_proj\qt6\qt6\qt6\include\QtWidgets" -I "C:\msys64\_proj\qt6\qt6\qt6\include" ^
                      -Wl,--start-group ^
                      "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Widgets.a" ^
                      "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a" ^
                      "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a" ^
                      "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6BundledLibjpeg.a" ^
                      "C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6BundledHarfbuzz.a" ^
                      "C:\msys64\mingw64\lib\libpcre2-16.a" ^
                      "C:\msys64\mingw64\lib\libpcre2-32.a" ^
                      "C:\msys64\mingw64\lib\libpcre2-8.a" ^
                      "C:\MinGW64\bin\proj\_GLOBAL\libs\libzlibstatic.a" ^
                      -lws2_32 -lwbemuuid -Bstatic ^
                      -ld3d11 -ld3d12 -ldxgi -ldwrite ^
                      -lpthread -lWinmm -lComdlg32 -lGdi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luserenv -lpdh -lADVAPI32 -lCRYPT32 -lbcrypt -luxtheme -lkernel32 -lAuthz -lmingw32 -lmsvcrt ^
                      -lmingwex -lgcc -lgcc_s -Wl,--end-group ^
                      -o %pname%\%exe%
              

              I got a lot of linker errors. It seems that the msvc runtime are used, I linked there but it does not help (for the undefined reference to `_setjmp' error).

              Is it possible to use the static Qt6 with MinGW64? My MinGW64 compiler: MinGW-W64 x86_64-ucrt-mcf-seh V13.2.0.

              The errors:

              Parameter var: qt_test.cpp
              Parameter exe: qt_test.exe
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qrhid3d11.cpp.obj):qrhid3d11.cpp:(.rdata$.refptr.WKPDID_D3DDebugObjectName[.refptr.WKPDID_D3DDebugObjectName]+0x0): undefined reference to `WKPDID_D3DDebugObjectName'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qtextmarkdownimporter.cpp.obj):qtextmarkdownimporter.cpp:(.text$_ZN21QTextMarkdownImporter6importERK7QString+0x174): undefined reference to `md_parse'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qfilesystemmodel.cpp.obj):qfilesystemmodel.cpp:(.rdata$.refptr.IID_IShellItem[.refptr.IID_IShellItem]+0x0): undefined reference to `IID_IShellItem'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Gui.a(qgrayraster.c.obj):qgrayraster.c:(.text$gray_convert_glyph_inner.constprop.0+0x2c): undefined reference to `_setjmp'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication.cpp.obj):qcoreapplication.cpp:(.rdata$.refptr.__imp___argc[.refptr.__imp___argc]+0x0): undefined reference to `__imp___argc'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsystemerror.cpp.obj):qsystemerror.cpp:(.text$_ZN12QSystemError16windowsComStringEl+0x4dd): undefined reference to `swprintf_s'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsystemerror.cpp.obj):qsystemerror.cpp:(.text$_ZN12QSystemError16windowsComStringEl+0x521): undefined reference to `swprintf_s'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z16qt_doubleToAsciidN11QLocaleData10DoubleFormEiPcxRbRiS3_+0xa9): undefined reference to `double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*)'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z16qt_asciiToDoublePKcx18StrayCharacterMode+0xf3): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z8qstrntodPKcxPS0_Pb+0xff): undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qlocale_tools.cpp.obj):qlocale_tools.cpp:(.text$_Z5qdtoadPiS_+0x8a): undefined reference to `double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*)'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHashC2ENS_9AlgorithmE+0x1af): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHashC2ENS_9AlgorithmE+0x1cf): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash5resetEv+0x19f): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash5resetEv+0x1bf): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5StateC2EN18QCryptographicHash9AlgorithmE+0x17f): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5StateC2EN18QCryptographicHash9AlgorithmE+0x19f): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5resetEv+0x19f): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5resetEv+0x1bf): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State5resetEN18QCryptographicHash9AlgorithmE+0x18f): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State5resetEN18QCryptographicHash9AlgorithmE+0x1af): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State7addDataEN18QCryptographicHash9AlgorithmE14QByteArrayView+0x126): undefined reference to `blake2s_update'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State7addDataEN18QCryptographicHash9AlgorithmE14QByteArrayView+0x156): undefined reference to `blake2b_update'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State17finalizeUncheckedEN18QCryptographicHash9AlgorithmER15QSmallByteArrayILy64EE+0x30f): undefined reference to `blake2b_final'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN25QCryptographicHashPrivate5State17finalizeUncheckedEN18QCryptographicHash9AlgorithmER15QSmallByteArrayILy64EE+0x3d9): undefined reference to `blake2s_final'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash4hashE14QByteArrayViewNS_9AlgorithmE+0x11c): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN18QCryptographicHash4hashE14QByteArrayViewNS_9AlgorithmE+0x1b4): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCodeC2EN18QCryptographicHash9AlgorithmE14QByteArrayView+0x1f3): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCodeC2EN18QCryptographicHash9AlgorithmE14QByteArrayView+0x213): undefined reference to `blake2s_init'        
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode6setKeyE14QByteArrayView+0x1ee): undefined reference to `blake2b_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode6setKeyE14QByteArrayView+0x216): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode4hashE14QByteArrayViewS0_N18QCryptographicHash9AlgorithmE+0x137): undefined reference to `blake2b_init'  
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcryptographichash.cpp.obj):qcryptographichash.cpp:(.text$_ZN26QMessageAuthenticationCode4hashE14QByteArrayViewS0_N18QCryptographicHash9AlgorithmE+0x1ef): undefined reference to `blake2s_init'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qfilesystemengine_win.cpp.obj):qfilesystemengine_win.cpp:(.rdata$.refptr.CLSID_FileOperation[.refptr.CLSID_FileOperation]+0x0): undefined reference to `CLSID_FileOperation'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qfilesystemengine_win.cpp.obj):qfilesystemengine_win.cpp:(.rdata$.refptr.IID_IShellLinkW[.refptr.IID_IShellLinkW]+0x0): undefined reference to `IID_IShellLinkW'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_ProgramData[.refptr.FOLDERID_ProgramData]+0x0): undefined reference to `FOLDERID_ProgramData'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_LocalAppDataLow[.refptr.FOLDERID_LocalAppDataLow]+0x0): undefined reference to `FOLDERID_LocalAppDataLow'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Templates[.refptr.FOLDERID_Templates]+0x0): undefined reference to `FOLDERID_Templates'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Public[.refptr.FOLDERID_Public]+0x0): undefined reference to `FOLDERID_Public'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_RoamingAppData[.refptr.FOLDERID_RoamingAppData]+0x0): undefined reference to `FOLDERID_RoamingAppData'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Downloads[.refptr.FOLDERID_Downloads]+0x0): undefined reference to `FOLDERID_Downloads'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_LocalAppData[.refptr.FOLDERID_LocalAppData]+0x0): undefined reference to `FOLDERID_LocalAppData'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Pictures[.refptr.FOLDERID_Pictures]+0x0): undefined reference to `FOLDERID_Pictures'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Videos[.refptr.FOLDERID_Videos]+0x0): undefined reference to `FOLDERID_Videos'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Music[.refptr.FOLDERID_Music]+0x0): undefined reference to `FOLDERID_Music'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Programs[.refptr.FOLDERID_Programs]+0x0): undefined reference to `FOLDERID_Programs'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Fonts[.refptr.FOLDERID_Fonts]+0x0): undefined reference to `FOLDERID_Fonts'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Documents[.refptr.FOLDERID_Documents]+0x0): undefined reference to `FOLDERID_Documents'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qstandardpaths_win.cpp.obj):qstandardpaths_win.cpp:(.rdata$.refptr.FOLDERID_Desktop[.refptr.FOLDERID_Desktop]+0x0): undefined reference to `FOLDERID_Desktop'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0xa8): undefined reference to `GetFileVersionInfoSizeW'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0x144): undefined reference to `GetFileVersionInfoW'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qcoreapplication_win.cpp.obj):qcoreapplication_win.cpp:(.text$_ZNK23QCoreApplicationPrivate10appVersionEv+0x1b2): undefined reference to `VerQueryValueW'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalEv+0x38): undefined reference to `WaitOnAddress'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalE14QDeadlineTimer+0xb1): undefined reference to `WaitOnAddress'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex12lockInternalE14QDeadlineTimer+0xf8): undefined reference to `WaitOnAddress'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN15QRecursiveMutex7tryLockE14QDeadlineTimer+0xb8): undefined reference to `WaitOnAddress'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qmutex.cpp.obj):qmutex.cpp:(.text$_ZN11QBasicMutex14unlockInternalEv+0xf): undefined reference to `WakeByAddressSingle'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore7acquireEi+0x67): undefined reference to `WaitOnAddress'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore7releaseEi+0x21): undefined reference to `WakeByAddressAll'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore10tryAcquireEi14QDeadlineTimer+0x10d): undefined reference to `WaitOnAddress'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qsemaphore.cpp.obj):qsemaphore.cpp:(.text$_ZN10QSemaphore10tryAcquireEi14QDeadlineTimer+0x1b0): undefined reference to `WaitOnAddress'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNSt10unique_ptrI23pcre2_real_jit_stack_16N12_GLOBAL__N_116PcreJitStackFreeEED2Ev+0xe): undefined reference to `__imp_pcre2_jit_stack_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0x13): undefined reference to `__imp_pcre2_match_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0xbd): undefined reference to `__imp_pcre2_jit_stack_create_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZL19safe_pcre2_match_16PK18pcre2_real_code_16PKtxxiP24pcre2_real_match_data_16P27pcre2_real_match_context_16+0xd3): undefined reference to `__imp_pcre2_jit_stack_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN28QExplicitlySharedDataPointerI30QRegularExpressionMatchPrivateED2Ev.part.0+0x56): undefined reference to `__imp_pcre2_code_free_16' 
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivateD2Ev+0xe): undefined reference to `__imp_pcre2_code_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate20cleanCompiledPatternEv+0xe): undefined reference to `__imp_pcre2_code_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0xf): undefined reference to `__imp_pcre2_pattern_info_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate14getPatternInfoEv+0x72): undefined reference to `__imp_pcre2_config_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNK25QRegularExpressionPrivate19captureIndexForNameE11QStringView+0x2f): undefined reference to `__imp_pcre2_pattern_info_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpressionD2Ev+0x21): undefined reference to `__imp_pcre2_code_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN28QExplicitlySharedDataPointerI25QRegularExpressionPrivateED2Ev+0x21): undefined reference to `__imp_pcre2_code_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpressionaSERKS_+0x46): undefined reference to `__imp_pcre2_code_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpression10setPatternERK7QString+0xfc): undefined reference to `__imp_pcre2_code_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN18QRegularExpression17setPatternOptionsE6QFlagsINS_13PatternOptionEE+0xac): undefined reference to `__imp_pcre2_code_free_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN23QRegularExpressionMatchC2Ev+0xbc): more undefined references to `__imp_pcre2_code_free_16' follow
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZN25QRegularExpressionPrivate15optimizePatternEv+0x44): undefined reference to `__imp_pcre2_jit_compile_16'
              C:/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\_proj\qt6\qt6\qt6\lib\libQt6Core.a(qregularexpression.cpp.obj):qregularexpression.cpp:(.text$_ZNK18QRegularExpression18namedCaptureGroupsEv+0x3f): undefined reference to `__imp_pcre2_pattern_info_16'
              collect2.exe: error: ld returned 1 exit status
              
              C Offline
              C Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 27 Oct 2024, 08:33 last edited by
              #6

              @Umbrecht said in Using static Qt for project with MinGW64:

              C:\msys64

              Don't mix MinGW and MSys.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              U 1 Reply Last reply 28 Oct 2024, 12:52
              1
              • C Christian Ehrlicher
                27 Oct 2024, 08:33

                @Umbrecht said in Using static Qt for project with MinGW64:

                C:\msys64

                Don't mix MinGW and MSys.

                U Offline
                U Offline
                Umbrecht
                wrote on 28 Oct 2024, 12:52 last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0

                1/7

                26 Oct 2024, 12:43

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved