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. Project ERROR: Cannot run compiler 'g++'
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Cannot run compiler 'g++'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
12 Posts 6 Posters 11.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.
  • M Offline
    M Offline
    MrShawn
    wrote on last edited by
    #3

    I just tried that, no luck still got the same errors.

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

      Hi,

      Did you check the PATH environment variable in the Build part of the Project panel ?

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

        @MrShawn Did you try to delete the *.pro.user file?

        A Offline
        A Offline
        Asha
        wrote on last edited by
        #5

        Hi,
        how to delete the pro file?..I am very new to this qt..please let me know..

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

          @Asha it's the .pro.user file that is mentioned. Deleting it is unrelated to Qt, just use your file manager or a terminal to delete the file.

          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
          • A Offline
            A Offline
            Asha
            wrote on last edited by
            #7

            Thankyou for the replay, now after building and running a small application ,I am getting Application output is ,"cannot run: No command given",what it means, and how to solve this..

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

              After deleting that .pro file what will be the next step...

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Asha
                wrote on last edited by
                #9

                Hi,
                I am very new this qt,please help me,getting error "cannot run: No command given",and the device is connecting but sftp connection is not showing anything...

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

                  Did you check the settings of your project ?

                  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
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #11

                    Hey, I'm having the same or similar issue, see
                    (link [https://forum.qt.io/topic/111868/cannot-run-compiler-g-output/2])

                    deleting .pro.user file did not help
                    reinstalling qt did also not help

                    Somebody already found a solution?

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      Juglugs
                      wrote on last edited by Juglugs
                      #12

                      I had the same error. sudo apt install build-essential worked for me.

                      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