Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Application won't run inside Qt Creator, but will run in an external directory with required dlls on Windows 7
Qt 6.12 LTS is out! See what's new in the release blog

Application won't run inside Qt Creator, but will run in an external directory with required dlls on Windows 7

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 2.6k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I have no problems building the application, but I'm unable to run it from Qt Creator. When I copy the executable to another location and copy the required dll's to that location, the application runs fine.

    So i'm assuming that Qt Creator is not able to find the right dll's when running the application, but I rechecked my environment variables just to make sure I wasn't missing anything but everything seems okay thee. This is the error I get when I hit run "The program has unexpectedly finished.
    C:...\release\example.exe exited with code -1073741511"
    pops up in the application output. I should mention that I have a previous installation of Qt that does not have this problem.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      It's an issues with the DLL. Check the solutions proposed at several similar threads:

      • "[SOLVED]The program has unexpectedly finished ...exited with code -1073741511":http://qt-project.org/forums/viewthread/26203
      • "[SOLVED] QT 5.0.2 Win 8 and exited with code -1073741511. Modules with different CPU types?":http://qt-project.org/forums/viewthread/27341

      http://anavi.org/

      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
      • Unsolved