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

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.0
    • 5.2.0 Beta1
    • QPA
    • None
    • 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

              vestbo Tor Arne Vestbø
              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