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

iOS: QMAKE_BUNDLE_DATA does not copy the files to the expected path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.2.0 Beta1
    • Fix Version/s: 5.2.0
    • Component/s: QPA
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      Adding the following in a pro file:

      FONTS.files = $$PWD/fonts/OpenSans-Bold.ttf $$PWD/fonts/OpenSans-Semibold.ttf $$PWD/fonts/OpenSans-Regular.ttf
      FONTS.path = fonts
      QMAKE_BUNDLE_DATA += FONTS
      

      Expected: the ttf files copied in Debug-iphones/AppName.app/fonts folder

      Actual: the ttf file copied in Debug-iphones/fonts

      Problem: the files are copied at the same level as the bundle, instead of inside the bundle

      Note: when the path is not given, the files are copied inside the bundle

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              carochao Caroline Chao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes