Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-137296

Clarifications to "Qt for Android - Building from Source" page based on customer feedback.

XMLWordPrintable

    • Android
    • 06a4fe7f9 (dev), bbf877648 (6.10), b6988d024 (6.9), d113e6ffb (tqtc/lts-6.8)
    • 2025wk30s2QtforAndroid, 2025wk32s2QtforAndroid

      Customer left good feedback on page:
      Qt for Android - Building from Source

      Issue 1:
      Location:

      Configuring

      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

       

       

        For Gerrit Dashboard: QTBUG-137296
        # Subject Branch Project Status CR V

            nick_bennett Nicholas Bennett
            lapohjan Lauri Pohjanheimo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: