Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]Failed to start program. Path or permissions wrong?
Qt 6.11 is out! See what's new in the release blog

[SOLVED]Failed to start program. Path or permissions wrong?

Scheduled Pinned Locked Moved General and Desktop
13 Posts 4 Posters 38.6k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,

    i am having a problem while running the spectrum analyser example on my Windows machine.

    the program is building properly without any errors..

    but when i am running the program it shows me following error...

    Failed to start program. Path or permissions wrong?

    and the program is terminated...
    i dont know wat to do with it...

    please help me with this...

    thanx in advance..

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Does the file exist in the place shown?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        which place??
        sorry i didn't get u...

        1 Reply Last reply
        0
        • F Offline
          F Offline
          foxyz
          wrote on last edited by
          #4

          Maybe You've already executed an instance on your IDE environment. Or, You used a shadow make, the executable file will be linked under shadow directory

          I just know coding and coding

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            [quote author="foxyz" date="1330000801"]Maybe You've already executed an instance on your IDE environment. Or, You used a shadow make, the executable file will be linked under shadow directory[/quote]

            from the time i started this its showing me error..
            donno wat to do..

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              First thing: Please check whether the file you want to run was actually created. Go into your build directory and check that it is indeed where it should be.

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                @tobias

                yes my file is which i want to run is created, its there in build directory...

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  So is creator trying to run that file? What does Projects->Run Settings say? What is it trying to execute?

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    it is trying to execute...

                    H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\spectrum.exe

                    and the working directory is...

                    H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      So does H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\spectrum.exe exist? Can you run it from the shell?

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #11

                        omg...

                        it is not there...
                        so wat shall i do then..

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #12

                          @tobias

                          it is working now...
                          the exe file which i was searching was not there in

                          H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug

                          directory..
                          instead of that it was there in the

                          H:\QtSDK\Demos\4.7\spectrum-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\debug

                          directory..

                          so i changed the run configuration and its working now....

                          thanx tobias for pointing out my mistake...

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mlong
                            wrote on last edited by
                            #13

                            Be sure and edit your first post to add [Solved] to the title. Thanks!

                            Software Engineer
                            My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                            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