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. Qt5.9 cannot parsing .pro file

Qt5.9 cannot parsing .pro file

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 2 Posters 806 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.
  • C Offline
    C Offline
    chris_rookie
    wrote on last edited by
    #1

    I installed a new version of Qt(5.9.2).
    In QtCreator, It can't open Qt project when I choose Qt5.9.2.
    There is the error information.
    /usr/local/Qt5.9.2/mkspecs/features/toolchain.prf(70): system(execute) requires one or two arguments.
    Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
    Error while parsing file /home/wuyin/workspace_v2.2/unispim/tools/unispy-updater-daemon/unispy_updater_daemon.pro. Giving up.

    I also have Qt5.6 and Qt4 in my system, Does it caused error.

    jsulmJ 1 Reply Last reply
    0
    • C chris_rookie

      I installed a new version of Qt(5.9.2).
      In QtCreator, It can't open Qt project when I choose Qt5.9.2.
      There is the error information.
      /usr/local/Qt5.9.2/mkspecs/features/toolchain.prf(70): system(execute) requires one or two arguments.
      Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
      Error while parsing file /home/wuyin/workspace_v2.2/unispim/tools/unispy-updater-daemon/unispy_updater_daemon.pro. Giving up.

      I also have Qt5.6 and Qt4 in my system, Does it caused error.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @chris_rookie Please check your 5.9.2 (this isn't a new Qt version by the way) Kit in QtCreator. It looks like it is not configured properly. Also what is your OS and GCC version?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • jsulmJ jsulm

        @chris_rookie Please check your 5.9.2 (this isn't a new Qt version by the way) Kit in QtCreator. It looks like it is not configured properly. Also what is your OS and GCC version?

        C Offline
        C Offline
        chris_rookie
        wrote on last edited by
        #3

        @jsulm said in Qt5.9 cannot parsing .pro file:

        GCC version

        Hi,
        My Qtcreator version information is 'Qt Creator 4.0.2 based on Qt 5.6.1'.
        And I configured as following picture.
        I set through Tools->Options->Build & Run ->Kit -> Manual -> Qt version
        ad1af255-cbd7-462b-980e-36ef51101098-image.png

        OS is Ubuntu.
        GCC version is : gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6kord1~16.04.5).
        should I install a new version of QtCreator.

        jsulmJ 1 Reply Last reply
        0
        • C chris_rookie

          @jsulm said in Qt5.9 cannot parsing .pro file:

          GCC version

          Hi,
          My Qtcreator version information is 'Qt Creator 4.0.2 based on Qt 5.6.1'.
          And I configured as following picture.
          I set through Tools->Options->Build & Run ->Kit -> Manual -> Qt version
          ad1af255-cbd7-462b-980e-36ef51101098-image.png

          OS is Ubuntu.
          GCC version is : gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6kord1~16.04.5).
          should I install a new version of QtCreator.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @chris_rookie Sorry, but in that picture I cannot see your Kit configuration, it provides me the same information you already provided in your first post. Are there any warnings/errors in your Kit (yellow exclamation mark or red sign)?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          C 1 Reply Last reply
          0
          • jsulmJ jsulm

            @chris_rookie Sorry, but in that picture I cannot see your Kit configuration, it provides me the same information you already provided in your first post. Are there any warnings/errors in your Kit (yellow exclamation mark or red sign)?

            C Offline
            C Offline
            chris_rookie
            wrote on last edited by
            #5

            @jsulm
            I saw the warnings.
            the information is qmlscene uninstalled.
            but I also saw it in qt5.6, 5.6 works well.

            jsulmJ 1 Reply Last reply
            0
            • C chris_rookie

              @jsulm
              I saw the warnings.
              the information is qmlscene uninstalled.
              but I also saw it in qt5.6, 5.6 works well.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @chris_rookie And the compiler is set properly in the Kit?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              C 1 Reply Last reply
              0
              • jsulmJ jsulm

                @chris_rookie And the compiler is set properly in the Kit?

                C Offline
                C Offline
                chris_rookie
                wrote on last edited by
                #7

                @jsulm
                yes.
                It works just after I change the Qt version to 5.6.

                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