[Solved] qt shared libraries not found



  • when i try to compile a qt and c++ application
    i have this error:

    /cygdrive/c/Users/Benedetto/Documents/NetBeansProjects/Memory/dist/Debug/MinGW-Windows/Memory.exe: error while loading shared libraries: QtGuid4.dll: cannot open shared object file: No such file or directory

    RUN FAILED (exit value 127, total time: 218ms)

    suggestions? :P



  • Those DLLs need to be in the same location as your app or in your environment path variable.



  • QtGuid4.dll this is a "debug-version" Qt DLL, 1. you need check if this file exactly exists , 2. your building can exactly finds it.Try add the lib dir path into environment variable "Path", Or add LIBS += -LThisPath



  • I put the dll requested in the same directory of the executable and it works thanks! :D


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.