I merged the executable from the QML project into a separate folder and added the libraries via windeployqt, but when I run the executable, nothing happens at all, even the error is not knocked out. Although if you throw it into mingw492_32 \ bin everything works fine.

Closed due to the fact that it was off topic by aleksandr barakin , Bald , user194374, zRrr , cheops July 24, '16 at 7:34 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - aleksandr barakin, Bald, community spirit, zRrr, cheops
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • If possible, publish the solution found in response to your question . I am sure it will help many of your colleagues in the future. - Nicolas Chabanovsky

3 answers 3

Install Dependency Walker and see which dll-libraries are not enough. Since you are using MinGW, you won’t get along with windeployqt

Most likely, the following libraries are missing:

  • libstdc ++ - 6.dll
  • libwinpthread-1.dll
  • libgcc_s_sjlj-1.dll
  • He tried to find something like that, but when specifying the mingw492_32 \ bin folder for adding, he didn’t see the necessary libraries there, although I’ll repeat in bin everything works - Amir Afendin
  • I'll check your libraries now - Amir Afendin
  • it did not help, libgcc_s_sjlj-1.dll was missing but dependency walker didn’t speak about it, downloaded it, threw it into a folder for everyone, but it still didn’t work - Amir Afendin
  • If absent, then you use SEH to handle exceptions, see the library libgcc_s_seh-1.dll. But in order not to guess, just look at the list of dlls that the walker does not find. Perhaps you are using something else. - Pavel Parshin
  • seh didn't help either, the walker gives out all sorts of sludge like "API-MS-WIN-SERVICE-PRIVATE-L1-1-1.DLL", but in the bin folder everything works fine without it - Amir Afendin

Before launching windeployqt.exe, I forgot to drop the qml file in the folder with the exe file

    You need to drop the following folders and files into the exe folder: enter image description here

    • Already solved the problem, it was necessary to throw the qml file in the same folder where the executable was before windeployqt, but thanks for the answer - Amir Afendin