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

Precompiled headers doesn't work (Clang + Android)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.12.0
    • Build System
    • None
    • All

    Description

      Using precompiled headers by adding:

      CONFIG += precompile_header 
      PRECOMPILED_HEADER = pch.h

      to the .pro file fails when compiling with Clang (for Android). A totally wrong '-include' directive is added to the clang++ command line. It actually contains project's name instead of the precompiled header file name (as highlighted blue in the picture below):


       

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              rayx Ray Gray
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes