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. How to add info.plist to qt-ios App??
Forum Updated to NodeBB v4.3 + New Features

How to add info.plist to qt-ios App??

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
8 Posts 3 Posters 2.6k 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.
  • Y Offline
    Y Offline
    ysbaekFox
    wrote on last edited by ysbaekFox
    #1

    I confirmed in the link below that I can replace the default info.plist with custom info.plist.
    But I would like to add my custom info.plist which is not replacing default info.plist.

    In the following link, It seems qmake doesn't provide such functionality itself.

    • https://doc.qt.io/qt-5/ios-platform-notes.html

    What function of qmake should i use ??
    (Actually there can be several info.plist in xcode swift project ) ,

    1 Reply Last reply
    0
    • GerhardG Offline
      GerhardG Offline
      Gerhard
      wrote on last edited by
      #2

      Insert this in your .pro file :
      ios {
      QMAKE_INFO_PLIST=$$PWD/filename.plist
      }

      Gerhard

      Gerhard

      Y 1 Reply Last reply
      0
      • GerhardG Gerhard

        Insert this in your .pro file :
        ios {
        QMAKE_INFO_PLIST=$$PWD/filename.plist
        }

        Gerhard

        Y Offline
        Y Offline
        ysbaekFox
        wrote on last edited by
        #3

        @Gerhard
        Isn't it replacing the default info.plist ??

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Where exactly do you want to store them ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Y 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            Where exactly do you want to store them ?

            Y Offline
            Y Offline
            ysbaekFox
            wrote on last edited by ysbaekFox
            #5

            @SGaist
            I would like to add * .appex. that is extension app. (I guess, it should be included in the Plugin dir.)
            When downloading and checking the sample ios xcode project below,
            I confirmed that there are several Info.plist. Does qmake support this?
            I' cant add multiple Info.plist to qt project........
            p.s There seems to be no other way except Info.plist. If there is another solution, please teach me.

            https://ianmcdowell.net/blog/nsextension/
            https://github.com/IMcD23/NSExtension-Demo

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              From the looks of it, they should be built as separate targets. Hence they can have each their own Info.plist file.

              But I haven't done that so I can't really tell you how to proceed. Likely using Qt's subdirs template.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              Y 1 Reply Last reply
              0
              • SGaistS SGaist

                From the looks of it, they should be built as separate targets. Hence they can have each their own Info.plist file.

                But I haven't done that so I can't really tell you how to proceed. Likely using Qt's subdirs template.

                Y Offline
                Y Offline
                ysbaekFox
                wrote on last edited by
                #7

                @SGaist
                It seems to be a feature not supported by qt. Is that what I found correctly?

                noSupporting.PNG

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  What feature are you referring to ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  • Login

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