Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101717

6.2.3 on macOS 12.3 Xcode 13.1 won't build

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      661697bc1edb9023d8d13b99d7f6b5c080a54bc7 bd73a1ab6544bcef848e485b573e2c2b10458ea5

      Description

      I'm a Qt Commercial licensee. Platform is macOS 12.3 with Xcode 13.1, cmake, ninja, python2 & python3 installed.  I downloaded the 6.2.3 source through the maintenance tool and attempted to build using...

      ./configure -prefix /Users/michaelsmithers/qt/6.2.3_fixed

      cmake --build . --parallel

      The build fails at around step 13336 of 15319.... see except below...  I know it's not much to go by and I'm not sure how to investigate much further. (I previously successfully built 6.2.2 on Catalina.)

      According to the 6.2.3 tools and versions, this 6.2.3 should build with Xcode 13.1.

      (I've also tried with the latest Xcode 13.3 but no luck.)

       

      (Even though the prefix, above, says 6.2.3_fixed, the source has not been modified. I haven't yet applied patches that I need for QFileDialog.)

       

      [13336/15319] Building CXX object qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/CMakeF...QuickImpl.dir/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp.
      
      FAILED: qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/CMakeFiles/QuickDialogs2QuickImpl.dir/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp.o 
      
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DGL_SILENCE_DEPRECATION -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICKDIALOGS2QUICKIMPL_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_OPENGL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKDIALOGS2UTILS_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER -DQuickDialogs2QuickImpl_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/QuickDialogs2QuickImpl_autogen/include -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickDialogs2QuickImpl -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtQuickDialogs2QuickImpl.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickDialogs2QuickImpl/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickDialogs2QuickImpl/6.2.3/QtQuickDialogs2QuickImpl -I/Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/qml -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQml/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQml/6.2.3/QtQml -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/src/corelib -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtCore/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtCore/6.2.3/QtCore -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtCore -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtCore.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/mkspecs/macx-clang -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQml -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtQml.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtNetwork -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtNetwork.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtGui -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtGui.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuick -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtQuick.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQmlModels -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtQmlModels.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtOpenGL -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtOpenGL.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/src/gui -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtGui/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtGui/6.2.3/QtGui -I/Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quick -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuick/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuick/6.2.3/QtQuick -I/Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/qmlmodels -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQmlModels/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQmlModels/6.2.3/QtQmlModels -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickTemplates2 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtQuickTemplates2.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quicktemplates2 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickTemplates2/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickTemplates2/6.2.3/QtQuickTemplates2 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickDialogs2Utils -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/lib/QtQuickDialogs2Utils.framework/Headers -I/Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2utils -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickDialogs2Utils/6.2.3 -I/Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQuickDialogs2Utils/6.2.3/QtQuickDialogs2Utils -DNDEBUG -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -mmacosx-version-min=10.14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -fapplication-extension -std=c++17 -Winvalid-pch -Xclang -include-pch -Xclang /Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/CMakeFiles/QuickDialogs2QuickImpl.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/CMakeFiles/QuickDialogs2QuickImpl.dir/cmake_pch.hxx -MD -MT qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/CMakeFiles/QuickDialogs2QuickImpl.dir/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp.o -MF qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/CMakeFiles/QuickDialogs2QuickImpl.dir/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp.o.d -o qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/CMakeFiles/QuickDialogs2QuickImpl.dir/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp.o -c /Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp
      
      /Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp:1240:44: error: no viable conversion from 'QJSValue' to 'QObject *'
      
      while (!aotContext->loadAttachedLookup(38, r2_6, &r2_5)) {
      
                                                 ^~~~
      
      /Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:665:54: note: passing argument to parameter 'object' here
      
              bool loadAttachedLookup(uint index, QObject *object, void *target) const;
      
                                                           ^
      
      /Users/michaelsmithers/Qt/6.2.3/Src/qtdeclarative/src/quickdialogs2/quickdialogs2quickimpl/.rcc/qmlcache/QuickDialogs2QuickImpl_qml/+Universal/FolderBreadcrumbBar_qml.cpp:1242:40: error: no viable conversion from 'QJSValue' to 'QObject *'
      
      aotContext->initLoadAttachedLookup(38, r2_6);
      
                                             ^~~~
      
      /Users/michaelsmithers/Qt/6.2.3/Src/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:666:58: note: passing argument to parameter 'object' here
      
              void initLoadAttachedLookup(uint index, QObject *object) const;
      
                                                               ^
      
      2 errors generated.
      
      [13345/15319] Building CXX object qtdeclarative/src/quicknativestyle/CMakeFiles/qtquickcontrols2nativestyleplugin.dir/qstyle/qquickstyle.cpp.o
      
      ninja: build stopped: subcommand failed.
      

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            mjsmithers Michael Smithers
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes