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

ios: QMAKE_PRE_LINK Gives Error :Multiple commands produce

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • 5fe52a042 (dev), 677472f07 (tqtc/lts-6.2), a3569e4cd (6.4), ec51c30f5 (tqtc/lts-5.15), 69c75ebbd (6.5)

    Description

      Since now that Qt generates "The new build system" with Xcode projects starting with Qt 5.15.6,  QMAKE_PRE_LINK is not usable in  projects. It results in unrelated build errors.

      This can be reproduced as follows.
      1. Create a new Qt Quick project for iOS Simulator with qmake.
      2. Build and make sure it works (no need to run it).
      3. Add the following to the qmake project:

      QMAKE_PRE_LINK += $$QMAKE_MKDIR ~/foo

      4. Rebuild the project.
      5. Unrelated build errors regarding "error: Multiple commands produce..."

      This can be workaround by switching to  the legacy build system, but that's not ideal.

       

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            irfan.omair@digia.com Irfan Omair
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: