Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Qt Creator refuses to parse project file

    General and Desktop
    2
    12
    3526
    Loading More Posts
    • 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
      A123 last edited by 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_1980 1 Reply Last reply Reply Quote 0
      • aha_1980
        aha_1980 Lifetime Qt Champion @A123 last edited by

        @A123

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

        Qt has to stay free or it will die.

        1 Reply Last reply Reply Quote 0
        • A
          A123 last edited by

          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_1980 1 Reply Last reply Reply Quote 0
          • aha_1980
            aha_1980 Lifetime Qt Champion @A123 last edited by

            @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 Reply Quote 0
            • A
              A123 last edited by A123

              Here is a screenshot

              https://ibb.co/M8SjBzH

              aha_1980 1 Reply Last reply Reply Quote 0
              • aha_1980
                aha_1980 Lifetime Qt Champion @A123 last edited by

                @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 Reply Quote 1
                • A
                  A123 @aha_1980 last edited by

                  @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_1980 1 Reply Last reply Reply Quote 0
                  • aha_1980
                    aha_1980 Lifetime Qt Champion @A123 last edited by 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.

                    Qt has to stay free or it will die.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      A123 @aha_1980 last edited by

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

                      aha_1980 1 Reply Last reply Reply Quote 0
                      • aha_1980
                        aha_1980 Lifetime Qt Champion @A123 last edited by

                        @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_1980 1 Reply Last reply Reply Quote 2
                        • aha_1980
                          aha_1980 Lifetime Qt Champion @aha_1980 last edited by

                          @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 Reply Quote 1
                          • A
                            A123 @aha_1980 last edited by

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

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post