Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can't execute the .exe file of my programm
Qt 6.11 is out! See what's new in the release blog

Can't execute the .exe file of my programm

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jonas25
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      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

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jonas25
        wrote on last edited by
        #3

        Thank you very much. That solved my problem :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved