0

I'm not able to execute the .exe file form the debug or release folder outside of Qt.

I have followed the suggestion in this and copied qminimal.dll , qwindows.dll to a platforms folder together with the executable but nothing happens when I click on the .exe. No error messages or anything. Any suggestions?

EDIT:

According to Dependency Walker I need these files to run the .exe

I do have all these files in the same folder and still nothing is happening.

enter image description here

Community
  • 1
  • 1
Dimo
  • 3,238
  • 6
  • 29
  • 46
  • 2
    Try to analyze your EXE file with [Dependency Walker](http://www.dependencywalker.com/). – Daniel Daranas Oct 02 '13 at 16:12
  • 1
    See more suggestions in [this question](http://stackoverflow.com/questions/7378959/how-to-check-for-dll-dependency). – Daniel Daranas Oct 02 '13 at 16:14
  • 1
    http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html – Matteo Italia Oct 02 '13 at 16:28
  • 3
    Because that's actually what you need to know (in particular, look under "Creating the application package"). About Dependency Walker, you have to expand the Qt5Widgetsd.dll and Qt5CoreD.dll nodes to see in turn *their* dependencies; also, you have to actually run your application from inside dependency walker to see runtime-loaded dlls. Finally, you should do this job just with the "release" executable. – Matteo Italia Oct 02 '13 at 16:31
  • 1
    Assuming you're on Windows, I'd take a wild guess: could you go in Computer > Computer Management and look at the application event logs ? There might be an error that could help you figure out what causes your app to not start properly. – JBL Oct 02 '13 at 16:35
  • 5
    You're trying to run debug build on a machine that doesn't have debug crt libraries installed. – SigTerm Oct 02 '13 at 18:01
  • Remember that debug builds are not redistributable. – drescherjm Oct 03 '13 at 12:52
  • http://msdn.microsoft.com/en-us/library/aa985618%28v=vs.110%29.aspx – drescherjm Oct 03 '13 at 12:56

0 Answers0