Can't execute the .exe file of my programm



  • Hello,
    I started working with the Qt Creator a few weeks ago under Windows 8 with the MinGW Compiler.
    So I built my program and starting it under the IDE works perfectely. But when I look into the directory and start the .exe file by itself, it says there are some dll's missing. So I copy them into the directory with my program. Now every time I start the program it failes and gives me following notification:

    "The procedure entry point "_ZN12QFontMetricsC1ERK5QFont" could not be
    located in the DLL "C:...\program.exe""

    Do you know what I'm doing wrong?
    Thanks for your help


  • Moderators

    Hi,

    [quote]“The procedure entry point “_ZN12QFontMetricsC1ERK5QFont” could not be located in the DLL “C:\…\program.exe”“[/quote]You have taken the wrong version of the DLL

    I'm guessing that you took the DLLs from Qt Creator's folder. Those DLLs should not be touched.

    Take them from your Qt folder instead. See the diagram at http://qt-project.org/wiki/Deploy_an_Application_on_Windows



  • Thank you very much. That solved my problem :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.