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. VCRUNTIME140_APP.dll was not found
Forum Updated to NodeBB v4.3 + New Features

VCRUNTIME140_APP.dll was not found

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 2.2k 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.
  • F Offline
    F Offline
    Flaviu 0
    wrote on last edited by
    #1

    I have compiled a github application for Windows, 10, 64bit, with Qt 5.12

    Has compiled fine (with tons of warnings though) with Qt creator and VS2017. Anyway, when I start Release version, I got messages that missing some Qt dlls. Fine. I get a round on here and I saw that I should run windeployqt. Ok, I did that:

    C:\Qt\Qt5.12.10\5.12.10\msvc2017_64>windeployqt.exe D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Release\distrib\MyProject.exe --release
    

    that put me there the need it DLLs, but when try to start my exe, I got:

    1a20707d-3513-448a-9334-94df116c9969-image.png

    The github project is also on 64bit. And I have compiled successfully on 64bit. What I have done wrong ?

    1 Reply Last reply
    0
    • gde23G Offline
      gde23G Offline
      gde23
      wrote on last edited by
      #2

      You shouldn't need to run windeployqt or add any visual studio redistributables when you directly launch the application out of Qt creator. That should only be necessary when you deploy it. So does it run from Qt creator or do you get the missing library error there already?

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Flaviu 0
        wrote on last edited by
        #3

        When I try to start it from Qt Creator, I got:

        09:46:35: The program has unexpectedly finished.
        09:46:35: The process was ended forcefully.
        09:46:35: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Release\distrib\UseCPUOpenGL.exe crashed.
        

        and when I try to start it from Windows Explorer, MyProject.exe, I got that message from the first post.

        jsulmJ 1 Reply Last reply
        0
        • F Flaviu 0

          When I try to start it from Qt Creator, I got:

          09:46:35: The program has unexpectedly finished.
          09:46:35: The process was ended forcefully.
          09:46:35: D:\Project\MyProject\build-src-Desktop_Qt_5_12_10_MSVC2017_64bit-Release\distrib\UseCPUOpenGL.exe crashed.
          

          and when I try to start it from Windows Explorer, MyProject.exe, I got that message from the first post.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Flaviu-0 Start through debugger in QtCreator and see where it crashes

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • F Offline
            F Offline
            Flaviu 0
            wrote on last edited by Flaviu 0
            #5

            Kindly thank you for so fast answer !

            When I did that, I got:

            402a8642-f8c5-4e6b-8ebb-9da01e4fd1ec-image.png

            10:33:07: Debugging starts
            10:33:07: Debugging has finished
            

            Strange ...

            JonBJ 1 Reply Last reply
            0
            • F Flaviu 0

              Kindly thank you for so fast answer !

              When I did that, I got:

              402a8642-f8c5-4e6b-8ebb-9da01e4fd1ec-image.png

              10:33:07: Debugging starts
              10:33:07: Debugging has finished
              

              Strange ...

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

              @Flaviu-0
              Yes, I'm not certain, but that looks like it is the actual CDB process which has unexpectedly exited (obviously making debugging impossible). Can you run it [the CDB] outside of Qt Creator? Is the previous error about VC runtime indicating you are messed up generally?

              1 Reply Last reply
              1
              • F Offline
                F Offline
                Flaviu 0
                wrote on last edited by
                #7

                I have compiled everything again, install the exe on certain location, and ran again windeployqt.exe on the installed path and now seem to go.

                Special thanks all of you for your time, promptness and patience.

                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