Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

uic can't find library with msys2



  • I am using msys2 on Windows, and recently upgraded to QT 5.12. I installed mingw-w64-x86_64-qt5-5.12.4-2. I get the following error when I run uic

    Qt5Core.dll: cannot open shared object file: No such file or directory

    Qt5Core.dll is in /mingw64/bin, which is in my path. If I run ldd /mingw64/uic, it finds Qt5Core.dll successfully.

    Any ideas for what else might be wrong? I've tried reinstalling a few times, but always get the same error.

    Thanks.



  • It looks like I was able to resolve this. ntldd /mingw64/bin/Qt5Core.dll showed that libicuin64.dll and libicuuc64.dll were missing. Installing mingw-w64-x86_64-icu-64.2-1 solved the issue.



  • It looks like I was able to resolve this. ntldd /mingw64/bin/Qt5Core.dll showed that libicuin64.dll and libicuuc64.dll were missing. Installing mingw-w64-x86_64-icu-64.2-1 solved the issue.


Log in to reply