Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. .EXE file is not opening and not find exe file
Forum Updated to NodeBB v4.3 + New Features

.EXE file is not opening and not find exe file

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
9 Posts 2 Posters 179 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.
  • P Offline
    P Offline
    Puneeth_BR
    wrote last edited by
    #1

    while i am trying to execute the .exe file getting the below error

    "This application failed to start because no Qt Platform plugin could be initialized. Reinstalling the application may fixe this Problem"

    and It is not generating .exe file after run in release Mode i can not see any error and also not able to find the exe file

    jsulmJ 1 Reply Last reply
    0
    • P Puneeth_BR

      while i am trying to execute the .exe file getting the below error

      "This application failed to start because no Qt Platform plugin could be initialized. Reinstalling the application may fixe this Problem"

      and It is not generating .exe file after run in release Mode i can not see any error and also not able to find the exe file

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @Puneeth_BR said in .EXE file is not opening and not find exe file:

      and It is not generating .exe file after run in release Mode i can not see any error and also not able to find the exe file

      This contradicts with the error you posted. You get this error only if you're trying to start an exe, but plug-ins are missing.
      So, please clarify: are you able to build your app or not? Or it does not generate executable in release mode?

      To get rid of that error you have to deploy your app properly. See https://doc.qt.io/qt-6/deployment.html

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

      1 Reply Last reply
      2
      • P Offline
        P Offline
        Puneeth_BR
        wrote last edited by
        #3

        before it was generating .Exe Now it is not building .exe file in release mode and i am using the version 5.15.2 and mingw 64

        jsulmJ 1 Reply Last reply
        0
        • P Puneeth_BR

          before it was generating .Exe Now it is not building .exe file in release mode and i am using the version 5.15.2 and mingw 64

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

          @Puneeth_BR If it is not building then check the build log to see what is happening...

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

          1 Reply Last reply
          1
          • P Offline
            P Offline
            Puneeth_BR
            wrote last edited by
            #5

            I checked the Log it was a path mistake now it is building but not opening the .exe file getting the Below error.

            "This application failed to start because no Qt Platform plugin could be initialized. Reinstalling the application may fixe this Problem"

            and after running "windeployqt" command i am getting the below error

            The code execution cannot proceed because VCRUNTIME140_APP.dll was not found. Reinstalling may fix the this problem.

            and also for "MSVCP140_APP.dll file

            jsulmJ 1 Reply Last reply
            0
            • P Puneeth_BR

              I checked the Log it was a path mistake now it is building but not opening the .exe file getting the Below error.

              "This application failed to start because no Qt Platform plugin could be initialized. Reinstalling the application may fixe this Problem"

              and after running "windeployqt" command i am getting the below error

              The code execution cannot proceed because VCRUNTIME140_APP.dll was not found. Reinstalling may fix the this problem.

              and also for "MSVCP140_APP.dll file

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote last edited by
              #6

              @Puneeth_BR Are you trying to execute your application on another machine (not the machine where you built it)? If you you will need to install the Microsoft C++ redistributable, see https://answers.microsoft.com/en-us/windows/forum/all/vcruntime140dll-and-msvcp140dll-missing-in-windows/caf454d1-49f4-4d2b-b74a-c83fb7c38625

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

              1 Reply Last reply
              2
              • P Offline
                P Offline
                Puneeth_BR
                wrote last edited by
                #7

                No, I am using same machine for built and execution

                1 Reply Last reply
                0
                • jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote last edited by
                  #8

                  Then install the redistributable on your machine

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

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    Puneeth_BR
                    wrote last edited by
                    #9

                    Okay , @jsulm Thank you

                    I will check it out.

                    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