Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Unable to start program c:/..../project.ext The system cannot find the file specified?
Forum Updated to NodeBB v4.3 + New Features

Unable to start program c:/..../project.ext The system cannot find the file specified?

Scheduled Pinned Locked Moved Unsolved Qt 6
12 Posts 3 Posters 1.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
    fawad
    wrote on 9 Feb 2023, 08:47 last edited by
    #1

    um1.png

    J 1 Reply Last reply 9 Feb 2023, 08:50
    0
    • F fawad
      9 Feb 2023, 08:47

      um1.png

      J Offline
      J Offline
      JonB
      wrote on 9 Feb 2023, 08:50 last edited by
      #2

      @fawad

      1. Check that the full .exe path in the error message exists.
      2. Check that all the DLLs it depends on exist and can be found, either in the same directory or on the PATH. I believe Windows reports "cannot find the file specified" against a top-level .exe attempted to be run when actually it is one of its required dependencies which is missing....
      F 2 Replies Last reply 9 Feb 2023, 09:07
      0
      • J JonB
        9 Feb 2023, 08:50

        @fawad

        1. Check that the full .exe path in the error message exists.
        2. Check that all the DLLs it depends on exist and can be found, either in the same directory or on the PATH. I believe Windows reports "cannot find the file specified" against a top-level .exe attempted to be run when actually it is one of its required dependencies which is missing....
        F Offline
        F Offline
        fawad
        wrote on 9 Feb 2023, 09:07 last edited by
        #3

        @JonB um2.png

        J 1 Reply Last reply 9 Feb 2023, 09:15
        0
        • F fawad
          9 Feb 2023, 09:07

          @JonB um2.png

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 9 Feb 2023, 09:15 last edited by
          #4

          @fawad So, you did not build your app

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

          F 1 Reply Last reply 9 Feb 2023, 09:29
          0
          • J JonB
            9 Feb 2023, 08:50

            @fawad

            1. Check that the full .exe path in the error message exists.
            2. Check that all the DLLs it depends on exist and can be found, either in the same directory or on the PATH. I believe Windows reports "cannot find the file specified" against a top-level .exe attempted to be run when actually it is one of its required dependencies which is missing....
            F Offline
            F Offline
            fawad
            wrote on 9 Feb 2023, 09:17 last edited by
            #5

            @JonB The release folder at given path C:\Users\HTCore\Desktop\QT_GUI_Project\Build\Release is empty and how will i know the .DLL files if required for this and where will i palce those .DLL files?

            I am working on to create GUI in QT for the previously existing project of the openinventor (having all code properly execuiting in VS studio and the code include a cmakelist of its own) ---- Now i want to create a QT GUI for that project in a new folder through cmake instead of qmake...... Then i will combile both project in one directroy and will merge/combine the cmakelist of both project and further modifiction in QT GUI -- push button,colors will be performed then... I am new in both platform so i am suffering form various errors... could you help me at my *gmail-- > fawadchosun22@ .... gmail account. If you can guide me how to do it / give me some right direction then i will be make every effort to implement things.

            1 Reply Last reply
            0
            • J jsulm
              9 Feb 2023, 09:15

              @fawad So, you did not build your app

              F Offline
              F Offline
              fawad
              wrote on 9 Feb 2023, 09:29 last edited by
              #6

              @jsulm yes i did't built the app if you have any idea where i am wrong in this?

              J 1 Reply Last reply 9 Feb 2023, 09:30
              0
              • F fawad
                9 Feb 2023, 09:29

                @jsulm yes i did't built the app if you have any idea where i am wrong in this?

                J Offline
                J Offline
                JonB
                wrote on 9 Feb 2023, 09:30 last edited by
                #7

                @fawad
                If you didn't build the app what is it you are expecting to happen if you try to run it??

                F 1 Reply Last reply 9 Feb 2023, 09:39
                0
                • J JonB
                  9 Feb 2023, 09:30

                  @fawad
                  If you didn't build the app what is it you are expecting to happen if you try to run it??

                  F Offline
                  F Offline
                  fawad
                  wrote on 9 Feb 2023, 09:39 last edited by
                  #8

                  @JonB I want to display this simple Mainwindow.UI interface as output on the screen, but it gives error saying .exe in the release folder does not exist.um3.png

                  J 1 Reply Last reply 9 Feb 2023, 09:45
                  0
                  • F fawad
                    9 Feb 2023, 09:39

                    @JonB I want to display this simple Mainwindow.UI interface as output on the screen, but it gives error saying .exe in the release folder does not exist.um3.png

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 9 Feb 2023, 09:45 last edited by jsulm 2 Sept 2023, 09:45
                    #9

                    @fawad You did not understand the question.
                    Your problem is: you're trying to execute an executable which does not yet exist. So, build your app first, then you can execute it...

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

                    F 1 Reply Last reply 9 Feb 2023, 10:17
                    1
                    • J jsulm
                      9 Feb 2023, 09:45

                      @fawad You did not understand the question.
                      Your problem is: you're trying to execute an executable which does not yet exist. So, build your app first, then you can execute it...

                      F Offline
                      F Offline
                      fawad
                      wrote on 9 Feb 2023, 10:17 last edited by
                      #10

                      @jsulm ok now i came to know that when ever i modify the QT GUI then i will have to build the .exe in the QT platform as well....... And then if i load the project in visual studio it will then be able to execute the Project exe file.... Now i am little confuse if i create the GUI in QT and then i modify the .cpp associated with that GUI in visual studio will those changes be incorporated in the GUI as well?

                      J J 2 Replies Last reply 9 Feb 2023, 11:15
                      0
                      • F fawad
                        9 Feb 2023, 10:17

                        @jsulm ok now i came to know that when ever i modify the QT GUI then i will have to build the .exe in the QT platform as well....... And then if i load the project in visual studio it will then be able to execute the Project exe file.... Now i am little confuse if i create the GUI in QT and then i modify the .cpp associated with that GUI in visual studio will those changes be incorporated in the GUI as well?

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 9 Feb 2023, 11:15 last edited by
                        #11

                        @fawad I don't use Visual Studio, but can't you modify your UI in designer inside Visual Studio if you installed Qt Plugin?

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

                        1 Reply Last reply
                        1
                        • F fawad
                          9 Feb 2023, 10:17

                          @jsulm ok now i came to know that when ever i modify the QT GUI then i will have to build the .exe in the QT platform as well....... And then if i load the project in visual studio it will then be able to execute the Project exe file.... Now i am little confuse if i create the GUI in QT and then i modify the .cpp associated with that GUI in visual studio will those changes be incorporated in the GUI as well?

                          J Offline
                          J Offline
                          JonB
                          wrote on 9 Feb 2023, 11:58 last edited by
                          #12

                          @fawad
                          Like @jsulm says, I don't use your environment but if I did I would hope to do everything inside and only use one of either Creator or Visual Studio, swapping between them sounds like a pain!

                          1 Reply Last reply
                          0

                          1/12

                          9 Feb 2023, 08:47

                          • Login

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