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. The programme can't start because xxx.dll is missing...
Forum Updated to NodeBB v4.3 + New Features

The programme can't start because xxx.dll is missing...

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 1.6k Views
  • 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.
  • qazaq408Q Offline
    qazaq408Q Offline
    qazaq408
    wrote on last edited by
    #1

    win7+Qt5.9+ming32
    I need release a programme but i always static compile Qt fail.....So I use "windeployqt" tool to make a release programme.
    1 QtCreate compile release version
    2 copy ./release/MyPro.exe to another new dirctory,E:/FinishExe
    3 open dos,and use order:
    cd E:/FinishExe
    windeployqt MyPro.exe

    Everything is always Ok in past one mouth,but yestoday I do some change in project.(Forgie me,there are so many things in company that i forget what i changed,I only remember the change isn't very small.)
    Today,I reapet three procedure above to build a programme.When I launch the exe in another computer that don't install Qt,the system(win7)tell me
    "The programme can't start beacuse libgcc_s_dz-1.dll is missing..."

    I open my Qt dirctory to find the dll,and put this dll into the dirctory of the programme,the system tell me in the order,
    "libstdc++-6.dll is missing"
    "libwinpthread-1.dll is missing"

    I swear to brother CHUN,the programme can running on last week,why this three dll can't be put pack today?
    Or three dll is special object and need special method?

    qazaq408Q RatzzR JonBJ 3 Replies Last reply
    0
    • qazaq408Q qazaq408

      win7+Qt5.9+ming32
      I need release a programme but i always static compile Qt fail.....So I use "windeployqt" tool to make a release programme.
      1 QtCreate compile release version
      2 copy ./release/MyPro.exe to another new dirctory,E:/FinishExe
      3 open dos,and use order:
      cd E:/FinishExe
      windeployqt MyPro.exe

      Everything is always Ok in past one mouth,but yestoday I do some change in project.(Forgie me,there are so many things in company that i forget what i changed,I only remember the change isn't very small.)
      Today,I reapet three procedure above to build a programme.When I launch the exe in another computer that don't install Qt,the system(win7)tell me
      "The programme can't start beacuse libgcc_s_dz-1.dll is missing..."

      I open my Qt dirctory to find the dll,and put this dll into the dirctory of the programme,the system tell me in the order,
      "libstdc++-6.dll is missing"
      "libwinpthread-1.dll is missing"

      I swear to brother CHUN,the programme can running on last week,why this three dll can't be put pack today?
      Or three dll is special object and need special method?

      qazaq408Q Offline
      qazaq408Q Offline
      qazaq408
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • qazaq408Q qazaq408

        win7+Qt5.9+ming32
        I need release a programme but i always static compile Qt fail.....So I use "windeployqt" tool to make a release programme.
        1 QtCreate compile release version
        2 copy ./release/MyPro.exe to another new dirctory,E:/FinishExe
        3 open dos,and use order:
        cd E:/FinishExe
        windeployqt MyPro.exe

        Everything is always Ok in past one mouth,but yestoday I do some change in project.(Forgie me,there are so many things in company that i forget what i changed,I only remember the change isn't very small.)
        Today,I reapet three procedure above to build a programme.When I launch the exe in another computer that don't install Qt,the system(win7)tell me
        "The programme can't start beacuse libgcc_s_dz-1.dll is missing..."

        I open my Qt dirctory to find the dll,and put this dll into the dirctory of the programme,the system tell me in the order,
        "libstdc++-6.dll is missing"
        "libwinpthread-1.dll is missing"

        I swear to brother CHUN,the programme can running on last week,why this three dll can't be put pack today?
        Or three dll is special object and need special method?

        RatzzR Offline
        RatzzR Offline
        Ratzz
        wrote on last edited by Ratzz
        #3

        @qazaq408

        Can you check your application with http://doc.qt.io/qt-5/windows-deployment.html#application-dependencies ?
        Also this may be helpful.

        --Alles ist gut.

        1 Reply Last reply
        2
        • qazaq408Q qazaq408

          win7+Qt5.9+ming32
          I need release a programme but i always static compile Qt fail.....So I use "windeployqt" tool to make a release programme.
          1 QtCreate compile release version
          2 copy ./release/MyPro.exe to another new dirctory,E:/FinishExe
          3 open dos,and use order:
          cd E:/FinishExe
          windeployqt MyPro.exe

          Everything is always Ok in past one mouth,but yestoday I do some change in project.(Forgie me,there are so many things in company that i forget what i changed,I only remember the change isn't very small.)
          Today,I reapet three procedure above to build a programme.When I launch the exe in another computer that don't install Qt,the system(win7)tell me
          "The programme can't start beacuse libgcc_s_dz-1.dll is missing..."

          I open my Qt dirctory to find the dll,and put this dll into the dirctory of the programme,the system tell me in the order,
          "libstdc++-6.dll is missing"
          "libwinpthread-1.dll is missing"

          I swear to brother CHUN,the programme can running on last week,why this three dll can't be put pack today?
          Or three dll is special object and need special method?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @qazaq408 said in The programme can't start because xxx.dll is missing...:

          libgcc_s_dz-1.dll is missing..."
          "libstdc++-6.dll is missing"
          "libwinpthread-1.dll is missing"

          All of these are gcc/MinGW (not Qt) runtime library files. On your development machine these will always be present. For whatever reason, they are not installed/copied/found on the target machine. I don't know but on a target machine I imagine they are supposed to be in the same directory as your executable(s).

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