Название: Сборка Qt из исходников Отправлено: KSergeyP от Сентября 19, 2024, 11:21 Добрый день! Собираю Qt6.7.2 из исходников под Linux.
Сборка проходит без ошибок но есть несколько предупреждений: Warning: private/qt3dquickvaluetypes_p.h:: QColor is declared as foreign type, but cannot be found. Warning: private/qt3dquickvaluetypes_p.h:: QMatrix4x4 is declared as foreign type, but cannot be found. Warning: private/qt3dquickvaluetypes_p.h:: QQuaternion is declared as foreign type, but cannot be found. Warning: private/qt3dquickvaluetypes_p.h:: QVector2D is declared as foreign type, but cannot be found. Warning: private/qt3dquickvaluetypes_p.h:: QVector3D is declared as foreign type, but cannot be found. Warning: private/qt3dquickvaluetypes_p.h:: QVector4D is declared as foreign type, but cannot be found. Warning: private/qpositioningquickmodule_p.h:: QGeoAddress is declared as foreign type, but cannot be found. Warning: private/qpositioningquickmodule_p.h:: QGeoLocation is declared as foreign type, but cannot be found. Warning: private/qpositioningquickmodule_p.h:: QGeoPositionInfo is declared as foreign type, but cannot be found. Warning: private/foreigntypes_p.h:: QTouch3DInputHandler is declared as foreign type, but cannot be found. Warning: private/foreigntypes_p.h:: Refusing to generate non-lowercase name TouchInputHandler3D for unknown foreign type qwltexturesharingextension_p.h:62:1: warning: Property declaration imageSearchPath has neither an associated QProperty<> member, nor a READ accessor function nor an associated MEMBER variable. The property will be invalid. QTextToSpeechMockPlugin.dir/QTextToSpeechMockPlugin_autogen/mocs_compilation.cpp.o [12338/13046] Automatic QML type registration for target WaylandCompositor Warning: qwaylandidleinhibitv1.h:: QWaylandCompositorExtensionTemplate<QWaylandIdleInhibitManagerV1> is used but cannot be found. Warning: qwaylandqttextinputmethodmanager.h:: QWaylandCompositorExtensionTemplate<QWaylandQtTextInputMethodManager> is used but cannot be found. Warning: qwaylandqtwindowmanager.h:: QWaylandCompositorExtensionTemplate<QWaylandQtWindowManager> is used but cannot be found. Warning: qwaylandtextinputmanager.h:: QWaylandCompositorExtensionTemplate<QWaylandTextInputManager> is used but cannot be found. Warning: qwaylandtextinputmanagerv3.h:: QWaylandCompositorExtensionTemplate<QWaylandTextInputManagerV3> is used but cannot be found. Может кто то подсказать как от них избавиться, хотя бы от каких либо из перечисленных? Нужно доустановить какие-то dev пакеты в Linux? Понятно что для разных предупреждений какие-то свои зависимости должны быть. Название: Re: Сборка Qt из исходников Отправлено: qate от Сентября 21, 2024, 10:13 никак, забить
но можно создать и багрепорт, это проблема qt - пусть сами и исправляют Название: Re: Сборка Qt из исходников Отправлено: KSergeyP от Октября 25, 2024, 22:08 Вот еще при сборке MinGW64:
WARNING: Basic cpp/winrt support missing. Some features might not be available. Что хочет? Вот на гитхабе этот winrt: https://github.com/microsoft/cppwinrt Как его в сборку запихнуть? Или компилятор должен быть собран с его поддержкой? - https://packages.msys2.org/base/mingw-w64-cppwinrt |