Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2.4
-
None
Description
I'm currently porting Qt application for INTEGRITY running on i.MX 8QuadMax MEK CPU Board.
The host machine runs Ubuntu 22.0.4.
I refered to this document for this task:
https://doc.qt.io/qt-6.2/integrity-building-qt-8155p-on-ubuntu.html
So first of all I pulled "qt5" repo as instructed here:
https://wiki.qt.io/Building_Qt_5_from_Git#Getting_the_source_code
Then I ran "source ./setEnvironment.sh" as instructed in the document(first link)
My "setEnvironment,sh" is like so:
export PATH=$PATH:/usr/ghs/comp_202114 export INTEGRITY_DIR=/usr/ghs/int19015 export INTEGRITY_BSP=platform-imx8 export INTEGRITY_BUILD_TARGET=dbg export GL_INC_DIR=/usr/ghs/int19015/imx8-graphics/include export GL_LIB_DIR=/usr/ghs/int19015/imx8-graphics/libs
Then checked out to "6.2.4" branch.
After that, I ran "git submodule update --init --recursive"
Then, I ran "cmake --build . --parallel 6"
This gave me an error like this:
It's basically saying "/qtbase/translations/qtwebsockets_en.qm" doesn't exist.
So I checked it and it indeed didn't exist, moreover, "translations" directory didn't even there.
So I decided to create "translations" directory manually under "qtbase" directory, then run "cmake --build . --parallel 6" again.
It surprisingly worked and now build is finished successfully.
I'm not sure about the root cause but it seems kind of odd to me that this error was fixed just by manually adding a directory, which gives me an impression that there seems to be something wrong with Qt.