Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. The application was unable to start correctly 0xc000007b

The application was unable to start correctly 0xc000007b

Scheduled Pinned Locked Moved Solved Installation and Deployment
qt5.8.0qwtvisual studiowindeployqtdeployment
5 Posts 3 Posters 3.3k 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.
  • O Offline
    O Offline
    onat
    wrote on last edited by onat
    #1

    Hello everyone,
    I am developing an application using Qt5.8 and Qwt6.1.3 with Visual Studio on a Windows 10 platform.

    I used windeployqt to generate an exe file from my solution, which always worked without any problems in the past. However, this time it failed and I got the error message in the title when I tried to run the program by double-clicking on the generated exe file. I think the problem is caused by the presence of Qwt. Because in the earlier versions of my program I did not use Qwt and everything ran smooth. I tried copying the qwt.dll to fix the problem, but it did not make a difference.
    How can I fix this problem? Thanks in advance.

    1 Reply Last reply
    0
    • O Offline
      O Offline
      onat
      wrote on last edited by
      #2

      By the way, some more information:
      In the project properties on Visual Studio, I added
      "$(QTDIR)\Qwt-6.1.3\include" under Additional Include Directories,
      "$(QTDIR)\Qwt-6.1.3\lib" under Additional Library Directories,
      "qwt.lib" under Additional Dependencies and QWT_DLL under Preprocessor definitions.
      To generate the exe file, I (as always) followed the instructions on https://github.com/daviddrell/visualsc/wiki/How-to-Deploy-a-Qt-5-Application-for-Windows
      In step 4 of the instructions I copies qwt.dll under the application directory, because it was missing. but it didnt help solve the problem.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        You should use Dependency Walker to check whether you have missing dependencies for your application (e.g. some Qwt stuff).

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • O Offline
          O Offline
          onat
          wrote on last edited by
          #4

          Hello @SGaist,
          I followed your advice and it worked. Apparently the Qt5PrintSupport.dll and Qt5OpenGL.dll files were missing. I copied them to the application directory and it worked.
          Thank you very much.

          1 Reply Last reply
          1
          • V Offline
            V Offline
            veofficial
            wrote on last edited by
            #5

            Perhaps some dll files are missing.

            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