Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. uic can't find library with msys2
Forum Update on Monday, May 27th 2025

uic can't find library with msys2

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 525 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.
  • V Offline
    V Offline
    Victor Chubukov
    wrote on last edited by Victor Chubukov
    #1

    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.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Victor Chubukov
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      1

      • Login

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