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

Documentation incomplete for qmake and precompiled headers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 5.13.0
    • 5.5.1
    • None
    • Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.2.0)

    Description

      In qmake's Using Precompiled Header documentation there are a few things missing:

      1. Unix section lists a compiler but OS X and Windows sections list build schemes
        • (Clang works for Linux and probably for OS X too)
      2. "you only need to..." isn't correct
        • (there are two other things needed)
      3. config flag precompile_header not described
        • (but it's in the example)
      4. variable for PRECOMPILED_DIR not mentioned
        • (without it, qmake picks your target name, which causes a bizarre compile error because of the file/directory conflict)
        • (maybe this needs a qmake code change)

      Attachments

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

        Activity

          People

            kdpalara Kavindra Palaraja
            dcecile Dan Cecile
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes