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

ios: QMAKE_PRE_LINK Gives Error :Multiple commands produce

    XMLWordPrintable

    Details

    • Platform/s:
      iOS/tvOS/watchOS

      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

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            irfan.omair@digia.com Irfan Omair
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes