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

OBJECTS_DIR seems to be ignored by qmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.5, 5.0.1
    • 4.8.1, 4.8.2, 4.8.3
    • Build tools: qmake
    • None
    • MacOs, xcode
    • eb2d0c82eb8842713f897c0de8c960d07e62df7d (5.0.1) acfd489fb344d53463525c7b390cce7381f67b80 (4.8.5)

    Description

      The qmake variable OBJECTS_DIR seems to be ignored since Qt 4.8.1 (worked in 4.8.0), when creating an xcode project.

      Example:
      OBJECTS_DIR is defined like this in the .pro
      DGI_BASE_PATH = ../../..
      DGI_OUTPUT_PATH = $$DGI_BASE_PATH/Output/Debug
      OBJECTS_DIR = $$DGI_OUTPUT_PATH/Intermediate

      When compiling I used to get:
      -I/DevMac/BranchName/DGI/Projects/MacOS/Xcode/../../../Output/Debug/Intermediate/DGI.build/Debug/DGI.build/DGI.hmap

      Now I have:
      -I/DevMac/BranchName/DGI/Projects/MacOS/Xcode/build/DGI.build/Debug/DGI.build/DGI.hmap

      This causes compiling problems with objects defined in an other project.

      Attachments

        For Gerrit Dashboard: QTBUG-28104
        # Subject Branch Project Status CR V

        Activity

          People

            andysh Andy Shaw
            mnemosyned Julie Dubé
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes