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

Precompiled headers don't work on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.12.0
    • Build tools: qmake
    • None
    • Windows, Android with NDK version 18
    • Android
    • 6acab25f97820023b9998359e6ca79cf11a4ab5c (qt/qtbase/5.15) 059172c6332167253760dff419d1f1221185281e (qt/qtbase/5.15)

      Using precompiled headers when building for Android causes the build to fail.

      Attached is a simple project that uses a precompiled header "stable.h" as specified in the .pro.

      On Windows and OSX, the project compiles fine. On Android it produces a compile error, please see the attached log.txt

       

       

        1. ClangTestProject.zip
          2 kB
          Christian Romberg
        2. log.txt
          3 kB
          Marc Britton
        3. PCHAndroidTest.zip
          3 kB
          Marc Britton
        For Gerrit Dashboard: QTBUG-72404
        # Subject Branch Project Status CR V

            esabraha Eskil Abrahamsen Blomfeldt
            mrb Marc Britton
            Votes:
            5 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes