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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.10
    • Documentation
    • None
    • Android

    Description

      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

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes