Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Deployment DLL error: Couldn't find entry point in DLL "myProject.exe"
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Deployment DLL error: Couldn't find entry point in DLL "myProject.exe"

Scheduled Pinned Locked Moved General and Desktop
deploymentdllexe
3 Posts 2 Posters 2.9k 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.
  • T Offline
    T Offline
    Tecnova
    wrote on last edited by Tecnova
    #1

    Hello everyone,
    I'm trying to deploy my finished program. I have copied all the requiered dll that the exe needs to run (I used a dependecy walker for this). When I start the exe I get a strange error message:

    The procedure entry point "Z21qRegisterResourceDataiPKhS0_S0" could't be found in DLL "myProject.exe"
    (Hope I translated the german error message correct)

    When I build and run it with the QtCreator it works fine.
    In one class I load a dll file with QLibrary, could there be any problems with that?
    I couldn't find any solutions to this problem and I have no idea what to do with this error message.
    Thanks for any help or ideas that you can offer.

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, "Z21qRegisterResourceDataiPKhS0_S0" is a function inside Qt5Core.dll (which your program wants), I think you copied Qt5Core.dll but maybe you copied the wrong one.

      Because your installation of Qt I think you have 2 different Qt5Core.dll, one with and without that entry point. The bad one is located in C:\Qt\Tools\QtCreator\bin and the good one is located in C:\Qt\5.4\mingw491_32\bin.

      So when you want to deploy your app, copy all the DLLs from the mingw491_32 directory.

      1 Reply Last reply
      2
      • T Offline
        T Offline
        Tecnova
        wrote on last edited by
        #3

        yes that was the problem thanks ^^

        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