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.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.
  • F fawad

    um1.png

    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on 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
    0
    • JonBJ JonB

      @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 last edited by
      #3

      @JonB um2.png

      jsulmJ 1 Reply Last reply
      0
      • F fawad

        @JonB um2.png

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on 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
        0
        • JonBJ JonB

          @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 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
          • jsulmJ jsulm

            @fawad So, you did not build your app

            F Offline
            F Offline
            fawad
            wrote on last edited by
            #6

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

            JonBJ 1 Reply Last reply
            0
            • F fawad

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

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on 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
              0
              • JonBJ JonB

                @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 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

                jsulmJ 1 Reply Last reply
                0
                • F fawad

                  @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

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by jsulm
                  #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
                  1
                  • jsulmJ jsulm

                    @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 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?

                    jsulmJ JonBJ 2 Replies Last reply
                    0
                    • F fawad

                      @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?

                      jsulmJ Online
                      jsulmJ Online
                      jsulm
                      Lifetime Qt Champion
                      wrote on 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

                        @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?

                        JonBJ Offline
                        JonBJ Offline
                        JonB
                        wrote on 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

                        • Login

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