I am trying compiling the latest qgroundcontrol with the new installed QT creator on my OSX. But it fails as below. How can I fix it? Thank you.
…
[49/683 8.2/sec] Linking CXX static library _deps/libevents-build/parse/liblibevents_health_and_arming_checks.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: _deps/libevents-build/parse/liblibevents_health_and_arming_checks.a(mocs_compilation.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: _deps/libevents-build/parse/liblibevents_health_and_arming_checks.a(mocs_compilation.cpp.o) has no symbols
[50/683 8.1/sec] Building C object _deps/shapelib-build/CMakeFiles/shp.dir/shpopen.c.o
[51/683 7.8/sec] Building CXX object src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstplugin.cc.o
FAILED: src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstplugin.cc.o
/usr/local/bin/ccache /usr/bin/clang++ -DDAILY_BUILD -DHAVE_QT_MAC -DHAVE_QT_QPA_HEADER -DNDEBUG -DQGC_APP_NAME="QGroundControl" -DQGC_APP_VERSION_STR="v4.3.0-881-gaba29d63c" -DQGC_ORG_DOMAIN="org.qgroundcontrol" -DQGC_ORG_NAME="QGroundControl.org" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x060600 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QPA_HEADER=“<QtGui/qpa/qplatformnativeinterface.h>” -DQT_QUICK_LIB -I/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/src/VideoManager/VideoReceiver/GStreamer/qmlglsink/qmlglsink_autogen/include -I/Library/Frameworks/GStreamer.framework/include/gstreamer-1.0 -I/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/gstreamer-1.0/include -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/orc-0.4 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/glib-2.0 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/glib-2.0/include -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Headers -iframework /Users/kevin/Qt/6.6.3/macos/lib -isystem /Users/kevin/Qt/6.6.3/macos/mkspecs/macx-clang -isystem /Users/kevin/Qt/6.6.3/macos/include -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Versions/A/Headers/6.6.3 -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Versions/A/Headers/6.6.3/QtGui -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Versions/A/Headers/6.6.3 -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Versions/A/Headers/6.6.3/QtCore -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtOpenGL.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQml.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/include/QtQmlIntegration -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtNetwork.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQuick.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQmlModels.framework/Headers -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6 -fcolor-diagnostics -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/gstreamer-1.0/include -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/orc-0.4 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/glib-2.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/glib-2.0/include -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-unused-private-field -MD -MT src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstplugin.cc.o -MF src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstplugin.cc.o.d -o src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstplugin.cc.o -c /Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstplugin.cc
In file included from /Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstplugin.cc:25:
/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6elements.h:29:1: error: unknown type name ‘GST_ELEMENT_REGISTER_DECLARE’
GST_ELEMENT_REGISTER_DECLARE (qml6glsink);
^
1 error generated.
[52/683 6.7/sec] Building CXX object _deps/ulogparser-build/ulog_cpp/CMakeFiles/ulog_cpp.dir/data_container.cpp.o
[53/683 5.6/sec] Building CXX object src/VideoManager/VideoReceiver/CMakeFiles/VideoReceiver.dir/VideoReceiver_autogen/mocs_compilation.cpp.o
[54/683 5.5/sec] Building CXX object _deps/ulogparser-build/ulog_cpp/CMakeFiles/ulog_cpp.dir/messages.cpp.o
[55/683 5.2/sec] Building CXX object _deps/ulogparser-build/ulog_cpp/CMakeFiles/ulog_cpp.dir/simple_writer.cpp.o
[56/683 5.2/sec] Building CXX object src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc.o
FAILED: src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc.o
/usr/local/bin/ccache /usr/bin/clang++ -DDAILY_BUILD -DHAVE_QT_MAC -DHAVE_QT_QPA_HEADER -DNDEBUG -DQGC_APP_NAME="QGroundControl" -DQGC_APP_VERSION_STR="v4.3.0-881-gaba29d63c" -DQGC_ORG_DOMAIN="org.qgroundcontrol" -DQGC_ORG_NAME="QGroundControl.org" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x060600 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QPA_HEADER=“<QtGui/qpa/qplatformnativeinterface.h>” -DQT_QUICK_LIB -I/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/src/VideoManager/VideoReceiver/GStreamer/qmlglsink/qmlglsink_autogen/include -I/Library/Frameworks/GStreamer.framework/include/gstreamer-1.0 -I/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/gstreamer-1.0/include -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/orc-0.4 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/glib-2.0 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/glib-2.0/include -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Headers -iframework /Users/kevin/Qt/6.6.3/macos/lib -isystem /Users/kevin/Qt/6.6.3/macos/mkspecs/macx-clang -isystem /Users/kevin/Qt/6.6.3/macos/include -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Versions/A/Headers/6.6.3 -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Versions/A/Headers/6.6.3/QtGui -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Versions/A/Headers/6.6.3 -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Versions/A/Headers/6.6.3/QtCore -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtOpenGL.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQml.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/include/QtQmlIntegration -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtNetwork.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQuick.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQmlModels.framework/Headers -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6 -fcolor-diagnostics -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/gstreamer-1.0/include -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/orc-0.4 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/glib-2.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/glib-2.0/include -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-unused-private-field -MD -MT src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc.o -MF src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc.o.d -o src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir//////_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc.o -c /Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc
In file included from /Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc:75:
/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6elements.h:29:1: error: unknown type name ‘GST_ELEMENT_REGISTER_DECLARE’
GST_ELEMENT_REGISTER_DECLARE (qml6glsink);
^
/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc:141:1: error: C++ requires a type specifier for all declarations
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (qml6glsink, “qml6glsink”,
^
/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc:142:61: error: use of undeclared identifier ‘plugin’
GST_RANK_NONE, GST_TYPE_QML6_GL_SINK, qt6_element_init (plugin));
^
/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqml6glsink.cc:581:10: error: no member named ‘send_event_simple’ in ‘_GstNavigationInterface’
iface->send_event_simple = gst_qml6_gl_sink_navigation_send_event;
4 errors generated.
[57/683 5.2/sec] Building CXX object src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/__/__/__/__/__/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6element.cc.o
FAILED: src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/__/__/__/__/__/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6element.cc.o
/usr/local/bin/ccache /usr/bin/clang++ -DDAILY_BUILD -DHAVE_QT_MAC -DHAVE_QT_QPA_HEADER -DNDEBUG -DQGC_APP_NAME=\"QGroundControl\" -DQGC_APP_VERSION_STR=\"v4.3.0-881-gaba29d63c\" -DQGC_ORG_DOMAIN=\"org.qgroundcontrol\" -DQGC_ORG_NAME=\"QGroundControl.org\" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x060600 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QPA_HEADER="<QtGui/qpa/qplatformnativeinterface.h>" -DQT_QUICK_LIB -I/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/src/VideoManager/VideoReceiver/GStreamer/qmlglsink/qmlglsink_autogen/include -I/Library/Frameworks/GStreamer.framework/include/gstreamer-1.0 -I/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/gstreamer-1.0/include -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/orc-0.4 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/include/glib-2.0 -isystem /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/glib-2.0/include -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Headers -iframework /Users/kevin/Qt/6.6.3/macos/lib -isystem /Users/kevin/Qt/6.6.3/macos/mkspecs/macx-clang -isystem /Users/kevin/Qt/6.6.3/macos/include -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Versions/A/Headers/6.6.3 -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtGui.framework/Versions/A/Headers/6.6.3/QtGui -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Versions/A/Headers/6.6.3 -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtCore.framework/Versions/A/Headers/6.6.3/QtCore -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtOpenGL.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQml.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/include/QtQmlIntegration -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtNetwork.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQuick.framework/Headers -isystem /Users/kevin/Qt/6.6.3/macos/lib/QtQmlModels.framework/Headers -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6 -fcolor-diagnostics -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/gstreamer-1.0/include -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/orc-0.4 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include -I/Library/Frameworks/GStreamer.framework/Versions/1.0/include/glib-2.0 -I/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/glib-2.0/include -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-unused-private-field -MD -MT src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/__/__/__/__/__/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6element.cc.o -MF src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/__/__/__/__/__/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6element.cc.o.d -o src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/__/__/__/__/__/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6element.cc.o -c /Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6element.cc
In file included from /Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6element.cc:25:
/Users/kevin/qgroundcontrol/build/Qt_6_6_3_for_macOS-Release/_deps/gstreamer_good_plugins-src/ext/qt6/gstqt6elements.h:29:1: error: unknown type name 'GST_ELEMENT_REGISTER_DECLARE'
GST_ELEMENT_REGISTER_DECLARE (qml6glsink);
^
1 error generated.
[58/683 5.2/sec] Building CXX object src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/__/__/__/__/__/_deps/gstreamer_good_plugins-src/ext/qt6/gstqsg6glnode.cc.o
[59/683 5.3/sec] Building CXX object src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/qmlglsink_autogen/mocs_compilation.cpp.o
[60/683 4.4/sec] Building CXX object _deps/libevents-build/parse/CMakeFiles/libevents_parser.dir/parser.cpp.o
ninja: build stopped: subcommand failed.
10:03:14: process"/Users/kevin/Qt/Tools/CMake/CMake.app/Contents/bin/cmake" 1 。
Error while building/deploying project QGroundControl (kit: Qt 6.6.3 for macOS)
When executing step "build"