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

Optimize example build time with Android on Windows

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.3.0, 6.8, 6.9, 6.10.0 Beta1
    • Other
    • 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2022wk48FOQtforAndroid, 2022wk50FOQtforAndroid, 2022wk52FOQtforAndroid

      Building Qt examples with Android on Windows is much slower compared to unix.

      Observations from RTA test on 6.3.0 beta1, using arm64 as an example. Build commands used in all platforms:

      /home/qt/RTA/Qt_6.3.0/6.3.0/android_arm64_v8a/bin/qt-cmake -S /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/demos/clocks -B /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/demos/clocks/bld_arm64-v8a -DANDROID_SDK_ROOT=/opt/android/sdk -DANDROID_NDK_ROOT=/opt/android/android-ndk-r22b -GNinja

       

      cmake --build . --target apk

      On Ubuntu20.04 compiled 535 examples in 1h 31 min.

      On macOS11.0 compiled 534 examples in 1h 35 min.

      On Windows10_21H2 compiled 465 examples in 8h 47 min.

      Investigate if there is something that can be done to speed up compilation time on Windows.

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

            rampe Rami Potinkara
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes