Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25283

Qt Creator does not build with Qt 6 (Objective-C App Extension was disabled in PCH file but is currently enabled)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: Qt Creator 4.15.0-beta1
    • Fix Version/s: None
    • Component/s: Building Qt Creator
    • Labels:
    • Environment:
      macOs 11 on Apple Silicon
    • Platform/s:
      macOS

      Description

      When I try to build QtCreator on my new Mac with Apple silicon I get the following error:

       

      ...
      [ 17%] Building CXX object src/shared/designerintegrationv2/CMakeFiles/designerintegrationv2.dir/designerintegrationv2_autogen/mocs_compilation.cpp.o
      error: Objective-C App Extension was disabled in PCH file but is currently enabled
      1 error generated.
      make[2]: *** [src/shared/designerintegrationv2/CMakeFiles/designerintegrationv2.dir/designerintegrationv2_autogen/mocs_compilation.cpp.o] Error 1
      make[1]: *** [src/shared/designerintegrationv2/CMakeFiles/designerintegrationv2.dir/all] Error 2
      make: *** [all] Error 2
      03:11:30: The process "/usr/local/Cellar/cmake/3.19.3/bin/cmake" exited with code 2.
      Error while building/deploying project QtCreator (kit: Desktop Qt 6.0.0 clang 64bit)
      When executing step "Build"
      

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              con Eike Ziller
              Reporter:
              autoantwort autoantwort
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes