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. No exe file generated during release mode in Visual Studio 2022
Forum Updated to NodeBB v4.3 + New Features

No exe file generated during release mode in Visual Studio 2022

Scheduled Pinned Locked Moved Solved Installation and Deployment
7 Posts 3 Posters 3.1k 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.
  • solid snakeS Offline
    solid snakeS Offline
    solid snake
    wrote on last edited by
    #1

    Hi,

    I'm currently stuck in deploying my QT 6.5 project using Visual Studio 2022. My QT Widgets project compiles with no errors and I've set the build to Release x64. However, in my project folder, I do not see any generated exe files in the release folder.

    What I've noticed:
    When I pull down the configuration manager, I see that the Deploy square radio button is greyed out and only the Build button is checked off. I'm not sure why the deploy button is greyed out. Not sure if this is an issue(?)

    In the Output windows during the release build process, the final output is:

    1>MyDeviceApp.vcxproj -> C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe
    ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
    ========== Rebuild started at 2:24 PM and took 11.258 seconds ==========
    

    So this looks like it built correctly. However, when I go into the folder, I don't see the exe. Instead, I notice that there's a file labelled: MyDeviceApp.exe.recipe

    If anyone has any insight on this, I would definitely appreciate the help/direction in how to remedy this issue.

    Regards,R

    SGaistS 1 Reply Last reply
    0
    • solid snakeS solid snake

      Hi,

      I'm currently stuck in deploying my QT 6.5 project using Visual Studio 2022. My QT Widgets project compiles with no errors and I've set the build to Release x64. However, in my project folder, I do not see any generated exe files in the release folder.

      What I've noticed:
      When I pull down the configuration manager, I see that the Deploy square radio button is greyed out and only the Build button is checked off. I'm not sure why the deploy button is greyed out. Not sure if this is an issue(?)

      In the Output windows during the release build process, the final output is:

      1>MyDeviceApp.vcxproj -> C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe
      ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
      ========== Rebuild started at 2:24 PM and took 11.258 seconds ==========
      

      So this looks like it built correctly. However, when I go into the folder, I don't see the exe. Instead, I notice that there's a file labelled: MyDeviceApp.exe.recipe

      If anyone has any insight on this, I would definitely appreciate the help/direction in how to remedy this issue.

      Regards,R

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Any chances you have an anti-virus running that nukes executable files created on your machine ?

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

      solid snakeS 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Any chances you have an anti-virus running that nukes executable files created on your machine ?

        solid snakeS Offline
        solid snakeS Offline
        solid snake
        wrote on last edited by
        #3

        @SGaist

        Hi,
        Thank you for the reply. I only have the built-in Windows 10 Security installed and nothing else. I just did a quick check by deactivating the Virus & threat protection settings and then doing a > clean > rebuild and its still producing the .exe.recipe file and not .exe

        So far, no luck :(

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          Any chances you have an anti-virus running that nukes executable files created on your machine ?

          solid snakeS Offline
          solid snakeS Offline
          solid snake
          wrote on last edited by
          #4

          @SGaist

          I'm able to open the exe.recipe file with Code, the following is the exact output:

          <?xml version="1.0" encoding="utf-8"?>
          <Project>
            <ProjectOutputs>
              <ProjectOutput>
                <FullPath>C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe</FullPath>
              </ProjectOutput>
            </ProjectOutputs>
            <ContentFiles />
            <SatelliteDlls />
            <NonRecipeFileRefs />
          </Project>
          

          ?

          JonBJ 1 Reply Last reply
          0
          • solid snakeS solid snake

            @SGaist

            I'm able to open the exe.recipe file with Code, the following is the exact output:

            <?xml version="1.0" encoding="utf-8"?>
            <Project>
              <ProjectOutputs>
                <ProjectOutput>
                  <FullPath>C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe</FullPath>
                </ProjectOutput>
              </ProjectOutputs>
              <ContentFiles />
              <SatelliteDlls />
              <NonRecipeFileRefs />
            </Project>
            

            ?

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

            @solid-snake
            If you keep a File Explorer window open on C:\repository\MyDeviceApp\x64\Release I don't suppose you see anything come and go?

            If you capture the full, detailed output can you see what steps are/are not being performed?

            solid snakeS 1 Reply Last reply
            0
            • solid snakeS Offline
              solid snakeS Offline
              solid snake
              wrote on last edited by
              #6

              Ok, its been resolved. The VS project apparently created a subfolder:

              If you right-click in the solutions explorer window to open the project folder, I was directed here:

              C:\repository\MyDeviceApp\MyDeviceApp\x64\Release\

              Where its actually located:

              C:\repository\MyDeviceApp\x64\Release\

              VS released it in x64 one level up.

              So the VS output dialog was correct, but I had assumed the open file directory within the solution explorer would take me to the correct Release folder. ugh.

              Thank you again SGaist!
              R.

              1 Reply Last reply
              0
              • JonBJ JonB

                @solid-snake
                If you keep a File Explorer window open on C:\repository\MyDeviceApp\x64\Release I don't suppose you see anything come and go?

                If you capture the full, detailed output can you see what steps are/are not being performed?

                solid snakeS Offline
                solid snakeS Offline
                solid snake
                wrote on last edited by
                #7

                @JonB
                Hi, sorry for the late reply. I'm limited to 10 mins between each response but what you suggested was what I did use for the two different folders and one of them did populate as noted.

                Thank you again.

                1 Reply Last reply
                1
                • solid snakeS solid snake has marked this topic as solved on

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved