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. Revisiting project build
Forum Updated to NodeBB v4.3 + New Features

Revisiting project build

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 3 Posters 532 Views 2 Watching
  • 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    First of all, merry xmas to all.

    I've opened Qt Creator this morning, on my iMAC:

    macOS Monterey
    iMac (Retina 5K, 27-inch, Late 2015)
    Processor 4 GHz Quad-Core Intel Core i7
    Memory 16 GB 1867 MHz DDR3
    Graphics AMD Radeon R9 M395X 4 GB
    

    Qt Creator 9.0.1:
    ``
    Based on Qt 6.4.0 (Clang 13.0 (Apple), x86_64)
    Built on Dec 14 2022 02:30:00
    From revision 938231cf0d

    I've deleted the build folder for a project and selected the kit **Qt 5.15.2 clang 64bit**.  The build folder:
    build-mdFIO-Qt_5_15_2_for_macOS-Debug
    
    I've run **qmake** on the project and it displays in the Issues:
    

    :-1: error: No rule to make target mdFIO'. Stop.

    If I try to rebuild the project:
    

    :-1: warning: No rule to make target mdFIO'. Stop. /Users/sy/Qt/5.15.2/clang_64/mkspecs/features/mac/sdk.mk:22: warning: *** ^. Stop. :-1: error: No rule to make target mdFIO'. Stop.

    I've tried cleaning out the build folder entirely but the loop in continuous, what can I do?  what could be the problem?

    Kind Regards,
    Sy

    SPlattenS 1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #6

      @SPlatten said in Revisiting project build:

      The platform SDK has been changed from version 12.3 to version 13.1.

      check this out
      https://stackoverflow.com/questions/65952224/qtcreator-fails-on-macos-sdk-11-1

      delete this one?
      /Users/[my username]/.qmake.stash

      1 Reply Last reply
      0
      • SPlattenS SPlatten

        First of all, merry xmas to all.

        I've opened Qt Creator this morning, on my iMAC:

        macOS Monterey
        iMac (Retina 5K, 27-inch, Late 2015)
        Processor 4 GHz Quad-Core Intel Core i7
        Memory 16 GB 1867 MHz DDR3
        Graphics AMD Radeon R9 M395X 4 GB
        

        Qt Creator 9.0.1:
        ``
        Based on Qt 6.4.0 (Clang 13.0 (Apple), x86_64)
        Built on Dec 14 2022 02:30:00
        From revision 938231cf0d

        I've deleted the build folder for a project and selected the kit **Qt 5.15.2 clang 64bit**.  The build folder:
        build-mdFIO-Qt_5_15_2_for_macOS-Debug
        
        I've run **qmake** on the project and it displays in the Issues:
        

        :-1: error: No rule to make target mdFIO'. Stop.

        If I try to rebuild the project:
        

        :-1: warning: No rule to make target mdFIO'. Stop. /Users/sy/Qt/5.15.2/clang_64/mkspecs/features/mac/sdk.mk:22: warning: *** ^. Stop. :-1: error: No rule to make target mdFIO'. Stop.

        I've tried cleaning out the build folder entirely but the loop in continuous, what can I do?  what could be the problem?
        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by SPlatten
        #2

        So I've moved on, after searching around I found that there needs to be a source file in the build with the same name as the make file, in my case I renamed main.cpp to mdFIO.cpp.

        I also removed the contents of the build file including any hidden files, then rebuilt project, now the issue is:

        08:48:02: Running steps for project mdFIO...
        08:48:02: Starting: "/Users/sy/Qt/5.15.2/clang_64/bin/qmake" /Users/sy/XMLMPAM/mdFIO/mdFIO.pro -spec macx-clang CONFIG+=debug CONFIG+=qml_debug CONFIG+=force_debug_info CONFIG+=separate_debug_info
        08:48:11: The process "/Users/sy/Qt/5.15.2/clang_64/bin/qmake" exited normally.
        08:48:11: Starting: "/usr/bin/make" -f /Users/sy/XMLMPAM/build-mdFIO-Desktop_Qt_5_15_2_clang_64bit-Debug/Makefile qmake_all
        The platform SDK has been changed from version 12.3 to version 13.1.
        This requires a fresh build. Please wipe the build directory completely,
        including any .qmake.stash and .qmake.cache files generated by qmake.
        /Users/sy/Qt/5.15.2/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
        08:48:12: The process "/usr/bin/make" exited with code 2.
        Error while building/deploying project mdFIO (kit: Desktop Qt 5.15.2 clang 64bit)
        When executing step "qmake"
        08:48:12: Elapsed time: 00:09.
        

        I've done as suggested, however it doesn't help and this is a never ending loop.

        Kind Regards,
        Sy

        SPlattenS 1 Reply Last reply
        0
        • SPlattenS SPlatten

          So I've moved on, after searching around I found that there needs to be a source file in the build with the same name as the make file, in my case I renamed main.cpp to mdFIO.cpp.

          I also removed the contents of the build file including any hidden files, then rebuilt project, now the issue is:

          08:48:02: Running steps for project mdFIO...
          08:48:02: Starting: "/Users/sy/Qt/5.15.2/clang_64/bin/qmake" /Users/sy/XMLMPAM/mdFIO/mdFIO.pro -spec macx-clang CONFIG+=debug CONFIG+=qml_debug CONFIG+=force_debug_info CONFIG+=separate_debug_info
          08:48:11: The process "/Users/sy/Qt/5.15.2/clang_64/bin/qmake" exited normally.
          08:48:11: Starting: "/usr/bin/make" -f /Users/sy/XMLMPAM/build-mdFIO-Desktop_Qt_5_15_2_clang_64bit-Debug/Makefile qmake_all
          The platform SDK has been changed from version 12.3 to version 13.1.
          This requires a fresh build. Please wipe the build directory completely,
          including any .qmake.stash and .qmake.cache files generated by qmake.
          /Users/sy/Qt/5.15.2/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
          08:48:12: The process "/usr/bin/make" exited with code 2.
          Error while building/deploying project mdFIO (kit: Desktop Qt 5.15.2 clang 64bit)
          When executing step "qmake"
          08:48:12: Elapsed time: 00:09.
          

          I've done as suggested, however it doesn't help and this is a never ending loop.

          SPlattenS Offline
          SPlattenS Offline
          SPlatten
          wrote on last edited by
          #3
          07:15:21: Running steps for project mdFIO...
          07:15:21: Starting: "/Users/sy/Qt/5.15.2/clang_64/bin/qmake" /Users/sy/XMLMPAM/mdFIO/mdFIO.pro -spec macx-clang CONFIG+=debug CONFIG+=qml_debug CONFIG+=force_debug_info CONFIG+=separate_debug_info
          07:15:22: The process "/Users/sy/Qt/5.15.2/clang_64/bin/qmake" exited normally.
          07:15:22: Starting: "/usr/bin/make" -f /Users/sy/XMLMPAM/build-mdFIO-Desktop_Qt_5_15_2_clang_64bit-Debug/Makefile qmake_all
          /Users/sy/Qt/5.15.2/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
          The platform SDK has been changed from version 12.3 to version 13.1.
          This requires a fresh build. Please wipe the build directory completely,
          including any .qmake.stash and .qmake.cache files generated by qmake.
          07:15:22: The process "/usr/bin/make" exited with code 2.
          Error while building/deploying project mdFIO (kit: Desktop Qt 5.15.2 clang 64bit)
          When executing step "qmake"
          07:15:22: Elapsed time: 00:01.
          

          Is there anything that can be done?

          Kind Regards,
          Sy

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            Hi,

            The brutal way: disable the check in the file.

            The correct way: rebuild Qt with the latest SDK.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            SPlattenS 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              The brutal way: disable the check in the file.

              The correct way: rebuild Qt with the latest SDK.

              SPlattenS Offline
              SPlattenS Offline
              SPlatten
              wrote on last edited by
              #5

              @SGaist , I’m completely up to date, are you suggesting I switch the SDK?

              Kind Regards,
              Sy

              SGaistS 1 Reply Last reply
              0
              • JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by
                #6

                @SPlatten said in Revisiting project build:

                The platform SDK has been changed from version 12.3 to version 13.1.

                check this out
                https://stackoverflow.com/questions/65952224/qtcreator-fails-on-macos-sdk-11-1

                delete this one?
                /Users/[my username]/.qmake.stash

                1 Reply Last reply
                0
                • SPlattenS SPlatten

                  @SGaist , I’m completely up to date, are you suggesting I switch the SDK?

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #7

                  @SPlatten said in Revisiting project build:

                  @SGaist , I’m completely up to date, are you suggesting I switch the SDK?

                  No, if you want to use the latest SDK as Apple recommends, you need to either rebuild your Qt 5.15.2 (or go with the latest of the 5.15 series if you build it anyway). Or make the test a no-op, which should work but might open other cans of worms.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - 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