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

QMAKE_BUNDLE ignored during build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.13.0
    • Build tools: qmake
    • None
    • macOS
    • macOS

    Description

      It appears a regression has happened from a fix in 5.11.2 (QTBUG-70072)

      As documented in qmake-variable-reference.html#qmake-provisioning-profile, you should be able to define this in your .pro file:

      QMAKE_TARGET_BUNDLE_PREFIX = com.mycompany
      QMAKE_BUNDLE = appid_custom

      and the resulting bundle ID would be

      com.mycompany.appid_custom

       

      Instead it becomes:

      com.mycompany.${PRODUCT_NAME:rfc1034identifier}

       

      The QMAKE_BUNDLE set in pro appears to be getting cleared (most likely changed) somewhere and as a result in ./Qt5.13/5.13.0/clang_64/mkspecs/features/mac/default_post.prf

      xcode_product_bundle_target = $$QMAKE_BUNDLE  <----cleared/changed here somehow?
      isEmpty(xcode_product_bundle_target): \
         xcode_product_bundle_target = ${PRODUCT_NAME:rfc1034identifier}

       

      Also reported on original bug in comments by someone else.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            timwessman Tim Wessman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes