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. Errors when creating project, several files not being found and can't build my project.
Forum Updated to NodeBB v4.3 + New Features

Errors when creating project, several files not being found and can't build my project.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
12 Posts 2 Posters 5.8k 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.
  • T Offline
    T Offline
    The Shroom
    wrote on last edited by
    #3

    In the "Auto-detected" section of Kits, there are 4 different lines :

    • Desktop Qt 5.6.2 MSVC2015 64bit
    • Desktop Qt 5.7.1 MSVC2017_64bit (default)
    • Desktop Qt 5.9.0 MSVC2015_64bit

    All of them have a red error sign to the left saying they have no compiler set, and a warning which says that no debugger is set.
    If it's auto-detected I'm very confused to why it detects visual studio installations I do not have.

    But now I decided to install the MSVC2015 compiler, but I get a error sign next to the kit saying that the compiler cannot produce code for Qt.
    I have no idea if the kit is even st up correctly, but here is what the kit looks like :
    alt text

    And this is what the compiler which that kit is using looks like :
    alt text

    jsulmJ 1 Reply Last reply
    0
    • T The Shroom

      In the "Auto-detected" section of Kits, there are 4 different lines :

      • Desktop Qt 5.6.2 MSVC2015 64bit
      • Desktop Qt 5.7.1 MSVC2017_64bit (default)
      • Desktop Qt 5.9.0 MSVC2015_64bit

      All of them have a red error sign to the left saying they have no compiler set, and a warning which says that no debugger is set.
      If it's auto-detected I'm very confused to why it detects visual studio installations I do not have.

      But now I decided to install the MSVC2015 compiler, but I get a error sign next to the kit saying that the compiler cannot produce code for Qt.
      I have no idea if the kit is even st up correctly, but here is what the kit looks like :
      alt text

      And this is what the compiler which that kit is using looks like :
      alt text

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

      @The-Shroom The selected compiler in the last picture is configured for ARM not x86_64! Change it to x86_64.

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

      T 1 Reply Last reply
      1
      • jsulmJ jsulm

        @The-Shroom The selected compiler in the last picture is configured for ARM not x86_64! Change it to x86_64.

        T Offline
        T Offline
        The Shroom
        wrote on last edited by
        #5

        @jsulm Oh, fixed that no more errors in the kits section however I still get errors when attempting to build my project :

        Error while building/deploying project MushroomInjector (kit: Desktop Qt 5.8.0 MSVC2017_64bit)
        When executing step "qmake"
        

        Seems like my project is still trying to compile in the old kit for some reason even though I selected the new one as default?
        Do I need to change it in the project as well somehow?

        jsulmJ 1 Reply Last reply
        0
        • T The Shroom

          @jsulm Oh, fixed that no more errors in the kits section however I still get errors when attempting to build my project :

          Error while building/deploying project MushroomInjector (kit: Desktop Qt 5.8.0 MSVC2017_64bit)
          When executing step "qmake"
          

          Seems like my project is still trying to compile in the old kit for some reason even though I selected the new one as default?
          Do I need to change it in the project as well somehow?

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

          @The-Shroom You should cleanup, run qmake and rebuild

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

          T 1 Reply Last reply
          0
          • jsulmJ jsulm

            @The-Shroom You should cleanup, run qmake and rebuild

            T Offline
            T Offline
            The Shroom
            wrote on last edited by
            #7

            @jsulm Attempting to "Clean All" makes an issue appear in the Issues tab :

            :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
            

            But I'm pretty sure I have set it up :
            alt text

            Or am I doing something else wrong? :o

            jsulmJ 1 Reply Last reply
            0
            • T The Shroom

              @jsulm Attempting to "Clean All" makes an issue appear in the Issues tab :

              :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
              

              But I'm pretty sure I have set it up :
              alt text

              Or am I doing something else wrong? :o

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

              @The-Shroom Which kit are you using?

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

              T 1 Reply Last reply
              0
              • jsulmJ jsulm

                @The-Shroom Which kit are you using?

                T Offline
                T Offline
                The Shroom
                wrote on last edited by
                #9

                @jsulm I assumed setting it as default would set it to all my projects? If not how do I change it?

                jsulmJ 1 Reply Last reply
                0
                • T The Shroom

                  @jsulm I assumed setting it as default would set it to all my projects? If not how do I change it?

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

                  @The-Shroom On the left side click on Projects and select the kit

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

                  T 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @The-Shroom On the left side click on Projects and select the kit

                    T Offline
                    T Offline
                    The Shroom
                    wrote on last edited by
                    #11

                    @jsulm So, I disabled all other kits except the one that I want, however I still get errors when building and cleaning.
                    When cleaning I get this error :

                    15:14:56: Running steps for project MushroomInjector...
                    15:14:56: Starting: "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" clean
                    Microsoft (R) Browse Information Maintenance Utility Version 12.00.21005
                    Copyright (C) Microsoft Corporation. All rights reserved.
                    
                    BSCMAKE: error BK1506 : cannot open file 'clean': No such file or directory
                    15:14:56: The process "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" exited with code 4.
                    15:14:56: Elapsed time: 00:00.
                    

                    And when building I get this error :

                    15:15:33: Running steps for project MushroomInjector...
                    15:15:33: Starting: "C:\Qt\5.9\msvc2015_64\bin\qmake.exe" C:\Users\Alex\Desktop\MushroomInjector\MushroomInjector.pro "CONFIG+=debug" "CONFIG+=qml_debug"
                    15:15:34: The process "C:\Qt\5.9\msvc2015_64\bin\qmake.exe" exited normally.
                    15:15:34: Starting: "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" qmake_all
                    Microsoft (R) Browse Information Maintenance Utility Version 12.00.21005
                    Copyright (C) Microsoft Corporation. All rights reserved.
                    
                    BSCMAKE: error BK1506 : cannot open file 'qmake_all': No such file or directory
                    15:15:34: The process "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" exited with code 4.
                    Error while building/deploying project MushroomInjector (kit: Desktop Qt 5.9.0 MSVC2015)
                    The kit Desktop Qt 5.9.0 MSVC2015 has configuration issues which might be the root cause for this problem.
                    When executing step "qmake"
                    15:15:34: Elapsed time: 00:00.
                    

                    The project tab looks like this :
                    alt text

                    jsulmJ 1 Reply Last reply
                    0
                    • T The Shroom

                      @jsulm So, I disabled all other kits except the one that I want, however I still get errors when building and cleaning.
                      When cleaning I get this error :

                      15:14:56: Running steps for project MushroomInjector...
                      15:14:56: Starting: "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" clean
                      Microsoft (R) Browse Information Maintenance Utility Version 12.00.21005
                      Copyright (C) Microsoft Corporation. All rights reserved.
                      
                      BSCMAKE: error BK1506 : cannot open file 'clean': No such file or directory
                      15:14:56: The process "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" exited with code 4.
                      15:14:56: Elapsed time: 00:00.
                      

                      And when building I get this error :

                      15:15:33: Running steps for project MushroomInjector...
                      15:15:33: Starting: "C:\Qt\5.9\msvc2015_64\bin\qmake.exe" C:\Users\Alex\Desktop\MushroomInjector\MushroomInjector.pro "CONFIG+=debug" "CONFIG+=qml_debug"
                      15:15:34: The process "C:\Qt\5.9\msvc2015_64\bin\qmake.exe" exited normally.
                      15:15:34: Starting: "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" qmake_all
                      Microsoft (R) Browse Information Maintenance Utility Version 12.00.21005
                      Copyright (C) Microsoft Corporation. All rights reserved.
                      
                      BSCMAKE: error BK1506 : cannot open file 'qmake_all': No such file or directory
                      15:15:34: The process "D:\Program (x86)\Microsoft Visual Studio 12.0\VC\bin\bscmake.exe" exited with code 4.
                      Error while building/deploying project MushroomInjector (kit: Desktop Qt 5.9.0 MSVC2015)
                      The kit Desktop Qt 5.9.0 MSVC2015 has configuration issues which might be the root cause for this problem.
                      When executing step "qmake"
                      15:15:34: Elapsed time: 00:00.
                      

                      The project tab looks like this :
                      alt text

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

                      @The-Shroom I never used bscmake.exe, I only use nmake.exe as make. Did you try with nmake.exe?
                      Please delete the build directory after changing kit and run qmake.

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

                      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