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. Qt Creator refuses to parse project file
QtWS25 Last Chance

Qt Creator refuses to parse project file

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 4 Posters 5.2k 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.
  • A Offline
    A Offline
    A123
    wrote on last edited by A123
    #1

    My other computer zonked out so I have to move my project to another one. I install QtCreator 4.8.2 and QT 5.12.2 on the new computer

    Could not find qmake spec 'default'.
    Error while parsing file /home/minion/Documents/Software Projects/ProjectX/Projectx.pro. Giving up.
    

    Here is a paste of the top of the pro file, I can include more if necessary
    https://pastebin.com/4jHFqE2Ks

    aha_1980A 1 Reply Last reply
    0
    • A A123

      My other computer zonked out so I have to move my project to another one. I install QtCreator 4.8.2 and QT 5.12.2 on the new computer

      Could not find qmake spec 'default'.
      Error while parsing file /home/minion/Documents/Software Projects/ProjectX/Projectx.pro. Giving up.
      

      Here is a paste of the top of the pro file, I can include more if necessary
      https://pastebin.com/4jHFqE2Ks

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

      @A123

      • the link is invalid
      • try a project path without spaces and special chars

      Qt has to stay free or it will die.

      S U 2 Replies Last reply
      1
      • A Offline
        A Offline
        A123
        wrote on last edited by
        #3

        it parses the project now displaying the proper source code orgaization now that I forced it to use the desktop qt 5 kit.

        But it won't let me configure the project. It just says

        The project ProjectX is not yet configured
        Qt Creator uses the kit Desktop Qt 5.12.2 GCC 64 bit to parse the project.

        No valid kits found.

        Its a C++ project

        aha_1980A 1 Reply Last reply
        0
        • A A123

          it parses the project now displaying the proper source code orgaization now that I forced it to use the desktop qt 5 kit.

          But it won't let me configure the project. It just says

          The project ProjectX is not yet configured
          Qt Creator uses the kit Desktop Qt 5.12.2 GCC 64 bit to parse the project.

          No valid kits found.

          Its a C++ project

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

          @A123 said in Qt Creator refuses to parse project file:

          No valid kits found.

          Then please show a screenshot of Tools > Options > Kits > Kits

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            A123
            wrote on last edited by A123
            #5

            Here is a screenshot

            https://ibb.co/M8SjBzH

            aha_1980A 1 Reply Last reply
            0
            • A A123

              Here is a screenshot

              https://ibb.co/M8SjBzH

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

              @A123 at least the auto detected 5.12 kit has no warnings (the 5.9 one has!).

              So how do you try to configure the project?

              Have you tried deleting the .pro.use and open the project again?

              Qt has to stay free or it will die.

              A 1 Reply Last reply
              1
              • aha_1980A aha_1980

                @A123 at least the auto detected 5.12 kit has no warnings (the 5.9 one has!).

                So how do you try to configure the project?

                Have you tried deleting the .pro.use and open the project again?

                A Offline
                A Offline
                A123
                wrote on last edited by
                #7

                @aha_1980 I deleted all the .user files. There is nothing I see to do on the configure project page. It won't allow me to pick a kit. If I try to import a build it doesn't do anything. If I go to options and pick the Desktop 5.12 kit it simply says

                C and C++ compiler paths differ. C compiler may not work.
                C and C++ compiler paths differ. C compiler may not work.

                the project remains unconfigured and won't allow me to compile or build.

                aha_1980A 1 Reply Last reply
                0
                • A A123

                  @aha_1980 I deleted all the .user files. There is nothing I see to do on the configure project page. It won't allow me to pick a kit. If I try to import a build it doesn't do anything. If I go to options and pick the Desktop 5.12 kit it simply says

                  C and C++ compiler paths differ. C compiler may not work.
                  C and C++ compiler paths differ. C compiler may not work.

                  the project remains unconfigured and won't allow me to compile or build.

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

                  @A123

                  Ah, Ok. So please post the screenshot of that Kit again, click on "Desktop Qt 5.12.2 GCC 64bit (default)" before, so you see the details.

                  Also, post the compiler settings from the "Compilers" tab.

                  Qt has to stay free or it will die.

                  A 1 Reply Last reply
                  0
                  • aha_1980A aha_1980

                    @A123

                    Ah, Ok. So please post the screenshot of that Kit again, click on "Desktop Qt 5.12.2 GCC 64bit (default)" before, so you see the details.

                    Also, post the compiler settings from the "Compilers" tab.

                    A Offline
                    A Offline
                    A123
                    wrote on last edited by
                    #9

                    @aha_1980 https://ibb.co/c1XxCSY
                    https://ibb.co/Pw9NGDZ

                    aha_1980A 1 Reply Last reply
                    0
                    • A A123

                      @aha_1980 https://ibb.co/c1XxCSY
                      https://ibb.co/Pw9NGDZ

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

                      @A123 Well, you need to select a C++ compiler and press Apply:

                      0_1553111113942_ea12b067-a70e-46cb-8ef5-dd8c1c7d69b9-grafik.png

                      I guess that's all. It's just interesting that there is no warning sign...

                      Qt has to stay free or it will die.

                      aha_1980A 1 Reply Last reply
                      2
                      • aha_1980A aha_1980

                        @A123 Well, you need to select a C++ compiler and press Apply:

                        0_1553111113942_ea12b067-a70e-46cb-8ef5-dd8c1c7d69b9-grafik.png

                        I guess that's all. It's just interesting that there is no warning sign...

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

                        @aha_1980 said in Qt Creator refuses to parse project file:

                        It's just interesting that there is no warning sign...

                        Tracked as QTCREATORBUG-22177 now.

                        Qt has to stay free or it will die.

                        A 1 Reply Last reply
                        1
                        • aha_1980A aha_1980

                          @aha_1980 said in Qt Creator refuses to parse project file:

                          It's just interesting that there is no warning sign...

                          Tracked as QTCREATORBUG-22177 now.

                          A Offline
                          A Offline
                          A123
                          wrote on last edited by
                          #12

                          @aha_1980 ah okay gotcha, it looks like it solved the immediate problem at least

                          1 Reply Last reply
                          1
                          • aha_1980A aha_1980

                            @A123

                            • the link is invalid
                            • try a project path without spaces and special chars
                            S Offline
                            S Offline
                            sentinel_21
                            wrote on last edited by
                            #13

                            @aha_1980 changing the project file name helped mine was originally first-project changed to firstProject

                            1 Reply Last reply
                            0
                            • aha_1980A aha_1980

                              @A123

                              • the link is invalid
                              • try a project path without spaces and special chars
                              U Offline
                              U Offline
                              Usman Bash
                              wrote on last edited by
                              #14

                              @aha_1980

                              Thanks, Bud! Mine has worked. It was previously named "00-syntax." I converted it to syntax, and my project worked, which was stuck for about three hours.

                              thanks again!!

                              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