Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.0 Beta2
-
None
-
Ubuntu 22 X86_64 with kernel 5.19.0-32-generic
Description
This is my recipe to build qtbase,qtdeclarative from dev
mkdir QT_QEMU_qa_automation && cd QT_QEMU_qa_automation && MyQtBaseDir=/home/username/Downloads/myGitHub/QT_QEMU_qa_automation
git clone https://github.com/qt/qt5 qt5 && cd qt5
perl init-repository --module-subset=qtbase,qtdeclarative
cd ${MyQtBaseDir} && rm -Rf build_host/ && rm -Rf build_artifacts_host && mkdir build_host build_artifacts_host
cd ${MyQtBaseDir}/build_host && ../qt5/configure -release -opensource -nomake examples -nomake tests -confirm-license -prefix ../build_artifacts_host -- --trace-redirect=log.txt --trace-expand
cmake --build . --parallel && cmake --install .
But I get error
libxkbcommon.so: error adding symbols: file in wrong format
Before I get warnings
CMake Warning at /home/username/Downloads/myGitHub/QT_QEMU_qa_automation/build_host/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
Cannot generate a safe runtime search path for target cmTC_49e96 because
files in some directories may conflict with libraries in implicit
directories:
runtime library [libGLESv2.so.2] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/usr/lib/i386-linux-gnu
Some of these libraries may not be found correctly.
see log in attachment.
If I remove "qtdeclarative" from "perl init-repository --module-subset=qtbase,qtdeclarative" I can build well.