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

Qt Creator refuses to parse project file

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 4 Posters 5.3k 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 20 Mar 2019, 03:02 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

    A 1 Reply Last reply 20 Mar 2019, 04:45
    0
    • A A123
      20 Mar 2019, 03:02

      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

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 20 Mar 2019, 04:45 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 8 Nov 2023, 13:14
      1
      • A Offline
        A Offline
        A123
        wrote on 20 Mar 2019, 06:42 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

        A 1 Reply Last reply 20 Mar 2019, 07:22
        0
        • A A123
          20 Mar 2019, 06:42

          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

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 20 Mar 2019, 07:22 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 20 Mar 2019, 18:03 last edited by A123
            #5

            Here is a screenshot

            https://ibb.co/M8SjBzH

            A 1 Reply Last reply 20 Mar 2019, 18:47
            0
            • A A123
              20 Mar 2019, 18:03

              Here is a screenshot

              https://ibb.co/M8SjBzH

              A Offline
              A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on 20 Mar 2019, 18:47 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 20 Mar 2019, 19:03
              1
              • A aha_1980
                20 Mar 2019, 18:47

                @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 20 Mar 2019, 19:03 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.

                A 1 Reply Last reply 20 Mar 2019, 19:15
                0
                • A A123
                  20 Mar 2019, 19:03

                  @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.

                  A Offline
                  A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on 20 Mar 2019, 19:15 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 20 Mar 2019, 19:35
                  0
                  • A aha_1980
                    20 Mar 2019, 19:15

                    @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 20 Mar 2019, 19:35 last edited by
                    #9

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

                    A 1 Reply Last reply 20 Mar 2019, 19:45
                    0
                    • A A123
                      20 Mar 2019, 19:35

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

                      A Offline
                      A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on 20 Mar 2019, 19:45 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.

                      A 1 Reply Last reply 20 Mar 2019, 20:10
                      2
                      • A aha_1980
                        20 Mar 2019, 19:45

                        @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...

                        A Offline
                        A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on 20 Mar 2019, 20:10 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 20 Mar 2019, 20:18
                        1
                        • A aha_1980
                          20 Mar 2019, 20:10

                          @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 20 Mar 2019, 20:18 last edited by
                          #12

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

                          1 Reply Last reply
                          1
                          • A aha_1980
                            20 Mar 2019, 04:45

                            @A123

                            • the link is invalid
                            • try a project path without spaces and special chars
                            S Offline
                            S Offline
                            sentinel_21
                            wrote on 8 Nov 2023, 13:14 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
                            • A aha_1980
                              20 Mar 2019, 04:45

                              @A123

                              • the link is invalid
                              • try a project path without spaces and special chars
                              U Offline
                              U Offline
                              Usman Bash
                              wrote on 15 Dec 2024, 11:42 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