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? (i check the entire web)
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Failed to start program. Path or permissions wrong? (i check the entire web)

Scheduled Pinned Locked Moved General and Desktop
25 Posts 3 Posters 9.5k Views 3 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
    mcosta
    wrote on last edited by
    #8

    In the original post you said " i change the folder to my desktop ". What does it mean?

    Ave you tried to rebuild the app??

    Once your problem is solved don't forget to:

    • Mark the thread as SOLVED using the Topic Tool menu
    • Vote up the answer(s) that helped you to solve the issue

    You can embed images using (http://imgur.com/) or (http://postimage.org/)

    1 Reply Last reply
    0
    • O Offline
      O Offline
      onimusha
      wrote on last edited by
      #9
      This post is deleted!
      1 Reply Last reply
      0
      • O Offline
        O Offline
        onimusha
        wrote on last edited by
        #10

        After unsuccessful attempts to make it run the original folder was here C:\Users\onimusha\Documents\Qt, so i moved over here C:\Users\onimusha\Desktop and i worked just one single time, lol. Why is that??? the app showed up, i closed then it was like before....Failed to start program. Path or permissions wrong?.....the thing is the folder was created there (the Qt folder) and it was working fine while i was doing some tests on my arduino....then a little gnome came and changed something as far as i can see.

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

          So do you moved the Qt folder??

          Tried to rebuild??

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0
          • O Offline
            O Offline
            onimusha
            wrote on last edited by onimusha
            #12

            Nope, just the serialComTest folder that was inside of Qt, and i did that because of the problem just to test. and yes i rebuild like 10000^10000 times

            1 Reply Last reply
            0
            • O Offline
              O Offline
              onimusha
              wrote on last edited by
              #13

              creating a new project on a random place wont work either

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mcosta
                wrote on last edited by
                #14

                mmmmm,

                I don't know, the only solution I can suggest is try to re-install Qt

                Once your problem is solved don't forget to:

                • Mark the thread as SOLVED using the Topic Tool menu
                • Vote up the answer(s) that helped you to solve the issue

                You can embed images using (http://imgur.com/) or (http://postimage.org/)

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  onimusha
                  wrote on last edited by
                  #15

                  i did yesterday haha :( please help, there it has to be a way!

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mcosta
                    wrote on last edited by
                    #16

                    Tried installing Qt in a different PATH?

                    Check if the Kits settings are correct

                    Once your problem is solved don't forget to:

                    • Mark the thread as SOLVED using the Topic Tool menu
                    • Vote up the answer(s) that helped you to solve the issue

                    You can embed images using (http://imgur.com/) or (http://postimage.org/)

                    1 Reply Last reply
                    0
                    • O Offline
                      O Offline
                      onimusha
                      wrote on last edited by onimusha
                      #17

                      I remove QT from C:\ and installed in D:\ - turn off the PC, turned on and see if it worked, same thing....

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mcosta
                        wrote on last edited by
                        #18

                        What about the Kits?

                        Once your problem is solved don't forget to:

                        • Mark the thread as SOLVED using the Topic Tool menu
                        • Vote up the answer(s) that helped you to solve the issue

                        You can embed images using (http://imgur.com/) or (http://postimage.org/)

                        1 Reply Last reply
                        0
                        • O Offline
                          O Offline
                          onimusha
                          wrote on last edited by
                          #19

                          Please be more specific, i have this by default and thanks for your time. I had the adroid ones too but i remove them yesterday

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #20

                            Hi,

                            It will sound silly but did you check that you have the executable built ? Some anti-virus software are very happy to just detect that you are trying to create an executable and intercept its creation

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

                            1 Reply Last reply
                            1
                            • O Offline
                              O Offline
                              onimusha
                              wrote on last edited by
                              #21

                              not silly since other ppl solve the issue that way, but not in my case, the .exe file is there. I can see in every post about this everyone is trying to guesss what i could be, why there is no a proper asnwer to this?

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                mcosta
                                wrote on last edited by mcosta
                                #22

                                HI,

                                could these posts help you?

                                • https://forum.qt.io/topic/14359/solved-failed-to-start-program-path-or-permissions-wrong
                                • http://stackoverflow.com/questions/3931988/failed-to-start-program-path-or-permissions-wrong-in-qt
                                • http://www.qtforum.org/article/38517/failed-to-start-program-path-or-permissions-wrong.html

                                Try to delete the .pro.user file

                                Once your problem is solved don't forget to:

                                • Mark the thread as SOLVED using the Topic Tool menu
                                • Vote up the answer(s) that helped you to solve the issue

                                You can embed images using (http://imgur.com/) or (http://postimage.org/)

                                1 Reply Last reply
                                0
                                • O Offline
                                  O Offline
                                  onimusha
                                  wrote on last edited by
                                  #23

                                  @mcosta @SGaist
                                  Hey guys i solved the damm thing, like i said before i check every post i found before posting this one. Its not the Qt path, System PATH or my executable not being created, everything was there on its porper place and right, it was AVAST as usual, it was blocking my folders from being used by Qt just add your folder (your app folder, not Qt folder) to the exclusions file paths as explained here in my case "C:\ " covers the hole thing and thats it. Thanks for your help.

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    mcosta
                                    wrote on last edited by
                                    #24

                                    Ok,

                                    good news so.

                                    Sometimes antivirus are more dangerous than virus :D

                                    Once your problem is solved don't forget to:

                                    • Mark the thread as SOLVED using the Topic Tool menu
                                    • Vote up the answer(s) that helped you to solve the issue

                                    You can embed images using (http://imgur.com/) or (http://postimage.org/)

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #25

                                      You should rather use a dedicated folder for your development and only exclude it rather that your whole disk

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

                                      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