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

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • Qt Creator 4.15.0-beta1
    • Building Qt Creator
    • macOs 11 on Apple Silicon
    • 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

              con Eike Ziller
              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