Created a new Qt project under MSVS-2013, when launching the debugger, an error about the absence of Qt5Cored.dll pops up. With all this, previous projects written earlier, run without problems. Fiercely rekvestiru help.

PS: Before launch, I converted the project to QMake and back to the Add-in as it should be.

PPS: 28.05 The problem is not solved. Has nobody come across such a topic?

  • There is a suspicion that you need to switch to 'Release' - Maxim Timakov
  • There is a suspicion that in release mode, debugging the application will not work. - Dark Dead Dragon
  • And yes, in the release state, it also does not see the library, but already Qt5Core.dll. - Dark Dead Dragon
  • Where is it written that this is the way to do? - Cerbo
  • What can be seen in the DependencyWalker? - Cerbo

3 answers 3

The wooden solution is to add the path to the Qt DLL in the PATH.

If you use Qt Visual Studio Add-in , then this work should be done by it. Moreover, it does this implicitly, it literally processes the start-up debugging event and adds the path to the DLL to its copy of the PATH process (it seems that with the usual non-debugging start it does the same). Accordingly, you must specify this path in the Qt project settings. This is done in order to be able to compile projects for different versions of Qt. So, I remember, I was faced with the fact that the Addin in this place was buggy and prescribed the way through time.

Found one and two . Try, as on the first link the person writes, to rebuild addin.

In general, it is very difficult to judge why your program on your machine does not find the DLL. You wrote what used to work, see what you did with the system during this period of time. And yet, in accordance with the MSDN check whether you have everything configured correctly.

  • Firstly, not the mistakes (I googled these articles too), secondly it did not help. - Dark Dead Dragon
  • Well, in the third - all ways are present. All projects that I wrote earlier are compiled quietly and run without any errors from the system. - Dark Dead Dragon
  • @DarkDeadDragon What and where are the paths present? - Cerbo
  • There is no decision? By the way, in the links offered by you are indicated completely different versions, both IDE and Qt. - Dark Dead Dragon

Check project settings. Most likely an error in the linker (the path is incorrectly spelled out or not registered)

  • The path settings absolutely coincide with the settings of previous projects. They are even located in the same directory. Plus, the default version of QT comes up with the one that (sorry for the pun) is set by default. And I have it installed alone. - Dark Dead Dragon

There is a crooked, absolutely clumsy solution, but it gives at least something - to carry the necessary dll in the folder with the project. I understand that this is not right, but I did not find another solution.

  • one
    I will explain to you as a beginner, that here at RUSO, discussions or references to any political, religious, national or other topics not related to IT and programming, in particular, are prohibited, for other topics there are other platforms. The use of memes is also not welcome, as they do not live long and after a long time become unclear to visitors. - Cerbo
  • It's boring to live like this ... - Dark Dead Dragon
  • @DarkDeadDragon for lulz we have chat (s), join. chat.stackexchange.com/rooms/22462/stack-overflow-- - Nick Volynkin
  • In general, we hate humor here)) meta.ru.stackoverflow.com/q/2697/181472 - Nick Volynkin
  • @Cerbo and what about political discussions? I did not find even a trace of them on this page. - Nick Volynkin 5:46 pm