Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Error while parsing file xxx.pro. Giving up.

Error while parsing file xxx.pro. Giving up.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 2 Posters 1.7k 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.
  • D Offline
    D Offline
    DouPengda
    wrote on last edited by DouPengda
    #1

    Hello, I use qtcreator to open a project, the above message appears. The environment variable used by qtcreator is one of the operating system environment variables I customized, with qt version 5.11
    My question description.
    /opt/loongson/1.0.0/sysroots/mips64r2el-poky-linux/usr/lib/mkspecs/features/toolchain.prf(69):system(execute)requires one or two arguments.
    Project ERROR : Cannot target compiler XXX-GCC output:
    Maybe you forget to setup theenvironment?
    Error while parsing file xxx.pro. Giving up.

    aha_1980A 1 Reply Last reply
    0
    • D DouPengda

      Hello, I use qtcreator to open a project, the above message appears. The environment variable used by qtcreator is one of the operating system environment variables I customized, with qt version 5.11
      My question description.
      /opt/loongson/1.0.0/sysroots/mips64r2el-poky-linux/usr/lib/mkspecs/features/toolchain.prf(69):system(execute)requires one or two arguments.
      Project ERROR : Cannot target compiler XXX-GCC output:
      Maybe you forget to setup theenvironment?
      Error while parsing file xxx.pro. Giving up.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @DouPengda

      Please rephrase your topic title to something shorter. The full description should go in the text.

      Thanks.

      Qt has to stay free or it will die.

      D 1 Reply Last reply
      3
      • aha_1980A aha_1980

        @DouPengda

        Please rephrase your topic title to something shorter. The full description should go in the text.

        Thanks.

        D Offline
        D Offline
        DouPengda
        wrote on last edited by
        #3

        @aha_1980 Thanks,

        aha_1980A 1 Reply Last reply
        0
        • D DouPengda

          @aha_1980 Thanks,

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @DouPengda

          So you are cross-compiling? Have you set up your compiler properly and is the Kit without errors?

          The environment variable used by qtcreator is one of the operating system environment variables I customized,

          Which one is it?

          Qt has to stay free or it will die.

          D 3 Replies Last reply
          1
          • aha_1980A aha_1980

            @DouPengda

            So you are cross-compiling? Have you set up your compiler properly and is the Kit without errors?

            The environment variable used by qtcreator is one of the operating system environment variables I customized,

            Which one is it?

            D Offline
            D Offline
            DouPengda
            wrote on last edited by
            #5

            @aha_1980

            Kit is correct0_1548323752548_Screenshot.png

            1 Reply Last reply
            0
            • aha_1980A aha_1980

              @DouPengda

              So you are cross-compiling? Have you set up your compiler properly and is the Kit without errors?

              The environment variable used by qtcreator is one of the operating system environment variables I customized,

              Which one is it?

              D Offline
              D Offline
              DouPengda
              wrote on last edited by
              #6

              @aha_1980
              Yes, cross-compiling.
              Custom system environment variables are programmatically written in the program, so there are no additional environment variables at kit

              1 Reply Last reply
              0
              • aha_1980A aha_1980

                @DouPengda

                So you are cross-compiling? Have you set up your compiler properly and is the Kit without errors?

                The environment variable used by qtcreator is one of the operating system environment variables I customized,

                Which one is it?

                D Offline
                D Offline
                DouPengda
                wrote on last edited by
                #7

                @aha_1980

                This problem has been solved. The version of qtcreator I used is 4.0.1. After updating to qtcreator 4.3.1, this problem will not exist

                1 Reply Last reply
                1

                • Login

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