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. QT Creator - Error while building/deploying project - Configuration is faulty
Forum Updated to NodeBB v4.3 + New Features

QT Creator - Error while building/deploying project - Configuration is faulty

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 3 Posters 945 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.
  • E Offline
    E Offline
    elebasi
    wrote on 28 Jun 2023, 09:53 last edited by
    #1

    I have built Qt and Qt Creator from source on windows both in "release" configuration.
    I have not configured qtwebengine module in QT and I had to disable GitPlugin on Qt Creator to be able to run the QT Creator.

    I have tried to create a new project but I get this error right after creation where it says:
    "Warning: Failed to load the project
    Issues and Projects->Build settings show more information about the failure."
    ProjectHover.png

    Error:
    ErrorAfterRun.PNG
    PrjRghClck.png
    BuildTab.png

    Kits Settings:
    Kits.PNG
    Compilers.PNG

    J 1 Reply Last reply 28 Jun 2023, 09:57
    0
    • E elebasi
      28 Jun 2023, 09:53

      I have built Qt and Qt Creator from source on windows both in "release" configuration.
      I have not configured qtwebengine module in QT and I had to disable GitPlugin on Qt Creator to be able to run the QT Creator.

      I have tried to create a new project but I get this error right after creation where it says:
      "Warning: Failed to load the project
      Issues and Projects->Build settings show more information about the failure."
      ProjectHover.png

      Error:
      ErrorAfterRun.PNG
      PrjRghClck.png
      BuildTab.png

      Kits Settings:
      Kits.PNG
      Compilers.PNG

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 28 Jun 2023, 09:57 last edited by
      #2

      @elebasi Please post code and error messages as text.
      You should do what the error tells you: check the Issues view to see what the problem is.

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

      E 1 Reply Last reply 28 Jun 2023, 10:24
      0
      • E Offline
        E Offline
        elebasi
        wrote on 28 Jun 2023, 10:05 last edited by
        #3

        Here are the creation steps:
        Creation.PNG
        ProjectPath.PNG
        Conf.PNG
        KitSelection.PNG
        PrjMng.PNG

        1 Reply Last reply
        0
        • J jsulm
          28 Jun 2023, 09:57

          @elebasi Please post code and error messages as text.
          You should do what the error tells you: check the Issues view to see what the problem is.

          E Offline
          E Offline
          elebasi
          wrote on 28 Jun 2023, 10:24 last edited by
          #4

          @jsulm how do I check the issues view?
          Could you post some link or guidelines on how to do?

          J 1 Reply Last reply 28 Jun 2023, 10:58
          0
          • E elebasi
            28 Jun 2023, 10:24

            @jsulm how do I check the issues view?
            Could you post some link or guidelines on how to do?

            J Offline
            J Offline
            JonB
            wrote on 28 Jun 2023, 10:58 last edited by JonB
            #5

            @elebasi
            The Issues view appears when you build. Just look at the screen, the tabs at the bottom, it's shown in your 3rd screenshot of your first post. Why not try the Help inside Creator if you want to know how to use it?

            E 1 Reply Last reply 28 Jun 2023, 11:26
            1
            • J JonB
              28 Jun 2023, 10:58

              @elebasi
              The Issues view appears when you build. Just look at the screen, the tabs at the bottom, it's shown in your 3rd screenshot of your first post. Why not try the Help inside Creator if you want to know how to use it?

              E Offline
              E Offline
              elebasi
              wrote on 28 Jun 2023, 11:26 last edited by elebasi
              #6

              @JonB I am a bit lost here.
              As you can see the Build option is grayed out.
              I can only run which I assume it tries to call the Build first but then the build fails.
              When I look at the output after run, I only see “Configuration is faulty”. (See screenshot)
              I understand that it has something to the with the project configuration but what is it?
              This is a bare minimum QT Quick project created by Qt Creator without any modifications.
              Once it is been created it immediately displays the warning icon on the top project that says "Warning: Failed to load the project
              Issues and Projects->Build settings show more information about the failure." as I mentioned.

              Here are the created files in the project folder:
              IMG_9796.jpeg
              I am not sure if all the necessary project files are created.

              I would appreciate a bit of guidance instead of telling to go search stuff which I have already done.
              Biggest thing I suspected was the compiler settings but I have checked it multiple times and it looks alright as seen in one of the screenshots.

              J 1 Reply Last reply 28 Jun 2023, 12:19
              0
              • E elebasi
                28 Jun 2023, 11:26

                @JonB I am a bit lost here.
                As you can see the Build option is grayed out.
                I can only run which I assume it tries to call the Build first but then the build fails.
                When I look at the output after run, I only see “Configuration is faulty”. (See screenshot)
                I understand that it has something to the with the project configuration but what is it?
                This is a bare minimum QT Quick project created by Qt Creator without any modifications.
                Once it is been created it immediately displays the warning icon on the top project that says "Warning: Failed to load the project
                Issues and Projects->Build settings show more information about the failure." as I mentioned.

                Here are the created files in the project folder:
                IMG_9796.jpeg
                I am not sure if all the necessary project files are created.

                I would appreciate a bit of guidance instead of telling to go search stuff which I have already done.
                Biggest thing I suspected was the compiler settings but I have checked it multiple times and it looks alright as seen in one of the screenshots.

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 28 Jun 2023, 12:19 last edited by
                #7

                @elebasi The Issues tab is at the bottom and can be activated pressing Alt-1...

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

                1 Reply Last reply
                1
                • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on 28 Jun 2023, 16:37
                • E Offline
                  E Offline
                  elebasi
                  wrote on 14 Jul 2023, 12:01 last edited by
                  #8

                  just a quick update. It looks like the issue is related that I have QT build only as Release and not as Debug where my project has both configurations.
                  I am trying to build QT 6.5.1 on windows with MSVC but I am having issues so I will update the thread once I have a better understanding.

                  I found similar issue and asked mine for now but I am not sure if the error is related to the actual problem or just some other error down the pipeline: https://stackoverflow.com/questions/76606173

                  1 Reply Last reply
                  0

                  1/8

                  28 Jun 2023, 09:53

                  • Login

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