Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10
-
None
Description
Customer left good feedback on page:
Qt for Android - Building from Source
Issue 1:
Location:
Paragraph:
To configure and do a minimalistic host build to be used with Qt for Android build, use the following command:
mkdir ~/dev/build-host
cd ~/dev/build-host
./configure -developer-build -nomake tests -nomake examples
cmake --build . --target host_tools
Feedback:
It is not evident that ./configure must point to the root of the source folder. People tend to create a build folder elsewhere on the directory tree and don't understand where from you get the ./configure. For example in my case the path is ~/qt-src/qt-mk2/qt5/configure
Issue 2:
Location:
[ Advanced Configure Arguments|https://doc.qt.io/qt-6/android-building.html#advanced-configure-arguments]
Paragraph:
To build Qt as a developer build instead of a prefix build, use the following instead of the -prefix argument:
-developer-build
Note: When using this configure argument, it's not required to install your Qt build, Qt for Android can be used directly from within the build directory.
Feedback
When using option -develoment-build it needs clarification that the parameter -qt-host-path must point to qtbase - folder within the host build folder structure. For example in my case: -qt-host-path /mnt/WorkDisk/qt-build/qt6-mk2/gcc_64/qtbase