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. Procedure entry point not found
Qt 6.11 is out! See what's new in the release blog

Procedure entry point not found

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.4k 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.
  • M Offline
    M Offline
    Morgan Peters
    wrote on last edited by
    #1

    I just finished a program in Qt Creator 3.0.0 based on version 5.2 (MSVC 2010, 32 bit) and I was pretty upset that Qt Creator didn't set static stand alone exes so I could make my program have an installer.

    I clicked the exe of my program and It said I needed about 10 dll's. After I made a new folder, put all the dlls inside, it said, "The Procedure entry point InterlockedCompareExchange@12 could not be located at the dynamic link library c:/test/program.exe." when i tried to click my program.exe to run it.

    I am new to Qt and I am looking for an easy to understand answer to how to make my program run and what that error message is. Thanks.

    I am using the MinGW compiler. Please reply

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can't mix MSVC Qt libraries with MinGW ones (that is, you need to use MinGW Qt when you compile with MinGW).

      Please consult the official "deployment guide":http://qt-project.org/doc/qt-5/windows-deployment.html (see the "Shared" section).

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MuldeR
        wrote on last edited by
        #3

        Morgan Peters,

        as sierdzio said, if you compiled your program with GCC/MinGW, then you will need to ship the GCC/MinGW-based Qt DLL's along with your program. And if you compiled your program with MSVC, then you'll need to ship the MSVC-based Qt DLL's along with your program.

        And if you want a fully self-contained EXE file that does not depend on any external Qt DLL's, then you'll have to compile Qt yourself - as static library.

        __

        BTW: I suggest you use "Dependency Walker":http://www.dependencywalker.com/ to find out on which DLL's your program depends exactly.

        My OpenSource software at: http://muldersoft.com/

        Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

        Go visit the coop: http://youtu.be/Jay...

        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