Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.4/iOS: Deploy Launch.xib
Forum Updated to NodeBB v4.3 + New Features

Qt 5.4/iOS: Deploy Launch.xib

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lynic
    wrote on 9 Feb 2015, 09:19 last edited by
    #1

    Hi,

    The .pro file contains the following lines to copy a custom launch file to the xCode project:

    @launch_xib.files = $$PWD/ios/Launch.xib
    QMAKE_BUNDLE_DATA += launch_xib@

    But the image (e.g. "Launch.xib") is not copied. Instead the LaunchScreen.xib (automatically created by Qt) is added to the project. Is there a possible bug in the pipeline, or are the lines above wrong?

    Regards,

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TioRoy
      wrote on 9 Feb 2015, 11:13 last edited by
      #2

      Your lines are correct.

      • Copy the .plist deployed by QtCreator to output dir, to your project

      • Add this line in your .pro:

      @
      QMAKE_INFO_PLIST = $$PWD/ios/<filename>.plist
      @

      • Change in your <filename>.plist the variable UILaunchStoryboardName:

      @
      <key>UILaunchStoryboardName</key>
      <string>launch_xib</string>
      @

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lynic
        wrote on 9 Feb 2015, 14:48 last edited by
        #3

        Thanks. I am doing exactly this but the xib is not copied.
        Interestingly the following works:

        @
        launch_xib.files = $$files($$PWD/ios/*.xib)
        QMAKE_BUNDLE_DATA += launch_xib
        @

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TioRoy
          wrote on 9 Feb 2015, 18:32 last edited by
          #4

          Sorry. I did not read correctly your post.
          Here the piece of my .pro:

          @
          BUNDLE_DATA.files = $$PWD/ios/icons/Icon.png
          $$PWD/ios/icons/Icon@2x.png
          $$PWD/ios/icons/Icon-60.png
          $$PWD/ios/icons/Icon-60@2x.png
          $$PWD/ios/icons/Icon-72.png
          $$PWD/ios/icons/Icon-72@2x.png
          $$PWD/ios/icons/Icon-76.png
          $$PWD/ios/icons/Icon-76@2x.png
          $$PWD/ios/icons/Icon-Small.png
          $$PWD/ios/icons/Icon-Small@2x.png
          $$PWD/ios/icons/Icon-Small-40.png
          $$PWD/ios/icons/Icon-Small-40@2x.png
          $$PWD/ios/icons/Icon-Small-50.png
          $$PWD/ios/icons/Icon-Small-50@2x.png
          $$PWD/ios/launch.xib
          @

          1 Reply Last reply
          0

          1/4

          9 Feb 2015, 09:19

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved