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. problem related to the file .exe
Forum Updated to NodeBB v4.3 + New Features

problem related to the file .exe

Scheduled Pinned Locked Moved Solved Installation and Deployment
13 Posts 5 Posters 8.0k Views 2 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.
  • M Offline
    M Offline
    maroko
    wrote on last edited by
    #3

    i have disabled the antivirus as you said but the problem is not solved

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #4

      Is tpzero2 your project?
      Why is it located in QtCreator directory *C:\Qt\Tools\QtCreator\bin* ?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maroko
        wrote on last edited by
        #5

        Yes it is.I think the path is not the problem because I have other projects with the same path .

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #6

          You have other projects and they work correctly. Is it right?

          After you built tpzero2 and got "C:\Qt\Tools\QtCreator\bin\build-tpzero2-Desktop_Qt_5_3_MinGW_32bit-Debug\debug\tpzero2.exe does not exist." did you check if the file exists?

          What does "Projects/Run Settings" says about executable file?
          If you try to create a simple Qt App do you have similar error?

          Could you post .pro file.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            maroko
            wrote on last edited by
            #7

            Yes they all work correctly.

            For this project only the icon exist but for the other projects there are icon with the name of the project.
            I have tried to create a Qt App and there are no errors.

            .pro file :
            @
            TEMPLATE = app
            QT += webkitwidgets
            TARGET =
            DEPENDPATH += .
            INCLUDEPATH += .

            SOURCES +=
            main.cpp
            FenPrincipale.cpp

            HEADERS +=
            FenPrincipale.h
            @

            I have took a screen capture for the run settings but I don't know how I post it

            [andreyc EDIT]: Added '@' around the code.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andreyc
              wrote on last edited by
              #8

              I think TARGET should not be empty.

              You can put image to http://imgbox.com/ for example and put a link here.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                maroko
                wrote on last edited by
                #9

                !http://imgbox.com/kIqA3nsf()!
                !http://imgbox.com/QpgDqRJz()!

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  maroko
                  wrote on last edited by
                  #10

                  Thank you very much for the help #andreyc. As you said the problem is in the target because when I put TARGET as a comment the problem is solved.
                  Thank you again.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    maroko
                    wrote on last edited by
                    #11

                    Thank you also #SGaist.

                    1 Reply Last reply
                    1
                    • JoeBermejalesJ Offline
                      JoeBermejalesJ Offline
                      JoeBermejales
                      wrote on last edited by JoeBermejales
                      #12

                      Hi, sorry for answering to this old post, but I think It could be usefull.

                      In my case, I had the same error "Executable *****.exe does not exist."

                      In order to find a solution, I executed the .exe directly from the Debug folder, and in this case, an error appears: "Program cannot start because a ***.dll is missing", so the problem was there, I miss to include a neccessary DLL into the debug folder, and the Qt IDE Creator didn't give you that information. Once the .dll was placed in the folder, everytning worked fine.

                      I hope this could be usefull for someone in the future.

                      Thanks.

                      http://reparacionplotter.com

                      P 1 Reply Last reply
                      0
                      • JoeBermejalesJ JoeBermejales

                        Hi, sorry for answering to this old post, but I think It could be usefull.

                        In my case, I had the same error "Executable *****.exe does not exist."

                        In order to find a solution, I executed the .exe directly from the Debug folder, and in this case, an error appears: "Program cannot start because a ***.dll is missing", so the problem was there, I miss to include a neccessary DLL into the debug folder, and the Qt IDE Creator didn't give you that information. Once the .dll was placed in the folder, everytning worked fine.

                        I hope this could be usefull for someone in the future.

                        Thanks.

                        P Offline
                        P Offline
                        Padlock
                        wrote on last edited by
                        #13

                        I keep having the same issue with Qt 5.10.1 on Windows. It happens every time when I first build for any other platform. After switching to a Windows version it seems the last path part "debug" of the executable is missing.

                        Solution: Close Qt Creator (4.6.0) after switching to a Windiws kit and running qmake. After the restart it finds the executable.

                        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