I’m getting started with Qt and have encountered the following issue: when i compile and run my application from within QtCreator it runs all right, but when i go to the debug folder and double click .exe file to launch the app a message box pops up and it says
This application has failed to start because QtDeclaratived4.dll was not found. Re-installing the application may fix this problem
Please notice – it is QtDeclaratived4.dll with letter d before 4, not QtDeclarative4.dll.
After searching in Google i found an advice to find the needed dll and put it inside project folder. But unfortunately such .dll is missing on my computer. I found QtDeclarative4.dll and tried putting it inside project folder but it didn’t help. Can you propose me any other solution?
The
din the name indicates the debug version of Qt, which means that you compiled your application using the debug build.You probably have this DLL on your computer and Qt Creator knows where it is, that’s why it is able to run your application. However, you don’t have the path to this library configured in your
PATHenvironment variable, that’s you are not able to executable your application manually (i.e. outside Qt Creator).To fix this issue, you have 2 choices:
QtDeclaratived4.dllto thePATHenvironment variable.