Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt5Cored.dll missing when trying to run application

I'm using Visual Studio 2013 Ultimate.

My Qt version is 5.2.1

Am using a specific build for VS2013 which I obtained from here.

Now, what I did:

  1. Created a new Qt Application from Visual Studio.
  2. Typed in my logic and the code.
  3. Built it successfully in x64 Debug mode.
  4. Ran the application successfully.

Everything good so far.

Now the problem:

  1. I restart my Visual Studio and load the project.
  2. It is built successfully (in x64 Debug).
  3. Now, am unable to run it. I get the error:

    The program can't start because Qt5Cored.dll is missing from your computer.
    Try reinstalling the program to fix this problem.
    

It ran the first time when I created the application. Now it won't run.

I tried simulating the problem, and this happens everytime. Runs the first time, and doesn't run after Visual Studio restart.

Please help me resolve this issue.

Thanks in advance.

like image 465
Tzar Avatar asked Oct 16 '25 22:10

Tzar


1 Answers

From project properties you have to go to debugging -> Environment -> and write PATH=qt5 dll paths Or you have to put the dlls next to the exe.

like image 179
Hazem Abdullah Avatar answered Oct 19 '25 11:10

Hazem Abdullah