Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Project .exe won't run outside of QT
Qt 6.12 LTS is out! See what's new in the release blog

Project .exe won't run outside of QT

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.2k 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.
  • C Offline
    C Offline
    chabor
    wrote on last edited by chabor
    #1

    Hello everyone,
    if I try to run my release .exe of my project outside of QT I just get the "qt the procedure entry point could not be located" error. I already set the correct path to the correct version of the "mingw/bin" folder in the Qt directory. I also tried just copying the correct .dll files to the release folder with the same effect.
    But when i try to start it over the following .bat file it works:

    @
    set PATH=D:\Qt\5.8\mingw53_32\bin;%PATH%
    project.exe
    @
    

    I have "D:\Qt\5.8\mingw53_32\bin;" added in my path variable so I shouldn't need to do this.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      chabor
      wrote on last edited by
      #3

      I just fixed it. It seems you still have to move some files into the folder.
      I moved the "libgcc_s_dw2-1.dll" "libstdc++-6.dll" "libwinpthread-1.dll" into my release folder and it works.

      1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi
        You should make a deployment folder for it.
        http://www.tripleboot.org/?p=138

        Note the sub folders.

        1 Reply Last reply
        2
        • C Offline
          C Offline
          chabor
          wrote on last edited by
          #3

          I just fixed it. It seems you still have to move some files into the folder.
          I moved the "libgcc_s_dw2-1.dll" "libstdc++-6.dll" "libwinpthread-1.dll" into my release folder and it works.

          1 Reply Last reply
          1

          • Login

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