Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to add libraries to the program in MacOS?
Forum Updated to NodeBB v4.3 + New Features

How to add libraries to the program in MacOS?

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 4 Posters 1.3k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 14 Sept 2019, 19:47 last edited by
    #6

    What do you mean by assembled ?
    Did you use macdeployqt before sending the application ?
    Are you using SQLite directly or are you using the QtSql module ?

    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
    2
    • M Offline
      M Offline
      Mikeeeeee
      wrote on 15 Sept 2019, 06:57 last edited by
      #7

      I use SQLite directly. How to use macdeployqt ?

      S 1 Reply Last reply 15 Sept 2019, 19:43
      0
      • Q Offline
        Q Offline
        quadbyte
        wrote on 15 Sept 2019, 17:49 last edited by
        #8

        to include all lib dependencies in you app, ou must use macdeployqt

        1 Reply Last reply
        0
        • M Mikeeeeee
          15 Sept 2019, 06:57

          I use SQLite directly. How to use macdeployqt ?

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 15 Sept 2019, 19:43 last edited by
          #9

          @mikeeeeee what about reading the documentation ?

          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
          1
          • M Offline
            M Offline
            Mikeeeeee
            wrote on 16 Sept 2019, 08:13 last edited by
            #10

            @sgaist said in How to add libraries to the program in MacOS?:

            @mikeeeeee what about reading the documentation ?

            But in this documentation there is no instruction how to collect libraries in a folder by the program.

            J 1 Reply Last reply 16 Sept 2019, 09:06
            0
            • M Mikeeeeee
              16 Sept 2019, 08:13

              @sgaist said in How to add libraries to the program in MacOS?:

              @mikeeeeee what about reading the documentation ?

              But in this documentation there is no instruction how to collect libraries in a folder by the program.

              J Offline
              J Offline
              J.Hilk
              Moderators
              wrote on 16 Sept 2019, 09:06 last edited by
              #11

              @mikeeeeee the linked page can be a bit overwhelming
              take a look at the section specific to to macdeploymenttool:
              https://doc.qt.io/qt-5/macos-deployment.html#the-mac-deployment-tool


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Mikeeeeee
                wrote on 16 Sept 2019, 10:47 last edited by
                #12

                @j-hilk said in How to add libraries to the program in MacOS?:

                the linked page can be a bit overwhelming
                take a look at the section specific to to macdeploymenttool:

                I didn't understand. I very recently got acquainted with Makos. How do I copy the required libraries to the program folder? Are there examples?

                J 1 Reply Last reply 16 Sept 2019, 11:05
                0
                • M Offline
                  M Offline
                  Mikeeeeee
                  wrote on 16 Sept 2019, 10:57 last edited by
                  #13

                  Maybe QtInstallerFramework can help?

                  1 Reply Last reply
                  0
                  • M Mikeeeeee
                    16 Sept 2019, 10:47

                    @j-hilk said in How to add libraries to the program in MacOS?:

                    the linked page can be a bit overwhelming
                    take a look at the section specific to to macdeploymenttool:

                    I didn't understand. I very recently got acquainted with Makos. How do I copy the required libraries to the program folder? Are there examples?

                    J Offline
                    J Offline
                    J.Hilk
                    Moderators
                    wrote on 16 Sept 2019, 11:05 last edited by
                    #14

                    @mikeeeeee said in How to add libraries to the program in MacOS?:

                    @j-hilk said in How to add libraries to the program in MacOS?:

                    the linked page can be a bit overwhelming
                    take a look at the section specific to to macdeploymenttool:

                    I didn't understand. I very recently got acquainted with Makos. How do I copy the required libraries to the program folder? Are there examples?

                    the macdeployment tool does it for you, that's the point, and the docu section has an example on how to call it


                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    1 Reply Last reply
                    2
                    • M Offline
                      M Offline
                      Mikeeeeee
                      wrote on 17 Sept 2019, 16:23 last edited by
                      #15

                      Its work

                      QMAKE_POST_LINK += "~/Qt/5.12.0/clang_64/bin/macdeployqt $${TARGET}.app $$escape_expand( \\n\\t )"
                      
                      1 Reply Last reply
                      0

                      15/15

                      17 Sept 2019, 16:23

                      • Login

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