Help Needed: Compiling Qt from Source on Linux 6.7.1 - Error with QWayland Extensions
-
wrote on 31 May 2024, 21:54 last edited by
Hello everyone,
I'm currently facing an issue while trying to compile Qt from source on Linux 6.7.1. Despite following the compilation steps diligently, I keep encountering the following error:
[11319/12106] 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. [11921/12106] Linking CXX shared module qtbase/plugins/wayland-graphics-integration-server/libqt-wayland-compositor-wayland-egl.so FAILED: qtwebengine/src/core/Release/x86_64/QtWebEngineCore.stamp qtwebengine/src/core/Release/x86_64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp qtwebengine/src/core/Release/x86_64/QtWebEngineCore /home/****/dev/qt-build/qtwebengine/src/core/Release/x86_64/QtWebEngineCore.stamp /home/****/dev/qt-build/qtwebengine/src/core/Release/x86_64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp /home/*****/dev/qt-build/qtwebengine/src/core/Release/x86_64/QtWebEngineCore cd /home/*****/dev/qt-build/qtwebengine/src/core && /usr/bin/ninja -C /home/****/dev/qt-build/qtwebengine/src/core/Release/x86_64 QtWebEngineCore ninja: build stopped: subcommand failed.
It seems to be related to the QWayland extensions. Despite my efforts to troubleshoot, I haven't been able to resolve this issue. Has anyone encountered a similar problem before? Any insights or suggestions on how to resolve this would be greatly appreciated.
If you need more details about my setup or the steps I've taken so far, please let me know.
Thank you in advance for your help and expertise!
-
Thanks for your patience! You seem to know what you’re doing!
Can you try without webengine enabled?
I hate to say it, but it looks like a bug to me. -
Thanks for your patience! You seem to know what you’re doing!
Can you try without webengine enabled?
I hate to say it, but it looks like a bug to me.wrote on 1 Jun 2024, 10:19 last edited by@Axel-Spoerl Error still persists. I compiled it like this:
/tmp/qt-everywhere-src-6.7.1/configure -skip qtwebengine
It outputs same error, but way earlier.
[11085/11810] 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. [11810/11810] Linking CXX shared module qtbase/plugins/wayland-graphics-integration-server/libqt-wayland-compositor-wayland-egl.so
1/3