I have tried to compile the latest qgroundcontrol with the new installed QT creator on my OSX many times. But it fails as below everytimes. How can I fix it? Thank you.
…
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.
………
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.
…….
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.